GNU bug report logs - #5980
iimage.el and modification hooks

Previous Next

Package: emacs;

Reported by: Martin Pohlack <mp26 <at> os.inf.tu-dresden.de>

Date: Tue, 20 Apr 2010 07:49:01 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Martin Pohlack <mp26 <at> os.inf.tu-dresden.de>
To: bug-gnu-emacs <at> gnu.org
Subject: iimage.el and modification hooks
Date: Tue, 20 Apr 2010 09:41:51 +0200
[Message part 1 (text/plain, inline)]
Hi,

I started to use iimage.el yesterday and like it.  However, it still
seems possible to *blindly* modify contents inside the display blocks
which is confusing.  Furthermore, if the regexp defining the block is 
destroyed that way, disabling iimage-mode does not remove the display 
block --- it will be stuck forever.

I therefore use a modification hook for removing the display block in
case the underlying text is modified.  Please find the patch attached, 
in case you like it.

Cheers,
Martin Pohlack
[iimage_modification-hooks.diff (text/x-patch, attachment)]

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

Previous Next


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