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


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)]

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

Previous Next


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