emacs-devel
[Top][All Lists]
Advanced

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

Re: doc-view support for bookmark.el


From: Tassilo Horn
Subject: Re: doc-view support for bookmark.el
Date: Tue, 25 Dec 2007 20:00:37 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

Hi Stefan,

>> Sure, a general interface would be a good idea.  Do you propose an
>> one?
>
>> A simple approach could be to add 2 new variables
>
>>   - bookmark-make-cell-function: A function that creates the record part
>>     of the bookmark (default: the current bookmark-make-cell after
>>     renaming it appropriately)
>
>>   - bookmark-jump-function: A function that jumps to the given bookmark
>>     location without selecting it. (default: the current
>>     bookmark-jump-noselect)
>
>> What do you think?
>
> I don't have time to look into it right now, but I'd have expected that
> the second one is not needed: doc-view's bookmark-make-cell-function
> would create a bookmark entry which contains a callback to doc-view, so
> that bookmark-jump would not need a bookmark-jump-function, or in other
> words the bookmark-jump-function shouldn't be a global (buffer-local)
> variable, but an (optional) entry in each bookmark.

That's a very good idea.  I'll try to implement it when I find some
time.

Bye,
Tassilo




reply via email to

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