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#11131: 24.0.94; Apropos bookmarks Date: Tue, 11 Sep 2012 14:04:28 -0400 Message-ID: References: <81sjgqqyt2.fsf@gmail.com> <87wr01htcz.fsf@gmail.com> <87sjao33j1.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347386737 25134 80.91.229.3 (11 Sep 2012 18:05:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2012 18:05:37 +0000 (UTC) Cc: 11131@debbugs.gnu.org To: Jambunathan K Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 11 20:05:40 2012 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 1TBUq5-0004qU-4P for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Sep 2012 20:05:33 +0200 Original-Received: from localhost ([::1]:39211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBUq1-0000SJ-GU for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Sep 2012 14:05:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBUpu-0000SE-Iw for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 14:05:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBUpt-0005Db-Bg for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 14:05:22 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBUpt-0005DR-7m for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 14:05:21 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TBUqY-00063T-Ex for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 14:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Sep 2012 18:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11131 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11131-submit@debbugs.gnu.org id=B11131.134738671923227 (code B ref 11131); Tue, 11 Sep 2012 18:06:02 +0000 Original-Received: (at 11131) by debbugs.gnu.org; 11 Sep 2012 18:05:19 +0000 Original-Received: from localhost ([127.0.0.1]:55086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBUpq-00062Y-2x for submit@debbugs.gnu.org; Tue, 11 Sep 2012 14:05:18 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:52502) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBUpl-00062N-4u for 11131@debbugs.gnu.org; Tue, 11 Sep 2012 14:05:16 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q8BI4Sxu015949; Tue, 11 Sep 2012 14:04:28 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 324E2B4085; Tue, 11 Sep 2012 14:04:28 -0400 (EDT) In-Reply-To: <87sjao33j1.fsf@gmail.com> (Jambunathan K.'s message of "Tue, 11 Sep 2012 22:22:50 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:64152 Archived-At: >>> With a simple ido-like completion (or iswitchb-like completion), >>> I can jump to the function name quickly without typing the whole >>> function name. >> Again: "Which part of "ido-like" would you like to see there?". > The answer has to be how the UI works (i.e., how I *interact* with the > completion mechanism and not how completions are computed.) In that case the change can't be active by default because that would be incompatible with our desire for a consistent completion UI. > It would be wonderful if - > All aspects of completion happens right within the mini-buffer. > With the default interface the following are turn-offs (which is pretty > much everything) > - TAB, > - work window getting split in to two > - Using mouse or RET for final choice I'm not exactly sure about what you mean by the above. IDO still uses TAB and RET in mostly similar ways to the default UI, and still splits the window when displaying the *Completions* buffer. Have you tried icomplete-mode? > Since my bookmarks are function names, substring completion is what I > desire. (Many functions share the *same* prefix) It seems this can't be changed by customizing completion-category-overrides right now, so we'll need to change bookmark.el's completion table to provide a `category'. > [Context Switch] I think having a standard hook to choose the default > name of bookmark will also be useful. In prog-modes, I will probably > set it to which-function. Sounds fine. Patch welcome. >>> Have bookmark use completing-read-function. >> It does, since it calls completing-read which in turn calls the >> completing-read-function. > May be there is a reason why completing-read-function is not > customizable? You can customize it, just not with Custom. No particular reason. Stefan