emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] auto-EOF for bookmarks


From: Karl Fogel
Subject: Re: [PATCH] auto-EOF for bookmarks
Date: Mon, 11 Jul 2011 14:33:50 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

"Drew Adams" <address@hidden> writes:
>> This patch changes the bookmark feature to automatically jump 
>> to the end of the buffer if a bookmark was set there. It is
>> backwards-compatible.  If the change in default behavior is
>> too drastic, then would it be okay to add a facility to
>> explicitly set a follow-EOF bookmark?
>
>It's fine to add an optional ability to say "create a bookmark that
>will always point to the eob/eof".  As one user, I disagree that
>creating a bookmark at eob should automatically or by default create it
>as an always-go-to-eob-bookmark.
>
>IOW, as an option, I don't have a problem with it, but it shouldn't be
>what happens by default when you create a bookmark with point at eob.
>
>I also wonder a bit, "Why?".  How hard is it to hit `M->' after jumping
>to a bookmark?  Am I missing something wrt the use case?

I think Drew's final question there sums up my feelings too.

I can why always-go-to-EOF would be useful sometimes, but... it's
already so easy to jump to the end of a buffer with `M->' anyway.

The UI machinery needed to distinguish between "I want to set a bookmark
right here, near these words" and "I want to set a bookmark right here,
always at the end of the file" would be cumbersome.  We'd have to find a
way to ask the user each time, or the user would have to know a special
prefix sequence, or a variable, or whatever, to specify it.

IMHO, the cost of this UI machinery would outweigh the limited benefit
of having the feature at all.

Best,
-Karl



reply via email to

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