emacs-devel
[Top][All Lists]
Advanced

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

setting / binding completion-ignore-case


From: Roland Winkler
Subject: setting / binding completion-ignore-case
Date: Tue, 17 Jan 2006 18:51:59 +0100

I have some problems using completion-ignore-case appropriately in
bibtex.el.

In bibtex-mode, depending on the kind of completion requested,
completion-ignore-case needs to be nil or t. How should bibtex-mode
choose this value? If the command requesting completion binds
completion-ignore-case, then choose-completion-delete-max-match
doesn't work properly because it does not remember the value of
completion-ignore-case. On the other hand, if bibtex-mode makes
completion-ignore-case buffer-local and sets its value,
choose-completion-delete-max-match works properly. But then
completing-read fails because binding completion-ignore-case is done
in the bibtex buffer before completing-read is called, i.e., it
affects only the buffer-local value. But the minibuffer used by
completing-read seems to use the global value of
completion-ignore-case.

Any suggestions? Thanks a lot,

Roland




reply via email to

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