GNU bug report logs - #13837
24.2; Make it possible to turn whitespace-mode only when there are no existing problems

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Wed, 27 Feb 2013 21:45:02 UTC

Severity: wishlist

Found in version 24.2

Fixed in version 25.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Reuben Thomas <rrt <at> sc3d.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 13837 <at> debbugs.gnu.org
Subject: Re: bug#13837: 24.2; Make it possible to turn whitespace-mode only
 when there are no existing problems
Date: Sun, 26 Jan 2014 23:12:10 +0000
[Message part 1 (text/plain, inline)]
On 18 October 2013 00:09, Reuben Thomas <rrt <at> sc3d.org> wrote:

> On 10 April 2013 01:50, Reuben Thomas <rrt <at> sc3d.org> wrote:
>
>> On 2 March 2013 07:49, Reuben Thomas <rrt <at> sc3d.org> wrote:
>>
>>> On 2 March 2013 03:01, Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:
>>> >>> You can … refactor the
>>> >>> whitespace-report-region so as to provide whitespace-test-region.
>>> >> Here's an attempt at that:
>>> >
>>> > Can you please (re)send it as a patch?
>>>
>>> Sure:
>>>
>>> === modified file 'lisp/whitespace.el'
>>>
>>
>> [patch snipped]
>>
>> Ping?
>>
>
> Ping again? My patch still applies cleanly to trunk.
>

Ping again! My patch still applies cleanly to trunk. Just to repeat why
this patch is worthwhile, it splits out a function whitespace-test-region
which can usefully be used to advise whitespace-enable-predicate. (For use
with 24.3, I simply redefine whitespace-enable-predicate instead.)

-- 
http://rrt.sc3d.org
[Message part 2 (text/html, inline)]

This bug report was last modified 10 years and 235 days ago.

Previous Next


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