From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#8492: 23.3; Time to use a different binding for completion? Date: Sun, 24 Apr 2011 12:43:03 -0700 Message-ID: <736C4CB8BF7044B7AF21D85595F179A2@us.oracle.com> References: <87zknuhxl4.fsf@sc3d.org> <87oc3vwmi9.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1303675671 9666 80.91.229.12 (24 Apr 2011 20:07:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 24 Apr 2011 20:07:51 +0000 (UTC) Cc: 8492@debbugs.gnu.org, 'Reuben Thomas' To: "'Chong Yidong'" , "'Stefan Monnier'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 24 22:07:44 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QE5aq-0002Ty-1S for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Apr 2011 22:07:44 +0200 Original-Received: from localhost ([::1]:55149 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QE5ap-0001by-Ea for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Apr 2011 16:07:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QE5al-0001Zr-Iv for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2011 16:07:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QE5ak-0007tA-Ml for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2011 16:07:39 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QE5ak-0007t6-Kr for bug-gnu-emacs@gnu.org; Sun, 24 Apr 2011 16:07:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QE5Du-0004Mr-2v; Sun, 24 Apr 2011 15:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Apr 2011 19:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8492 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8492-submit@debbugs.gnu.org id=B8492.130367419916718 (code B ref 8492); Sun, 24 Apr 2011 19:44:02 +0000 Original-Received: (at 8492) by debbugs.gnu.org; 24 Apr 2011 19:43:19 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QE5DD-0004La-4I for submit@debbugs.gnu.org; Sun, 24 Apr 2011 15:43:19 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QE5DB-0004LP-02 for 8492@debbugs.gnu.org; Sun, 24 Apr 2011 15:43:17 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p3OJh8Hp009303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 24 Apr 2011 19:43:10 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p3OJh7rm021293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 24 Apr 2011 19:43:08 GMT Original-Received: from abhmt015.oracle.com (abhmt015.oracle.com [141.146.116.24]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p3OJh21k027420; Sun, 24 Apr 2011 14:43:02 -0500 Original-Received: from dradamslap1 (/10.159.42.33) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 24 Apr 2011 12:43:01 -0700 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 Thread-Index: AcwCrrDChh+MzkNvS/GDf4trbru3zgAB5lgw In-Reply-To: <87oc3vwmi9.fsf@stupidchicken.com> X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4DB47D4F.0046:SCFMA922111,ss=1,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 24 Apr 2011 15:44:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:45968 Archived-At: > > TAB can do completion if you (setq tab-always-indent 'complete). > > I tried this out some time ago, but found it unsatisfactory. The > problem was that I sometimes spuriously triggered completion > when I only intended to indent, because the current line happened > to be correctly indented. It is often difficult to tell by eye > whether a line is already indented. Amen. Another case of DWIM making the user work harder, forcing her to try to second-guess it and figure out whether it will in fact DTRT in the current context. As I said: >> Keep it simple. Find a key or let users find their own key >> for a simple, straightforward command (i.e., that does only >> what M-TAB does currently). Forget about combining 36 >> different behaviors on the same key. ... >> But please do not redesign the behavior to become hydra-headed >> so it tries to adapt to multiple contexts, just because you >> cannot think of a good default key. That makes little sense. >> >> And TAB, in particular, is *not* "the way forward for this". >> If ever there was a key *not* to double-up on for this (triple? >> quadruple? pentuple?), TAB is it. It's just about the poorest >> choice possible here. Simple, straightforward commands/keys give the user control (not the clever programmer).