all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Karl Fogel <kfogel@red-bean.com>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 'Daniel Colascione' <dan.colascione@gmail.com>,
	'Emacs development discussions' <emacs-devel@gnu.org>
Subject: Re: [PATCH] auto-EOF for bookmarks
Date: Mon, 11 Jul 2011 14:33:50 -0700	[thread overview]
Message-ID: <87sjqcmri9.fsf@kwarm.red-bean.com> (raw)
In-Reply-To: <0755B8E79D92481E846986B1EDBAA0B8@us.oracle.com> (Drew Adams's message of "Mon, 11 Jul 2011 06:38:23 -0700")

"Drew Adams" <drew.adams@oracle.com> 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	other threads:[~2011-07-11 21:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-11  2:05 [PATCH] auto-EOF for bookmarks Daniel Colascione
2011-07-11 13:38 ` Drew Adams
2011-07-11 21:33   ` Karl Fogel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sjqcmri9.fsf@kwarm.red-bean.com \
    --to=kfogel@red-bean.com \
    --cc=dan.colascione@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.