On Nov 21, 2007 1:37 PM, Andrew Straw <[EMAIL PROTECTED]> wrote:

> Can you give me a pointer about what exactly you did? Just now, I just
> discovered a whitespace-cleanup and a whitespace-visual-mode. It'd be
> nice if there was something that automatically showed just tabs and
> end-of-line whitespace. As it is, I found
> whitespace-visual-set-whitespace-chars doesn't seem to have quite that
> level of granularity. Have you configured anything beyond this?

I ended up adding both of these to .emacs and restarting.  Probably
one or the other would work.  For some reason I had to restart, and
not just eval them in .emacs (??)

(add-hook 'python-mode-hook
          (lambda ()
            (setq show-trailing-whitespace t)
            ))

(mapc (lambda (hook)
      (add-hook hook (lambda ()
           (setq show-trailing-whitespace t))))
      '(python-mode-hook))

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to