GNU bug report logs - #15746
24.3; [PATCH] bookmark should confirm when overwrite

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Tue, 29 Oct 2013 03:34:02 UTC

Severity: minor

Tags: patch

Found in version 24.3

Done: Karl Fogel <kfogel <at> red-bean.com>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 15746 <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Karl Fogel <kfogel <at> red-bean.com>, 15746 <at> debbugs.gnu.org,
 Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#15746: 24.3; [PATCH] bookmark should confirm when overwrite
Date: Wed, 30 Oct 2013 10:56:34 +0800
On 2013-10-30 10:11 +0800, Stefan Monnier wrote:
> How 'bout the following:
> - change bookmark-set to emit a clear message when it updates an
>   existing message, as well as recording the previous value somewhere.
> - provide a bookmark-undo command so the user can undo his
>   bookmark-set when he discovers that he has just changed an existing
>   bookmark by mistake.
> This way, we avoid prompting Drew annoyingly when he knows full well
> he's updating the bookmark.
> Leo, would that be sufficient to avoid the regrets, or did you realize
> too late for a bookmark-undo to be of any use?

Undo in this case is less intuitive than when editing text. I think the
right moment to decide overwriting is when creating the bookmark. So
maybe we could provide a variable to control this confirmation
behaviour? But I agree with Karl the default should provide
confirmation.

BTW, I use bookmark as some sort of persistent registers that I can make
use another day another place. I rsync bookmarks to a few machines so
bookmark-save-flag is 1 to make sure the db is always fully in disk.

Leo




This bug report was last modified 9 years and 253 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.