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 #17 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: Fri, 1 Mar 2013 22:02:00 +0000
On 28 February 2013 16:32, Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:
>>   (add-function :after-while whitespace-enable-predicate
>>                 #'whitespace-check-cleanliness)
>
> Sorry, this should be
>
>    (add-function :after-while (default-value 'whitespace-enable-predicate)
>                  #'whitespace-check-cleanliness)

Emacs 24 doesn't seem to have add-function; copying nadvice.el into my
site-lisp directory seems to take me down the gv-ref rabbit hole (in
the sense that I tried installing it into Emacs 24 before and found I
was just copying more and more stuff from master). Do you have an
old-fashioned alternative? (Sorry, I only tried advice for the first
time, while trying to do the above hack more neatly.)

-- 
http://rrt.sc3d.org




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.