unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: "Rajesh Vaidheeswarran" <rv@gnu.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [rudalics@gmx.at: whitespace.el's permanent-locals]
Date: Thu, 15 Mar 2007 07:03:04 +0900	[thread overview]
Message-ID: <87lkhziiuf.fsf@catnip.gol.com> (raw)
In-Reply-To: <aaeb85810703141443r16abfcbco1a55f1e52c6ed01f@mail.gmail.com> (Rajesh Vaidheeswarran's message of "Wed\, 14 Mar 2007 17\:43\:51 -0400")

"Rajesh Vaidheeswarran" <rv@gnu.org> writes:
> If I remember the reason correctly, it was because  wanted the ability
> to toggle on/off the check for and correct the various types of
> whitespaces to be on a per-buffer basis.

Just make it a normal minor mode.  I see no reason to do otherwise.

Indeed, this is exactly the sort of minor-mode which is likely to get
put into hook functions for various major-modes because the user wants
to control whitespace in that mode.  In such a case (and I think it's
the most common one) the parameters are much more likely to be
_mode_-specific rather than buffer-specific.

-miles
-- 
Somebody has to do something, and it's just incredibly pathetic that it
has to be us.  -- Jerry Garcia

  reply	other threads:[~2007-03-14 22:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-14 18:39 [rudalics@gmx.at: whitespace.el's permanent-locals] Richard Stallman
2007-03-14 21:43 ` Rajesh Vaidheeswarran
2007-03-14 22:03   ` Miles Bader [this message]
2007-03-14 22:20     ` Lennart Borgman (gmail)
     [not found] <E1HRewG-0006my-BH@fencepost.gnu.org>
2007-03-24 10:23 ` martin rudalics

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lkhziiuf.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    --cc=rv@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).