[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62935: 29.0.90; icomplete-vertical-mode misses add-file-local-variab
From: |
Eli Zaretskii |
Subject: |
bug#62935: 29.0.90; icomplete-vertical-mode misses add-file-local-variable alternative |
Date: |
Tue, 18 Apr 2023 18:53:01 +0300 |
> 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.