all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
@ 2019-06-03  2:09 Michael Heerdegen
  2019-06-03  2:14 ` Eric Abrahamsen
  2019-06-03  2:27 ` Eric Abrahamsen
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Heerdegen @ 2019-06-03  2:09 UTC (permalink / raw)
  To: 36066


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







^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
  2019-06-03  2:09 bug#36066: 27.0.50; Error for C-h f in help-fns--first-release Michael Heerdegen
@ 2019-06-03  2:14 ` Eric Abrahamsen
  2019-06-03  2:33   ` Michael Heerdegen
  2019-06-03  2:27 ` Eric Abrahamsen
  1 sibling, 1 reply; 7+ messages in thread
From: Eric Abrahamsen @ 2019-06-03  2:14 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 36066

Michael Heerdegen <michael_heerdegen@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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
  2019-06-03  2:09 bug#36066: 27.0.50; Error for C-h f in help-fns--first-release Michael Heerdegen
  2019-06-03  2:14 ` Eric Abrahamsen
@ 2019-06-03  2:27 ` Eric Abrahamsen
  2019-06-03  2:37   ` Michael Heerdegen
  1 sibling, 1 reply; 7+ messages in thread
From: Eric Abrahamsen @ 2019-06-03  2:27 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 36066

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






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
  2019-06-03  2:14 ` Eric Abrahamsen
@ 2019-06-03  2:33   ` Michael Heerdegen
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Heerdegen @ 2019-06-03  2:33 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: 36066-done

Eric Abrahamsen <eric@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
  2019-06-03  2:27 ` Eric Abrahamsen
@ 2019-06-03  2:37   ` Michael Heerdegen
  2019-06-03  2:46     ` Eric Abrahamsen
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Heerdegen @ 2019-06-03  2:37 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: 36066

Eric Abrahamsen <eric@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
  2019-06-03  2:37   ` Michael Heerdegen
@ 2019-06-03  2:46     ` Eric Abrahamsen
  2019-06-03 15:17       ` npostavs
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Abrahamsen @ 2019-06-03  2:46 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 36066


On 06/03/19 04:37 AM, Michael Heerdegen wrote:
> Eric Abrahamsen <eric@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#36066: 27.0.50; Error for C-h f in help-fns--first-release
  2019-06-03  2:46     ` Eric Abrahamsen
@ 2019-06-03 15:17       ` npostavs
  0 siblings, 0 replies; 7+ messages in thread
From: npostavs @ 2019-06-03 15:17 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: Michael Heerdegen, 36066

forcemerge 36066 36058
quit

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> On 06/03/19 04:37 AM, Michael Heerdegen wrote:
>> Eric Abrahamsen <eric@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.






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-06-03 15:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-03  2:09 bug#36066: 27.0.50; Error for C-h f in help-fns--first-release Michael Heerdegen
2019-06-03  2:14 ` Eric Abrahamsen
2019-06-03  2:33   ` Michael Heerdegen
2019-06-03  2:27 ` Eric Abrahamsen
2019-06-03  2:37   ` Michael Heerdegen
2019-06-03  2:46     ` Eric Abrahamsen
2019-06-03 15:17       ` npostavs

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.