GNU bug report logs - #53632
Function definition history

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sun, 30 Jan 2022 05:09:01 UTC

Severity: normal

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 53632 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#53632: Function definition history
Date: Thu, 03 Feb 2022 09:11:31 +0100
Glenn Morris <rgm <at> gnu.org> writes:

Hi,

> Since 1d1b664fb, tramp-test47-unload fails.
> Ref eg https://hydra.nixos.org/build/166143250
>   `tramp-unload-file-name-handlers' still bound

This is due to a changed behavior of `unload-feature'. Prior this patch,
there is

--8<---------------cut here---------------start------------->8---
# emacs -Q -l tramp
(unload-feature 'tramp 'force)
(mapatoms
 (lambda (x)
   (and (functionp x)
	(string-match-p "^tramp" (symbol-name x))
        (message "%s" x))))
=>
tramp-register-archive-file-name-handler
tramp-archive-autoload-file-name-handler
--8<---------------cut here---------------end--------------->8---

This is OK, because tramp-archive.el is not unloaded via unloading
tramp.el.

Now, this behavior has changed. With the same recipe, we get

--8<---------------cut here---------------start------------->8---
=>
tramp-unload-file-name-handlers
tramp-unload-tramp
tramp-register-archive-file-name-handler
tramp-archive-autoload-file-name-handler
tramp-register-autoload-file-name-handlers
tramp-autoload-file-name-handler
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.




This bug report was last modified 3 years and 160 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.