GNU bug report logs - #8139
23.2.94; [PATCH] fix broken whitepsace support in diff-mode

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Mon, 28 Feb 2011 14:24:02 UTC

Severity: minor

Tags: patch

Found in version 23.2.94

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

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: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#8139: closed (23.2.94; [PATCH] fix broken whitepsace support
 in diff-mode)
Date: Fri, 04 Mar 2011 08:01:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 04 Mar 2011 03:00:46 -0500
with message-id <mymxlbz55d.fsf <at> fencepost.gnu.org>
and subject line Re: 23.2.94; [PATCH] fix broken whitepsace support in diff-mode
has caused the GNU bug report #8139,
regarding 23.2.94; [PATCH] fix broken whitepsace support in diff-mode
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
8139: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8139
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2.94; [PATCH] fix broken whitepsace support in diff-mode
Date: Mon, 28 Feb 2011 22:22:57 +0800
Turning whitespace-mode on in diff buffers no longer shows trailing
white spaces, which is due to change in whitespace-style.

From f67012f57be0ee57281f2553030e04c3c17bc709 Mon Sep 17 00:00:00 2001
Date: Mon, 28 Feb 2011 22:17:51 +0800
Subject: [PATCH] Adapt diff-mode to change in whitespace-style

---
 lisp/diff-mode.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el
index b02c5d91..79a80c81 100644
--- a/lisp/diff-mode.el
+++ b/lisp/diff-mode.el
@@ -1267,7 +1267,7 @@ (define-derived-mode diff-mode fundamental-mode "Diff"
 
   ;; Set up `whitespace-mode' so that turning it on will show trailing
   ;; whitespace problems on the modified lines of the diff.
-  (set (make-local-variable 'whitespace-style) '(trailing))
+  (set (make-local-variable 'whitespace-style) '(face trailing))
   (set (make-local-variable 'whitespace-trailing-regexp)
        "^[-\+!<>].*?\\([\t ]+\\)$")
 
-- 
1.7.4



[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 8139-done <at> debbugs.gnu.org
Subject: Re: 23.2.94; [PATCH] fix broken whitepsace support in diff-mode
Date: Fri, 04 Mar 2011 03:00:46 -0500
Version: 24.1

Thanks; applied.


This bug report was last modified 14 years and 78 days ago.

Previous Next


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