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: Eli Zaretskii
Subject: Re: TAGS completion with (setq-local completion-ignore-case t)
Date: Sat, 09 Mar 2024 16:46:34 +0200

> From: Morgan Willcock <morgan@ice9.digital>
> Cc: emacs-devel@gnu.org
> Date: Sat, 09 Mar 2024 14:33:28 +0000
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Don't use setq-local, use setq.  Or let-bind it, like this:
> >
> >   (progn
> >     (pop-to-buffer (get-buffer-create "test"))
> >     (let ((tags-case-fold-search t))
> >       (insert "is")
> >       (complete-tag)
> >       (complete-tag)))
> 
> The code example is just to recreate the problem.  This affects the
> completion mechanism in the buffer that the user has direct access to
> with key-bindings.
> 
> i.e. If the user types "is" and then presses C-M-i there are no
> completions available.

C-M-i is not bound to complete-tag, it is bound to complete-symbol, at
least by default.  If I customize tags-case-fold-search to t, and then
invoke complete-tag, I get case-insensitive completion based on TAGS.



reply via email to

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