From: Didier Verna <didier@didierverna.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 13646@debbugs.gnu.org, viniciusjl@ig.com.br
Subject: bug#13646: Whitespace support for file/mode-specific styles and actions
Date: Thu, 07 Feb 2013 15:44:35 +0100 [thread overview]
Message-ID: <m27gmk5gks.fsf@didierverna.net> (raw)
In-Reply-To: <jwvd2wccibj.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 07 Feb 2013 09:26:01 -0500")
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
next prev parent reply other threads:[~2013-02-07 14:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-07 12:43 bug#13646: Whitespace support for file/mode-specific styles and actions Didier Verna
2013-02-07 14:26 ` Stefan Monnier
2013-02-07 14:44 ` Didier Verna [this message]
2013-02-07 16:18 ` bug#13646: mode-specific and file-regexp-specific settings Stefan Monnier
2013-02-07 16:56 ` Didier Verna
2013-02-07 17:25 ` Didier Verna
2013-02-07 21:47 ` bug#13646: Whitespace support for file/mode-specific styles and actions Glenn Morris
2013-02-07 21:48 ` Glenn Morris
2013-02-07 22:00 ` Didier Verna
2013-02-12 8:55 ` Didier Verna
2013-02-12 14:10 ` Stefan Monnier
2013-02-12 14:17 ` Didier Verna
2013-02-12 17:00 ` Christopher Schmidt
2020-09-18 14:38 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m27gmk5gks.fsf@didierverna.net \
--to=didier@didierverna.net \
--cc=13646@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=viniciusjl@ig.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.