GNU bug report logs - #11131
24.0.94; Apropos bookmarks

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Fri, 30 Mar 2012 08:59:02 UTC

Severity: wishlist

Found in version 24.0.94

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 11131 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 11131 <at> debbugs.gnu.org
Subject: Re: bug#11131: 24.0.94; Apropos bookmarks
Date: Fri, 26 Oct 2012 13:35:40 -0400
>> Again: "Which part of "ido-like" would you like to see there?".
> 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

IIUC, you're looking into making icomplete provide what you need, so
this is tracked elsewhere now.

> Since my bookmarks are function names, substring completion is what I
> desire.  (Many functions share the *same* prefix)

I haven't changed the default, but I have added a `category' of
`bookmark', so you can use substring completion simply by customizing
completion-category-overrides.

> [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.

I'd be happy to install patch that goes along these lines (tho I'd probably
prefer "filename:functionname").

>>> 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?

Yes: it's expected to be modified by Lisp code rather than via
a Custom setting.  The Customize UI wouldn't be able to provide much
guidance as to what value the user could want to put there.


        Stefan




This bug report was last modified 12 years and 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.