bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13837: 24.2; Make it possible to turn whitespace-mode only when ther


From: Reuben Thomas
Subject: 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

On 18 October 2013 00:09, Reuben Thomas <rrt@sc3d.org> wrote:
On 10 April 2013 01:50, Reuben Thomas <rrt@sc3d.org> wrote:
On 2 March 2013 07:49, Reuben Thomas <rrt@sc3d.org> wrote:
On 2 March 2013 03:01, Stefan Monnier <monnier@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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]