GNU bug report logs - #14377
24.3.50; patch: run a hook after `bookmark-write'

Previous Next

Package: emacs;

Reported by: Eduard Wiebe <usenet <at> pusto.de>

Date: Thu, 9 May 2013 20:33:01 UTC

Severity: wishlist

Tags: patch

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Glenn Morris'" <rgm <at> gnu.org>, <14377 <at> debbugs.gnu.org>
Cc: 'Eduard Wiebe' <usenet <at> pusto.de>
Subject: bug#14377: 24.3.50; patch: run a hook after `bookmark-write'
Date: Sun, 12 May 2013 11:01:37 -0700
> >> Of course, we could also install something like your 
> >> patch, but the hook functions will probably need access
> >> to the file name (which might turn into a lexically
> >> scoped var any time).
> 
> Aren't matters of extensibility like this one reason why
> http://www.gnu.org/software/emacs/emacs-paper.html#SEC15
> favours dynamic binding?

;-)

FWIW, Bookmark+ has such a hook: `bmkp-write-bookmark-file-hook'.  (And it
passes the file name to the hook functions.)





This bug report was last modified 12 years and 14 days ago.

Previous Next


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