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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12361 in the body.
You can then email your comments to 12361 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12361; Package emacs. (Wed, 05 Sep 2012 17:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Le Wang <l26wang <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 05 Sep 2012 17:15:02 GMT) Full text and rfc822 format available.

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

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 1 (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 2 (text/html, inline)]
[hilit-chg.el.patch (application/octet-stream, attachment)]

Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Fri, 07 Dec 2012 05:01:01 GMT) Full text and rfc822 format available.

Notification sent to Le Wang <l26wang <at> gmail.com>:
bug acknowledged by developer. (Fri, 07 Dec 2012 05:01:01 GMT) Full text and rfc822 format available.

Message #10 received at 12361-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 04 Jan 2013 12:24:03 GMT) Full text and rfc822 format available.

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.