From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#8492: 23.3; Time to use a different binding for completion? Date: Wed, 20 Apr 2011 14:22:20 +0100 Message-ID: References: <87zknuhxl4.fsf@sc3d.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1303306665 9786 80.91.229.12 (20 Apr 2011 13:37:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 20 Apr 2011 13:37:45 +0000 (UTC) Cc: 8492@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 20 15:37:40 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 1QCXb6-0008M7-GH for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Apr 2011 15:37:36 +0200 Original-Received: from localhost ([::1]:35584 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCXb5-0004K4-Uy for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Apr 2011 09:37:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCXay-0004DR-RQ for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2011 09:37:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCXax-0007dB-K1 for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2011 09:37:28 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCXax-0007d7-Gq for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2011 09:37:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QCXMz-00025K-I8; Wed, 20 Apr 2011 09:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Apr 2011 13:23:01 +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.13033057487976 (code B ref 8492); Wed, 20 Apr 2011 13:23:01 +0000 Original-Received: (at 8492) by debbugs.gnu.org; 20 Apr 2011 13:22:28 +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 1QCXMS-00024a-8d for submit@debbugs.gnu.org; Wed, 20 Apr 2011 09:22:28 -0400 Original-Received: from exprod7og109.obsmtp.com ([64.18.2.171]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QCXMQ-00024N-9V for 8492@debbugs.gnu.org; Wed, 20 Apr 2011 09:22:27 -0400 Original-Received: from mail-pv0-f175.google.com ([74.125.83.175]) (using TLSv1) by exprod7ob109.postini.com ([64.18.6.12]) with SMTP ID DSNKTa7eDBkRlfRIJXYQ/h+CEWzNtH5jQCtN@postini.com; Wed, 20 Apr 2011 06:22:26 PDT Original-Received: by mail-pv0-f175.google.com with SMTP id 30so389855pvc.6 for <8492@debbugs.gnu.org>; Wed, 20 Apr 2011 06:22:20 -0700 (PDT) Original-Received: by 10.68.21.131 with SMTP id v3mr10513973pbe.65.1303305740085; Wed, 20 Apr 2011 06:22:20 -0700 (PDT) Original-Received: by 10.68.59.198 with HTTP; Wed, 20 Apr 2011 06:22:20 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 20 Apr 2011 09:23:01 -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:45884 Archived-At: On 20 April 2011 14:18, Stefan Monnier wrote: >> This is the problem: unusable defaults. I'm asking if we can have a >> usable default setting. > > Currently, the "usable default" is ESC TAB. I think "usable" is stretching it a bit :) > Since this problem has been around for a long time and no good key has > popped up during this time, I believe that using TAB is the > way forward, which means we need to figure out ways to make it work in > the cases where it currently doesn't. I am inclined to agree that that is the path of least resistance; I think it remains to be demonstrated that two lots of magic can be loaded on to the same key, but I'm prepared to give it a go! > for those modes maybe completion should take precedence as > in "see if we're somewhere where completion makes sense and if not try > to reindent", so TAB would complete if point is in an identifier > but not if it's a BOL. And there's already code to do this. At least if there's a concerted effort to make this work and it fails, there's more incentive to come up with another solution. -- http://rrt.sc3d.org