GNU bug report logs - #15341
24.3.50; Wrong face in diff-mode

Previous Next

Package: emacs;

Reported by: Xue Fuqiao <xfq.free <at> gmail.com>

Date: Wed, 11 Sep 2013 14:23:02 UTC

Severity: minor

Found in version 24.3.50

Done: Xue Fuqiao <xfq.free <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Xue Fuqiao <xfq.free <at> gmail.com>
Cc: 15341 <at> debbugs.gnu.org
Subject: Re: bug#15341: 24.3.50; Wrong face in diff-mode
Date: Wed, 11 Sep 2013 11:44:33 -0400
> When I was trying to read this patch is diff-mode:
> http://git.savannah.gnu.org/cgit/emacs.git/commit/etc/tutorials/TUTORIAL?id=2d0ab7fceb093acaead8d964ffaf8230098507c9

This is an HTML page.  How did you get it into a diff-mode buffer?

> I found that the ">> Move the cursor to this line and type C-u 0 C-l"
> line is displayed as the ‘diff-added’ face, but it shouldn't.

I strongly suspect that the space before the ">>" got dropped along the
way to the diff-mode buffer, resulting in an invalid patch, which would
explain and justify the mis-highlighting.


        Stefan




This bug report was last modified 11 years and 318 days ago.

Previous Next


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