emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TAGS completion with (setq-local completion-ignore-case t)


From: Morgan Willcock
Subject: Re: TAGS completion with (setq-local completion-ignore-case t)
Date: Thu, 07 Mar 2024 09:54:31 +0000
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Morgan Willcock <morgan@ice9.digital>
>> Date: Thu, 07 Mar 2024 09:14:04 +0000
>> 
>> I was trying to track down an issue with inconsistencies in completion
>> matching between a custom capf function and the default TAGS capf
>> function.
>> 
>> It seems that if a buffer is configured for case-insensitive completion
>> matching, by setting the buffer-local value of completion-ignore-case to
>> t, this does not have any effect on TAGS completion.
>> 
>> In order to get case-insensitive completion matching for TAGS, I had to
>> also set the buffer local value of completion-ignore-case to t in the
>> TAGS buffer.
>> 
>> Is there a technical reason why TAGS completion cannot use the value of
>> completion-ignore-case that is set in the buffer where completion is
>> initiated, or is this a bug in the implementation?
>
> If you mean completion when you type "M-.", then this has its own user
> option, tags-case-fold-search.  Is that what you want?

I am talking about completion as initiated by the complete-tag command.

(Setting tags-case-fold-search to t does not change the result, whether
set buffer-local or globally).

-- 
Morgan Willcock



reply via email to

[Prev in Thread] Current Thread [Next in Thread]