[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TAGS completion with (setq-local completion-ignore-case t)
From: |
Eli Zaretskii |
Subject: |
Re: TAGS completion with (setq-local completion-ignore-case t) |
Date: |
Sat, 09 Mar 2024 17:49:25 +0200 |
> From: Morgan Willcock <morgan@ice9.digital>
> Cc: emacs-devel@gnu.org
> Date: Sat, 09 Mar 2024 14:57:47 +0000
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Why exactly do you need to have a buffer-local value of
> > completion-ignore-case? This is not a user option, and is meant to be
> > either set globally or let-bound for specific code.
>
> I was using it as a configuration example for a major-mode setup hook,
> where the language itself is not case-sensitive, but completions through
> capf functions (including TAG completion) can be displayed and inserted
> in mixed case.
>
> Is there a supported way to have user configurable case-insensitive
> completion that is configured per major mode?
use the user options specific for each type of completion, I'd say.
For TAGS that's tags-case-fold-search; for file names that's
read-file-name-completion-ignore-case; for buffers its
read-buffer-completion-ignore-case. And there may be others.
Stefan, any better ideas?
- Re: TAGS completion with (setq-local completion-ignore-case t), (continued)
- Re: TAGS completion with (setq-local completion-ignore-case t), Morgan Willcock, 2024/03/07
- Re: TAGS completion with (setq-local completion-ignore-case t), Eli Zaretskii, 2024/03/09
- Re: TAGS completion with (setq-local completion-ignore-case t), Morgan Willcock, 2024/03/09
- Re: TAGS completion with (setq-local completion-ignore-case t), Eli Zaretskii, 2024/03/09
- Re: TAGS completion with (setq-local completion-ignore-case t), Morgan Willcock, 2024/03/09
- Re: TAGS completion with (setq-local completion-ignore-case t), Eli Zaretskii, 2024/03/09
- Re: TAGS completion with (setq-local completion-ignore-case t), Morgan Willcock, 2024/03/09
- Re: TAGS completion with (setq-local completion-ignore-case t), Eli Zaretskii, 2024/03/09
- Re: TAGS completion with (setq-local completion-ignore-case t), Eli Zaretskii, 2024/03/09
- Re: TAGS completion with (setq-local completion-ignore-case t), Morgan Willcock, 2024/03/09
- Re: TAGS completion with (setq-local completion-ignore-case t),
Eli Zaretskii <=
- Re: TAGS completion with (setq-local completion-ignore-case t), Eli Zaretskii, 2024/03/09
- Re: TAGS completion with (setq-local completion-ignore-case t), Morgan Willcock, 2024/03/12