From: Eli Zaretskii <eliz@gnu.org>
To: Van Ly <van.ly@sdf.org>
Cc: 62935@debbugs.gnu.org
Subject: bug#62935: 29.0.90; icomplete-vertical-mode misses add-file-local-variable alternative
Date: Tue, 18 Apr 2023 18:53:01 +0300 [thread overview]
Message-ID: <83o7nl89wi.fsf@gnu.org> (raw)
In-Reply-To: <202304181453.33IErs8J023329@sdf.org> (message from Van Ly on Tue, 18 Apr 2023 14:53:54 GMT)
> Date: Tue, 18 Apr 2023 14:53:54 GMT
> From: Van Ly <van.ly@sdf.org>
>
> The icomplete-vertical-mode does not list buffer-save-without-query as an option to add-file-local-variable after the input prefix buffer- .
>
> Steps to reproduce
> - emacs -Q
> - switch to buffer bbb, C-x b bbb RET
> - enable completion mode, M-x icomplete-vertical-mode
> - add file local variable, M-x add-file-local-variable abbreviated by
> = M-x add-fi C-j
> = buffer- [does not list completion buffer-save-without-query]
> = alternatives listed are
> - buffer-read-only
> - buffer-offer-save
>
> Expected behavior
> - completion mode lists buffer-save-without-query
> = example of desired completion listing
> - buffer-read-only
> - buffer-offer-save
> - buffer-save-without-query
>
> Unexpected behavior
> - completion mode lists two alternatives without desired option
> = observed completion listing
> - buffer-read-only
> - buffer-offer-save
add-file-local-variable completes only on variables that are safe as
local variables, and buffer-save-without-query is not. So you need to
type its name completely.
This is not a bug.
next prev parent reply other threads:[~2023-04-18 15:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-18 14:53 bug#62935: 29.0.90; icomplete-vertical-mode misses add-file-local-variable alternative Van Ly
2023-04-18 15:53 ` Eli Zaretskii [this message]
2023-04-20 18:38 ` Van Ly
2023-09-11 23:21 ` Stefan Kangas
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83o7nl89wi.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=62935@debbugs.gnu.org \
--cc=van.ly@sdf.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 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).