From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] auto-EOF for bookmarks Date: Mon, 11 Jul 2011 14:33:50 -0700 Message-ID: <87sjqcmri9.fsf@kwarm.red-bean.com> References: <4E1A5A62.3050906@gmail.com> <0755B8E79D92481E846986B1EDBAA0B8@us.oracle.com> Reply-To: Karl Fogel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310420106 23027 80.91.229.12 (11 Jul 2011 21:35:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2011 21:35:06 +0000 (UTC) Cc: 'Daniel Colascione' , 'Emacs development discussions' To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 11 23:35:01 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QgO84-000256-ND for ged-emacs-devel@m.gmane.org; Mon, 11 Jul 2011 23:35:00 +0200 Original-Received: from localhost ([::1]:47675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgO82-0002DB-VW for ged-emacs-devel@m.gmane.org; Mon, 11 Jul 2011 17:34:59 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgO7j-0002Ce-4S for emacs-devel@gnu.org; Mon, 11 Jul 2011 17:34:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgO7e-0007hx-Il for emacs-devel@gnu.org; Mon, 11 Jul 2011 17:34:38 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:41067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgO7e-0007hV-9W for emacs-devel@gnu.org; Mon, 11 Jul 2011 17:34:34 -0400 Original-Received: by iwn8 with SMTP id 8so4737971iwn.0 for ; Mon, 11 Jul 2011 14:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:reply-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=uX4RTleRIMS2KqIQKc4kfS4zCgQH1AVeZj0uxC0Y3u8=; b=xuDFxxCRRw5k+RlFQ+jdxejVUe3ubra9AskNuN7VvGkG4rApzq8XZVJfAXS7/HayjO JwwtKjUlujoNDeDrqnY7KNgqhSc4M3eMlkN1+kDLUZI3gWFkbA9MdkGdN2BVK1/vgfX0 WM7CvfIKimBpBpIhHVlBz3yBFkfDqS55exNEk= Original-Received: by 10.42.175.68 with SMTP id az4mr673500icb.147.1310420072599; Mon, 11 Jul 2011 14:34:32 -0700 (PDT) Original-Received: from kwarm.red-bean.com (70-6-165-30.pools.spcsdns.net [70.6.165.30]) by mx.google.com with ESMTPS id d6sm14282345icx.13.2011.07.11.14.34.09 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jul 2011 14:34:31 -0700 (PDT) In-Reply-To: <0755B8E79D92481E846986B1EDBAA0B8@us.oracle.com> (Drew Adams's message of "Mon, 11 Jul 2011 06:38:23 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141958 Archived-At: "Drew Adams" 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