GNU bug report logs - #17767
24.4.50; [PATCH] Bind tab and backtab in completion lists

Previous Next

Package: emacs;

Reported by: Matthias Meulien <orontee <at> gmail.com>

Date: Thu, 12 Jun 2014 23:20:01 UTC

Severity: wishlist

Tags: patch

Found in version 24.4.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 17767-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Matthias Meulien <orontee <at> gmail.com>
Cc: 17767-done <at> debbugs.gnu.org
Subject: Re: bug#17767: 24.4.50;
 [PATCH] Bind tab and backtab in completion lists
Date: Fri, 13 Jun 2014 14:14:41 -0400
> Two bindings that ease completion selection in completion lists.

Hmm... on the one hand, this is in line with other applications's use of
tab and backtab, but on the other hand, Emacs's TAB key is already super
crowded with other meanings (typically "expand", "complete",
or "indent"), so it's a bit unfortunate.  It seems harmless here, but
this use will obviously spread to other circumstances where conflicts
are possible (e.g. using TAB to move between input fields conflicts with
using TAB to complete within an input field).

I guess we're going to have to adapt somehow.

> +    (define-key map [tab] 'next-completion)

I installed your patch but I used ?\t here so it also works in
text terminals.


        Stefan




This bug report was last modified 10 years and 345 days ago.

Previous Next


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