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: Bastien
Subject: Re: bookmark.el and lisp/gnus/gnus-bookmark.el
Date: Fri, 07 Mar 2008 12:29:03 +0000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

Tassilo Horn <address@hidden> writes:

> Bastien <address@hidden> writes:
>>
>> This boils down to this: having a `bookmark-make-name-function' doing
>> for the names of the bookmarks what `bookmark-make-cell-function' does
>> for the records.  This would be locally set depending on the mode
>> we're in.
>>
>> For now the the name of the bookmark is set by
>> bookmark-buffer-file-name which doesn't return anything unless you are
>> in a buffer visiting a file or an Info node, or dired.
>
> Hm, looking at the code `bookmark-buffer-file-name' is only called for
> buffers that don't have `bookmark-make-record-function' set locally, so
> I don't see why you would need that?

I think you mean: `bookmark-make-cell-function', right?

Karl added this after I wrote the text you quote above.

> Or am I late again and Karl's and Stefan's changes already do care oy
> everything we need?

Yes, they do!

Now a mode can define `bookmark-make-cell-function' so that it tells
bookmark.el how to set the name of the bookmark.  

Some people talk, some people work. :)

-- 
Bastien




reply via email to

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