From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#17767: 24.4.50; [PATCH] Bind tab and backtab in completion lists Date: Fri, 13 Jun 2014 14:14:41 -0400 Message-ID: References: <8761k5k971.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1402683333 3936 80.91.229.3 (13 Jun 2014 18:15:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2014 18:15:33 +0000 (UTC) Cc: 17767-done@debbugs.gnu.org To: Matthias Meulien Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 13 20:15:26 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WvW0X-0001VS-Um for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jun 2014 20:15:22 +0200 Original-Received: from localhost ([::1]:60498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvW0X-0005Nd-H9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jun 2014 14:15:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvW0O-0005MS-7i for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 14:15:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvW0G-00065k-37 for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 14:15:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvW0G-00065a-0R for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 14:15:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WvW0F-0002PD-KO for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 14:15:03 -0400 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jun 2014 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 17767 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 17767@debbugs.gnu.org, monnier@iro.umontreal.ca, orontee@gmail.com Original-Received: via spool by 17767-done@debbugs.gnu.org id=D17767.14026832919199 (code D ref 17767); Fri, 13 Jun 2014 18:15:02 +0000 Original-Received: (at 17767-done) by debbugs.gnu.org; 13 Jun 2014 18:14:51 +0000 Original-Received: from localhost ([127.0.0.1]:46911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvW03-0002OI-AP for submit@debbugs.gnu.org; Fri, 13 Jun 2014 14:14:51 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:10525) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvW00-0002Ny-IR for 17767-done@debbugs.gnu.org; Fri, 13 Jun 2014 14:14:49 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IPAS-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="66798505" Original-Received: from 75-119-224-253.dsl.teksavvy.com (HELO ceviche.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 13 Jun 2014 14:14:41 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7F8D766276; Fri, 13 Jun 2014 14:14:41 -0400 (EDT) In-Reply-To: <8761k5k971.fsf@gmail.com> (Matthias Meulien's message of "Fri, 13 Jun 2014 01:19:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90351 Archived-At: > 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