unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25847: 26.0.50; Error completing help with nil entries in load-history
@ 2017-02-23 10:49 Yuri D'Elia
  2017-02-24  0:51 ` Michael Heerdegen
  2017-03-01 19:37 ` Glenn Morris
  0 siblings, 2 replies; 4+ messages in thread
From: Yuri D'Elia @ 2017-02-23 10:49 UTC (permalink / raw)
  To: 25847; +Cc: Richard Copley


This is a regression in emacs 26. How to reproduce:

(defun test () "" nil) ;; insert text in buffer *scratch*
C-M-x ;; eval-defun (adds an entry to load-history with null file)
C-h f package- TAB ;; crashes

This is caused by `help--loaded-p' not handling nil entries, introduced
in 0c31ff43b6880c84498fbe1f06e1e5809b55e838.





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

* bug#25847: 26.0.50; Error completing help with nil entries in load-history
  2017-02-23 10:49 bug#25847: 26.0.50; Error completing help with nil entries in load-history Yuri D'Elia
@ 2017-02-24  0:51 ` Michael Heerdegen
  2017-02-24 11:00   ` Yuri D'Elia
  2017-03-01 19:37 ` Glenn Morris
  1 sibling, 1 reply; 4+ messages in thread
From: Michael Heerdegen @ 2017-02-24  0:51 UTC (permalink / raw)
  To: Yuri D'Elia; +Cc: Richard Copley, 25847

Yuri D'Elia <wavexx@thregr.org> writes:

> This is a regression in emacs 26. How to reproduce:
>
> (defun test () "" nil) ;; insert text in buffer *scratch*
> C-M-x ;; eval-defun (adds an entry to load-history with null file)
> C-h f package- TAB ;; crashes

You mean you get an error - Emacs doesn't crash, right?


Michael.





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

* bug#25847: 26.0.50; Error completing help with nil entries in load-history
  2017-02-24  0:51 ` Michael Heerdegen
@ 2017-02-24 11:00   ` Yuri D'Elia
  0 siblings, 0 replies; 4+ messages in thread
From: Yuri D'Elia @ 2017-02-24 11:00 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: Richard Copley, 25847

On Fri, Feb 24 2017, Michael Heerdegen wrote:
> Yuri D'Elia <wavexx@thregr.org> writes:
>
>> This is a regression in emacs 26. How to reproduce:
>>
>> (defun test () "" nil) ;; insert text in buffer *scratch*
>> C-M-x ;; eval-defun (adds an entry to load-history with null file)
>> C-h f package- TAB ;; crashes
>
> You mean you get an error - Emacs doesn't crash, right?

Yes, it's just an error.





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

* bug#25847: 26.0.50; Error completing help with nil entries in load-history
  2017-02-23 10:49 bug#25847: 26.0.50; Error completing help with nil entries in load-history Yuri D'Elia
  2017-02-24  0:51 ` Michael Heerdegen
@ 2017-03-01 19:37 ` Glenn Morris
  1 sibling, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2017-03-01 19:37 UTC (permalink / raw)
  To: 25847-done

Version: 26.1

Yuri D'Elia wrote:

> (defun test () "" nil) ;; insert text in buffer *scratch*
> C-M-x ;; eval-defun (adds an entry to load-history with null file)
> C-h f package- TAB ;; crashes

Thanks; fixed in ebb1050.

> This is caused by `help--loaded-p' not handling nil entries, introduced
> in 0c31ff43b6880c84498fbe1f06e1e5809b55e838.

I don't see what that commit has to do with it.





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

end of thread, other threads:[~2017-03-01 19:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-23 10:49 bug#25847: 26.0.50; Error completing help with nil entries in load-history Yuri D'Elia
2017-02-24  0:51 ` Michael Heerdegen
2017-02-24 11:00   ` Yuri D'Elia
2017-03-01 19:37 ` Glenn Morris

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).