GNU bug report logs - #12361
hilit-chg.el bug causes conflict with yasnippet (patch included)

Previous Next

Package: emacs;

Reported by: Le Wang <l26wang <at> gmail.com>

Date: Wed, 5 Sep 2012 17:15:02 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: Le Wang <l26wang <at> gmail.com>
Subject: bug#12361: closed (Re: bug#12361: hilit-chg.el bug causes
 conflict with yasnippet (patch included))
Date: Fri, 07 Dec 2012 05:01:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#12361: hilit-chg.el bug causes conflict with yasnippet (patch included)

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 12361 <at> debbugs.gnu.org.

-- 
12361: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12361
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: Le Wang <l26wang <at> gmail.com>
Cc: 12361-done <at> debbugs.gnu.org
Subject: Re: bug#12361: hilit-chg.el bug causes conflict with yasnippet (patch
	included)
Date: Fri, 07 Dec 2012 00:00:35 -0500
> Attached patch fixes it.  I'm not completely sure if it's the best fix.

That looks about right, thank you, installed in emacs-24,


        Stefan

[Message part 3 (message/rfc822, inline)]
From: Le Wang <l26wang <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: hilit-chg.el bug causes conflict with yasnippet (patch included)
Date: Thu, 6 Sep 2012 01:14:14 +0800
[Message part 4 (text/plain, inline)]
hilit changes assumes that if the end has hilit-chg-delete property,
property between END and (+ 1 END) be set.  This isn't true if the buffer
has been narrowed, which yasnippet does regularly.

Attached patch fixes it.  I'm not completely sure if it's the best fix.

-- 
Le
[Message part 5 (text/html, inline)]
[hilit-chg.el.patch (application/octet-stream, attachment)]

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

Previous Next


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