GNU bug report logs - #79026
30.1; TAB in Minibuffer when using a quail input-method should complete the longest common suffix of candidates

Previous Next

Package: emacs;

Reported by: Cass Alexandru <g.cassian.alexandru <at> posteo.eu>

Date: Tue, 15 Jul 2025 12:30:02 UTC

Severity: wishlist

Found in version 30.1

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: arash <at> gnu.org, g.cassian.alexandru <at> posteo.eu, 79026 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: bug#79026: 30.1; TAB in Minibuffer when using a quail input-method should complete the longest common suffix of candidates
Date: Thu, 17 Jul 2025 08:35:33 +0300
> From: Visuwesh <visuweshm <at> gmail.com>
> Cc: Cass Alexandru <g.cassian.alexandru <at> posteo.eu>,  Stefan Monnier
>  <monnier <at> iro.umontreal.ca>,  Arash Esbati <arash <at> gnu.org>,
>   79026 <at> debbugs.gnu.org
> Date: Wed, 16 Jul 2025 20:39:41 +0530
> 
> [செவ்வாய் ஜூலை 15, 2025] Eli Zaretskii wrote:
> 
> > It doesn't look like quail-completion (which is the command bound to
> > TAB in that input method) is supposed to work as you expect.  Instead,
> > it is a fancy visual feedback for typing long sequences, fancier than
> > what Emacs usually shows in the echo-area (which is just the list of
> > candidates for the next character).
> >
> > IOW, after pressing TAB, you are supposed to:
> >
> >   . realize that there's just one candidate "\above"
> >   . type its characters one by one, guided by the moving highlight in
> >     the *Quail Completions* buffer as you go
> >
> > Stefan and Arash, am I right?
> 
> Looking at quail-completion, it only seems to list the possible
> translations and their keys.  There is quail-choose-completion but it
> seems to be broken (it inserts the same translation twice when trying it
> with tamil-phonetic), and does not work at all for TeX (maybe because of
> non-nil TRANSLATION-KEYS (why BTW?)).

TRANSLATION-KEYS non-nil is what makes TAB invoke quail-completion in
the first place, right?

> If it works, then you can click on the translation shown in *Quail
> Completions* to insert it.

I think part of the request here is to make it work.  But there's also
another part: if there's only one completion, TAB should complete it
and exit the Quail loop.

IOW, the request here is to make quail-completion work as minibuffer
completion works elsewhere.  If you can come up with a patch to do
that (probably optionally, given how quail-completion's original
behavior was very different), that'd be appreciated.




This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.