From: "Adam Sjøgren" <asjo@koldfront.dk>
To: ding@gnus.org
Subject: Search bbdb fails with "let: Invalid function: (bbdb-records)"
Date: Mon, 04 Jun 2018 15:36:18 +0200 [thread overview]
Message-ID: <8736y2d67h.fsf@tullinup.koldfront.dk> (raw)
Recently, when I go M-x bbdb and type in a string to search for, Emacs
has started saying:
Invalid function: (bbdb-records)
instead of showing the results.
As far as I can tell, the problem is in the "bbdb-search"-line in bbdb:
(defun bbdb (string elidep)
"Display all entries in the BBDB matching the regexp STRING
in either the name(s), company, network address, or notes."
(interactive
(list (bbdb-search-prompt "Search records %m regexp: ")
current-prefix-arg))
(let* ((bbdb-display-layout (bbdb-grovel-elide-arg elidep))
(notes (cons '* string))
(records
(bbdb-search (bbdb-records) string string string notes
nil)))
(if records
(bbdb-display-records records)
;; we could use error here, but it's not really an error.
(message "No records matching '%s'" string))))
from bbdb-com.el.
I've tried guessing on and performing random changes, but haven't found
anything that works.
Any ideas?
This is using GNU Emacs 27.0.50 (build 6, x86_64-pc-linux-gnu, GTK+
Version 3.22.30) of 2018-05-29 built from git, and bbdb 2.36-4.1 as
packaged in Debian unstable.
Best regards,
Adam
--
"En nordmand vælter sin Grand Marnier i Lucca" Adam Sjøgren
asjo@koldfront.dk
next reply other threads:[~2018-06-04 13:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-04 13:36 Adam Sjøgren [this message]
2018-06-04 14:53 ` Emanuel Berg
2018-06-04 19:57 ` Adam Sjøgren
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=8736y2d67h.fsf@tullinup.koldfront.dk \
--to=asjo@koldfront.dk \
--cc=ding@gnus.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.
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 NNTP newsgroup(s).