GNU bug report logs - #36066
27.0.50; Error for C-h f in help-fns--first-release

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Mon, 3 Jun 2019 02:10:02 UTC

Severity: normal

Merged with 36058

Found in version 27.0.50

Done: Michael Heerdegen <michael_heerdegen <at> web.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36066 in the body.
You can then email your comments to 36066 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#36066; Package emacs. (Mon, 03 Jun 2019 02:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 03 Jun 2019 02:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; Error for C-h f in help-fns--first-release
Date: Mon, 03 Jun 2019 04:09:40 +0200
Hello,

for some functions I can't show *Help* with C-h f because I get an error
like this:

Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  add-text-properties(nil nil (button (t) category #:help-news-button help-args nil) nil)
  make-text-button(nil nil type help-news help-args nil)
  help-fns--first-release(my-edebug-setup-hook-fun)
  help-fns--mention-first-release(my-edebug-setup-hook-fun)
  run-hook-with-args(help-fns--mention-first-release my-edebug-setup-hook-fun)
  describe-function-1(my-edebug-setup-hook-fun)
  describe-function(my-edebug-setup-hook-fun)

Seems the variable "first" is never set and ends up nil, thus the error.
It often happens to functions in my init file FWIW.

BTW, the calculation/heuristic also seems not very clever in some cases.
E.g. in emacs -Q I define

(defun f () nil)

C-h f f

    f is a Lisp closure.

    (f)

      Probably introduced at or before Emacs version 1.6.

(defun test () nil)

C-h f test

    test is a Lisp closure.

    (test)

      Probably introduced at or before Emacs version 15.

Etc.  Shouldn't it be obvious to Emacs that I defined the functions?


TIA,

Michael






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36066; Package emacs. (Mon, 03 Jun 2019 02:15:02 GMT) Full text and rfc822 format available.

Message #8 received at 36066 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 36066 <at> debbugs.gnu.org
Subject: Re: bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
Date: Sun, 02 Jun 2019 19:14:47 -0700
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> Hello,
>
> for some functions I can't show *Help* with C-h f because I get an error
> like this:

Is it possible Juanma Barranquero fixed this like a couple of hours ago,
in 33ea72eb3c27f5ee5d76980d70ab335d7fa33db6?

Eric




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36066; Package emacs. (Mon, 03 Jun 2019 02:28:03 GMT) Full text and rfc822 format available.

Message #11 received at 36066 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 36066 <at> debbugs.gnu.org
Subject: Re: bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
Date: Sun, 02 Jun 2019 19:27:33 -0700
Ignore me, I should have looked first. But someone else posted something
about this exact problem somewhere else today...





Reply sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
You have taken responsibility. (Mon, 03 Jun 2019 02:34:01 GMT) Full text and rfc822 format available.

Notification sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
bug acknowledged by developer. (Mon, 03 Jun 2019 02:34:02 GMT) Full text and rfc822 format available.

Message #16 received at 36066-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 36066-done <at> debbugs.gnu.org
Subject: Re: bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
Date: Mon, 03 Jun 2019 04:33:18 +0200
Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

> Is it possible Juanma Barranquero fixed this like a couple of hours
> ago, in 33ea72eb3c27f5ee5d76980d70ab335d7fa33db6?

Exactly that - nice timing ;-)

Ok, closing.


Thanks,

Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36066; Package emacs. (Mon, 03 Jun 2019 02:38:01 GMT) Full text and rfc822 format available.

Message #19 received at 36066 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 36066 <at> debbugs.gnu.org
Subject: Re: bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
Date: Mon, 03 Jun 2019 04:37:13 +0200
Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

> Ignore me, I should have looked first. But someone else posted
> something about this exact problem somewhere else today...

Why?  It's fixed for me.

Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36066; Package emacs. (Mon, 03 Jun 2019 02:47:01 GMT) Full text and rfc822 format available.

Message #22 received at 36066 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 36066 <at> debbugs.gnu.org
Subject: Re: bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
Date: Sun, 02 Jun 2019 19:46:34 -0700
On 06/03/19 04:37 AM, Michael Heerdegen wrote:
> Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:
>
>> Ignore me, I should have looked first. But someone else posted
>> something about this exact problem somewhere else today...
>
> Why?  It's fixed for me.

Double ignore me! Bug#36058 looked similar, and confused me.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36066; Package emacs. (Mon, 03 Jun 2019 15:18:02 GMT) Full text and rfc822 format available.

Message #25 received at 36066 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> gmail.com
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, 36066 <at> debbugs.gnu.org
Subject: Re: bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
Date: Mon, 03 Jun 2019 11:17:37 -0400
forcemerge 36066 36058
quit

Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

> On 06/03/19 04:37 AM, Michael Heerdegen wrote:
>> Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:
>>
>>> Ignore me, I should have looked first. But someone else posted
>>> something about this exact problem somewhere else today...
>>
>> Why?  It's fixed for me.
>
> Double ignore me! Bug#36058 looked similar, and confused me.

I believe this is indeed the same as Bug#36058.





Forcibly Merged 36058 36066. Request was from npostavs <at> gmail.com to control <at> debbugs.gnu.org. (Mon, 03 Jun 2019 15:18:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 02 Jul 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 350 days ago.

Previous Next


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