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