[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13646: Whitespace support for file/mode-specific styles and actions
From: |
Didier Verna |
Subject: |
bug#13646: Whitespace support for file/mode-specific styles and actions |
Date: |
Thu, 07 Feb 2013 15:44:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (darwin) |
Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> the following patch extends whitespace.el with the ability to specify
>> styles and actions on a file or mode specific basis.
>
> Can't we already do that in the usual way (i.e. with file-local,
> dir-local, or mode hooks settings)?
To some extend yes, but the extension I propose is more general
because, for example, the matching on file names is done with
regexps. Without this, you could end up duplicating a common setting
in several dir/file local sections.
Another (more personal) argument, is that in general, I don't like the
idea of having settings for a single functionality scattered all over
the place. I prefer to see those settings in a centralized place, say
a customization buffer.
--
ELS 2013, June 3/4, Madrid, Spain: http://els2013.european-lisp-symposium.org
Scientific site: http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com
- bug#13646: Whitespace support for file/mode-specific styles and actions, Didier Verna, 2013/02/07
- bug#13646: Whitespace support for file/mode-specific styles and actions, Stefan Monnier, 2013/02/07
- bug#13646: Whitespace support for file/mode-specific styles and actions,
Didier Verna <=
- bug#13646: Whitespace support for file/mode-specific styles and actions, Glenn Morris, 2013/02/07
- bug#13646: Whitespace support for file/mode-specific styles and actions, Glenn Morris, 2013/02/07
- bug#13646: Whitespace support for file/mode-specific styles and actions, Didier Verna, 2013/02/07
- bug#13646: Whitespace support for file/mode-specific styles and actions, Didier Verna, 2013/02/12
- bug#13646: Whitespace support for file/mode-specific styles and actions, Stefan Monnier, 2013/02/12
- bug#13646: Whitespace support for file/mode-specific styles and actions, Didier Verna, 2013/02/12
- bug#13646: Whitespace support for file/mode-specific styles and actions, Christopher Schmidt, 2013/02/12