GNU bug report logs - #56643
29.0.50; Help-mode bookmarks not loading with native compilation

Previous Next

Package: emacs;

Reported by: defun.foo <at> proton.me

Date: Tue, 19 Jul 2022 16:12:02 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: michael_heerdegen <at> web.de, defun.foo <at> proton.me, 56643 <at> debbugs.gnu.org
Subject: bug#56643: 29.0.50; Help-mode bookmarks not loading with native compilation
Date: Fri, 22 Jul 2022 17:40:48 +0300
> From: Andrea Corallo <akrl <at> sdf.org>
> Cc: defun.foo <at> proton.me, michael_heerdegen <at> web.de, 56643 <at> debbugs.gnu.org
> Date: Fri, 22 Jul 2022 13:41:32 +0000
> 
> >> ("named-function-help-bookmark"
> >>  (position . 1)
> >>  (last-modified 25305 7198 806743 243000)
> >>  (help-fn . describe-function-xref-func)
> >>  (help-args completing-read "*scratch*")
> >>  (position . 1)
> >>  (handler . help-bookmark-jump))
> >
> > Thanks.  If Andrea confirms that this won't have any problems with
> > native-compilation, I will install such changes on the release branch
> > (since AFAIU this issue is a regression in Emacs 28).
> 
> I confirm it should just work.

Thanks, so I will make those changes on the release branch.

> Actually I think the use of a lambda there was not really optimal in
> first place as is not capturing anything and we were serializing and
> deserializing the same code over and over again for no good reason.

Right.

> BTW, I mention this for other similar cases, another fix would be to add
> (declare (speed -1)) to `describe-function'.

Thanks, good to know.  I guess we should document that in the ELisp
manual.




This bug report was last modified 2 years and 361 days ago.

Previous Next


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