GNU bug report logs -
#13646
Mode-specific and file-regexp-specific settings
Previous Next
Reported by: Didier Verna <didier <at> didierverna.net>
Date: Thu, 7 Feb 2013 12:46:01 UTC
Severity: wishlist
Tags: wontfix
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Stefan Monnier <monnier <at> 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
This bug report was last modified 4 years and 304 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.