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: Karl Fogel
Subject: Re: doc-view support for bookmark.el
Date: Wed, 26 Dec 2007 12:21:36 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

"Drew Adams" <address@hidden> writes:
>> Okay, so "(BUFFER . POINT)" is now an exported interface, not just an
>> internal interface that we would be free to change inside bookmark.el.
>> Therefore, let's make it more extensible than a dotted pair.
>
> Why would "we would be free to change inside bookmark.el" before Tassilo's
> change? There is nothing internal about `bookmark-jump-noselect'.
>
> And, as I already pointed out, there already exists external code that calls
> it and depends on the (BUFFER . POINT) interface.
>
> Of course, nothing stops Emacs developers from changing anything, but please
> don't assume that (BUFFER . POINT) is an "internal" representation that can
> be changed with no external consequences.

Sorry, I missed where you mentioned that, but your point stands.

So, in that case, what I'm really advocating is: let's change it to
return a *better* representation, and update all the callers in Emacs.
(I doubt there are many callers outside the Emacs distribution, but
even if there are, it's still worth going through this pain once so we
have an extensible type from now on.)

-Karl




reply via email to

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