unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: command for creating local variables in files
Date: Fri, 17 Jun 2005 08:58:13 +0200	[thread overview]
Message-ID: <85wtotsc56.fsf@lola.goethe.zz> (raw)
In-Reply-To: <E1Dj8cz-0002A6-KA@fencepost.gnu.org> (Richard Stallman's message of "Fri, 17 Jun 2005 00:38:49 -0400")

Richard Stallman <rms@gnu.org> writes:

>     So for a file-make-local-variable command we need questions like
>
>       Major mode: (default <the current major mode>)
> 	...
>       Variable:
> 	foo...
>       Variable foo set to:
> 	...
>
> You are describing a command to set up an entire local variables list.
> That's not what file-make-local-variable should do.  That command
> should add or alter ONE variable in the local variables list; only
> one.  It can read a variable name and the value string in the usual
> way with the minibuffer.

It might be nice if it also accepted major-mode as a variable name,
and minor mode variables, and buffer-file-coding-system and translated
them into the corresponding sequences.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2005-06-17  6:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-15  4:50 command for creating local variables in files Werner LEMBERG
2005-06-16  4:07 ` Richard Stallman
2005-06-16 10:13   ` Werner LEMBERG
2005-06-17  4:38     ` Richard Stallman
2005-06-17  6:58       ` David Kastrup [this message]
2005-06-17 18:47         ` Richard Stallman

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=85wtotsc56.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@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).