all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri D'Elia <wavexx@thregr.org>
To: emacs-devel@gnu.org
Subject: Error when completing C-h f
Date: Mon, 20 Feb 2017 17:53:11 +0100	[thread overview]
Message-ID: <87o9xw953c.fsf@wavexx.thregr.org> (raw)

On the current master, I noticed this error when completing for some
function names, such as ``C-h f package-'':

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("\\(\\`\\|/\\)package-x\\(\\.elc\\|\\.el\\|\\.so\\)?\\(\\.gz\\)?\\'" nil nil)
  help--loaded-p("package-x")
  help--load-prefixes((("package-" "package-x" "package")))
  help--symbol-completion-table("package-" #[257 "\300!\206	\211\301N\207" [fboundp function-documentation] 3 "\n\n(fn F)"] lambda)
  test-completion("package-" help--symbol-completion-table #[257 "\300!\206	\211\301N\207" [fboundp function-documentation] 3 "\n\n(fn F)"])
  completion--do-completion(20 27)

It seems that I have a bare (nil) in the load-history, which
help--loaded-p doesn't like.

Is this expected?
This doesn't occur on emacs 25.1




             reply	other threads:[~2017-02-20 16:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-20 16:53 Yuri D'Elia [this message]
2017-02-20 17:19 ` Error when completing C-h f Kaushal Modi
2017-02-20 17:23   ` Yuri D'Elia
2017-02-21  3:10 ` Michael Heerdegen
2017-02-22 22:15   ` Richard Copley

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

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

  git send-email \
    --in-reply-to=87o9xw953c.fsf@wavexx.thregr.org \
    --to=wavexx@thregr.org \
    --cc=emacs-devel@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 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.