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#9598: 24.0.50; completion goes too far Date: Sun, 25 Sep 2011 18:53:26 -0700 Message-ID: References: <5D4CCB828585430D8AB4FD61EAEAC5C0@us.oracle.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 1317022233 29123 80.91.229.12 (26 Sep 2011 07:30:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2011 07:30:33 +0000 (UTC) Cc: 9598@debbugs.gnu.org To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 26 09:30:26 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 1R85dy-0001tS-8B for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Sep 2011 09:30:26 +0200 Original-Received: from localhost ([::1]:47624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R85dx-0001Gp-Pz for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Sep 2011 03:30:25 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R85du-0001GZ-4q for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 03:30:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R85dt-00006Q-32 for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 03:30:22 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R85ds-00006M-QT for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 03:30:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R85eY-00019X-AZ for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 03:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Sep 2011 07:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9598-submit@debbugs.gnu.org id=B9598.13170222544416 (code B ref 9598); Mon, 26 Sep 2011 07:31:02 +0000 Original-Received: (at 9598) by debbugs.gnu.org; 26 Sep 2011 07:30:54 +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 1R85eO-00019A-04 for submit@debbugs.gnu.org; Mon, 26 Sep 2011 03:30:53 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R85eJ-000190-Lh for 9598@debbugs.gnu.org; Mon, 26 Sep 2011 03:30:49 -0400 Original-Received: from rtcsinet21.oracle.com (rtcsinet21.oracle.com [66.248.204.29]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p8Q7Pj8G023537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 26 Sep 2011 07:30:02 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rtcsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p8Q1reEK007837 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Sep 2011 01:53:41 GMT Original-Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p8Q1rZQa013521; Sun, 25 Sep 2011 20:53:35 -0500 Original-Received: from dradamslap1 (/10.159.58.178) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 25 Sep 2011 18:53:34 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acx757RUhnRvtUwlS3qfIIyaga5L9AAA9lkg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet21.oracle.com [66.248.204.29] X-CT-RefId: str=0001.0A090203.4E8029FC.005A,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 26 Sep 2011 03:31:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:51865 Archived-At: > IOW, let users choose at completion time which completion > style(s) to use, on demand. Each time they change methods > they can complete anew and find out whether there are > matches using that method. > > This might be too complicated an interface to be good to use. > But you could try implementing it and we could judge based > on experience. I did, years ago. In Icicles you can do just that. I suggested the approach here based on experience with it. 1. A user option lists the completion methods to use (i.e., to make available for cycling, in the order specified). 2. During completion, `C-(' cycles to the next method. A user can also do this specifically, for given commands. That is, a given command can have a list of completion methods associated with it. When this is the case, that command's list overrides the global list, for use by `C-('. A separate user option records these command-specific completion preferences. Vanilla Emacs could do something similar, with little coding, IMO. No, I'm not going to do it. This description should suffice, and the Icicles code is freely available for reference, if anyone is really interested. Anyway, I'm betting that even _if_ Emacs Dev wanted to do something like this they would not want to do it the same way. [Actually, Icicles has two keys for completing (in different ways), and thus two different lists of methods for cycling, one for each completion key. `C-(' cycles among the methods associated with `TAB' completion. `M-(' cycles among the methods associated with `S-TAB' completion.]