unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Glenn Morris <rgm@gnu.org>
Cc: 53632@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#53632: Function definition history
Date: Thu, 03 Feb 2022 09:11:31 +0100	[thread overview]
Message-ID: <87y22spdxo.fsf@gmx.de> (raw)
In-Reply-To: <jwvy22xbyky.fsf@iro.umontreal.ca>

Glenn Morris <rgm@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.





  reply	other threads:[~2022-02-03  8:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-30  5:07 bug#53632: Function definition history Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-30  7:43 ` Eli Zaretskii
2022-01-31 16:07   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-30 16:16 ` Lars Ingebrigtsen
     [not found] ` <handler.53632.D53632.164364529324455.notifdone@debbugs.gnu.org>
2022-02-02 16:21   ` Glenn Morris
2022-02-03  8:11     ` Michael Albinus [this message]
2022-02-04 16:30       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-04 17:00         ` Michael Albinus
2022-02-04 17:14           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-04 17:43             ` Michael Albinus
2022-02-04 19:43               ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-05 10:42                 ` Michael Albinus
2022-02-05 17:40                   ` Glenn Morris
2022-02-05 18:21                     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y22spdxo.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=53632@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).