From: Arash Esbati <arash@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: michael_heerdegen@web.de, Eli Zaretskii <eliz@gnu.org>,
72787@debbugs.gnu.org, Eshel Yaron <me@eshelyaron.com>,
pipcet@protonmail.com
Subject: bug#72787: 31.0.50; Invalid describe-function completion candidates
Date: Sat, 12 Oct 2024 11:41:31 +0200 [thread overview]
Message-ID: <m25xpx64l0.fsf@macmutant.fritz.box> (raw)
In-Reply-To: <jwv5xpyjnh4.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 11 Oct 2024 18:22:59 -0400")
[-- Attachment #1: Type: text/plain, Size: 408 bytes --]
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Could you clarify which part of the picture make you think so?
> [ Also, does (featurep 'dash) return nil or t before you perform that
> completion? ]
I do:
• emacs -Q
• Eval:
(progn
(setq completions-format 'vertical)
(package-initialize)
(featurep 'dash))
which returns nil
• 'C-h v TAB' and see this:
[-- Attachment #2: Emacs-Q-package.png --]
[-- Type: image/png, Size: 35813 bytes --]
[-- Attachment #3: Type: text/plain, Size: 792 bytes --]
Take for example "-keep". I do 'C-h v -keep RET' and get:
-keep is void as a variable.
Not documented as a variable.
Now I eval (require 'dash), do 'C-h v -keep RET' again and get:
-keep is void as a variable.
Not documented as a variable.
whereas 'C-h f -keep' returns:
-keep is a native-comp-function in ‘dash.el’.
(-keep FN LIST)
Return a new list of the non-nil results of applying FN to each item in LIST.
Like ‘-filter’, but returns the non-nil results of FN instead of
the corresponding elements of LIST.
Its anaphoric counterpart is ‘--keep’.
In summary, I see a void variable in the list of completions where the
function is defined. Also, when I do 'emacs -Q' followed directly with
'C-h f TAB', I see this:
[-- Attachment #4: Emacs-Q-funcs.png --]
[-- Type: image/png, Size: 40015 bytes --]
[-- Attachment #5: Type: text/plain, Size: 750 bytes --]
The (setf ...) part doesn't look right to me.
> [ Also did you get this with an Emacs which includes:
>
> commit 8683d64cc571500347a16e7cb7d144d723250489
> Author: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Thu Oct 3 10:25:13 2024 -0400
> ]
$ git show 8683d64cc571500347a16e7cb7d144d723250489
commit 8683d64cc571500347a16e7cb7d144d723250489
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Thu Oct 3 10:25:13 2024 -0400
(help--symbol-completion-table): Try and fix bug#73473
I'm runnig Emacs from master (ff4de9ef) on macOS.
> Sorry for not mentioning it earlier, I stupidly assumed you were aware
> of that variable.
I'm sorry I didn't investigate enough to find out about that variable
myself.
Best, Arash
next prev parent reply other threads:[~2024-10-12 9:41 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-24 10:54 bug#72787: 31.0.50; Invalid describe-function completion candidates Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-24 11:15 ` Pip Cet via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-26 1:41 ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-26 2:37 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-26 23:57 ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-31 9:54 ` Eli Zaretskii
2024-09-01 17:41 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-01 18:00 ` Eli Zaretskii
2024-10-10 4:56 ` Arash Esbati
2024-10-10 6:34 ` Eli Zaretskii
2024-10-11 6:34 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-11 9:18 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-11 14:22 ` Arash Esbati
2024-10-11 22:22 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-12 9:41 ` Arash Esbati [this message]
2024-10-13 0:47 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-14 19:23 ` Arash Esbati
2024-10-14 21:39 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-16 20:31 ` Arash Esbati
2024-10-13 7:35 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-17 17:03 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-11 23:34 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=m25xpx64l0.fsf@macmutant.fritz.box \
--to=arash@gnu.org \
--cc=72787@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=me@eshelyaron.com \
--cc=michael_heerdegen@web.de \
--cc=monnier@iro.umontreal.ca \
--cc=pipcet@protonmail.com \
/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.