emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bookmark.el and lisp/gnus/gnus-bookmark.el


From: Stefan Monnier
Subject: Re: bookmark.el and lisp/gnus/gnus-bookmark.el
Date: Thu, 06 Mar 2008 16:27:11 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> He added the buffer-local variable `bookmark-make-cell-function', which
> lets you define a handler for a mode: when setting a bookmark, a handler
> is added to the record and jumping to the bookmark will use this handler
> instead of `bookmark-jump' (see `bookmark-jump-internal'.)

> This is all good, but it only works for buffer visiting files and
> Info-mode. 

I don't understand why you think so.  Could you explain in more details?

BTW bookmark-make-cell-function needs to be fixed so it doesn't receive
any `info-node' argument.  This was needed back when
bookmark-make-cell-function didn't exist, but now that info uses
bookmark-make-cell-function, bookmark.el shouldn't need any
info-specific code.

> - run every function in `bookmark-set-functions' until one returns
>   something useful (those functions returning something similar to
>   ` bookmark-buffer-file-name');

What would it do differently from bookmark-make-cell-function?
What additional behavior would be made available?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]