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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Martin Pohlack <mp26 <at> os.inf.tu-dresden.de>
Subject: bug#5980: closed (Re: bug#5980: iimage.el and modification hooks)
Date: Mon, 07 Jun 2010 21:07:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#5980: iimage.el and modification hooks

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 5980 <at> debbugs.gnu.org.

-- 
5980: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5980
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Martin Pohlack <mp26 <at> os.inf.tu-dresden.de>
Subject: Re: bug#5980: iimage.el and modification hooks
Date: Mon, 07 Jun 2010 17:03:40 -0400
> 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.

Installed, thank you,


        Stefan

[Message part 3 (message/rfc822, inline)]
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 4 (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.