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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8139 in the body.
You can then email your comments to 8139 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 owner <at> debbugs.gnu.org, viniciusjl <at> ig.com.br, cyd <at> stupidchicken.com, bug-gnu-emacs <at> gnu.org:
bug#8139; Package emacs. (Mon, 28 Feb 2011 14:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to viniciusjl <at> ig.com.br, cyd <at> stupidchicken.com, bug-gnu-emacs <at> gnu.org. (Mon, 28 Feb 2011 14:24:02 GMT) Full text and rfc822 format available.

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

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





Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 04 Mar 2011 08:01:02 GMT) Full text and rfc822 format available.

Notification sent to Leo <sdl.web <at> gmail.com>:
bug acknowledged by developer. (Fri, 04 Mar 2011 08:01:02 GMT) Full text and rfc822 format available.

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

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.




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

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

Previous Next


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