GNU bug report logs - #13646
Mode-specific and file-regexp-specific settings

Previous Next

Package: emacs;

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

From: Didier Verna <didier <at> didierverna.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 13646 <at> debbugs.gnu.org, viniciusjl <at> ig.com.br
Subject: bug#13646: Whitespace support for file/mode-specific styles and actions
Date: Thu, 07 Feb 2013 15:44:35 +0100
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.