all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Ted Zlatanov <tzz@lifelogs.com>, emacs-devel@gnu.org
Subject: Re: .emacs-settings.el
Date: Sat, 08 Sep 2007 11:47:08 -0600	[thread overview]
Message-ID: <m3odgd59sz.fsf@fleche.redhat.com> (raw)
In-Reply-To: <jwvwsv24bto.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri\, 07 Sep 2007 13\:40\:48 -0400")

>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:

[ C-h v output ]

Stefan> I don't think it's a necessary feature, but it would be a nice
Stefan> addition (for for file-local and dir-local settings).  I'm not
Stefan> sure how to implement it either, but I guess we could change
Stefan> hack-local-variables to maintain a new (buffer-local) variable
Stefan> `file-local-settings' and in C-h v we check this var to see if
Stefan> the variable displayed is among the ones that were set
Stefan> file-locally.

I was thinking about this, and it occurred to me that we could have
"false positives".  E.g., project.el might set the variable and add it
to file-local-settings, but then some later hook might setq the
variable as well.  In this situation C-h v would incorrectly say that
the variable had a project setting -- unless every setq manipulated
file-local-settings.  The reason this is bad is that the point of
mentioning this in C-h v is to avoid confusion resulting variables
magically being set -- but in this situation you would be just as
confused trying (mistakenly) to debug your .emacs-settings.el.

Tom

  reply	other threads:[~2007-09-08 17:47 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05 10:46 .emacs-settings.el Robert J. Chassell
2007-09-05 14:27 ` .emacs-settings.el Davis Herring
2007-09-06 14:29   ` .emacs-settings.el Juri Linkov
2007-09-06 15:23     ` .emacs-settings.el Robert J. Chassell
2007-09-06 15:36       ` .emacs-settings.el Ted Zlatanov
2007-09-06 16:04         ` .emacs-settings.el Michaël Cadilhac
2007-09-06 16:48           ` .emacs-settings.el Ted Zlatanov
2007-09-06 19:34             ` .emacs-settings.el David Kastrup
2007-09-06 20:21               ` .emacs-settings.el Ted Zlatanov
2007-09-06 21:07                 ` .emacs-settings.el Juri Linkov
2007-09-07  2:11                   ` .emacs-settings.el Ted Zlatanov
2007-09-06 23:55                 ` .emacs-settings.el Stefan Monnier
2007-09-07  2:18                   ` .emacs-settings.el Ted Zlatanov
2007-09-07  2:54                 ` .emacs-settings.el Miles Bader
2007-09-07  4:03                   ` .emacs-settings.el Stefan Monnier
2007-09-07 12:03                   ` .emacs-settings.el Ted Zlatanov
2007-09-07  6:19                 ` .emacs-settings.el David Kastrup
2007-09-07 11:56                   ` .emacs-settings.el Ted Zlatanov
2007-09-07 15:49                   ` .emacs-settings.el Davis Herring
2007-09-06 20:39             ` .emacs-settings.el Robert J. Chassell
2007-09-06 21:00               ` .emacs-settings.el Ted Zlatanov
2007-09-07  6:31             ` .emacs-settings.el Richard Stallman
2007-09-07 12:09               ` .emacs-settings.el Ted Zlatanov
2007-09-06 20:22           ` .emacs-settings.el Robert J. Chassell
2007-09-06 20:10         ` .emacs-settings.el Tom Tromey
2007-09-06 20:51           ` .emacs-settings.el Ted Zlatanov
2007-09-07 17:40           ` .emacs-settings.el Stefan Monnier
2007-09-08 17:47             ` Tom Tromey [this message]
2007-09-08 19:19               ` .emacs-settings.el T. V. Raman
2007-09-08 22:17                 ` .emacs-settings.el Tom Tromey
2007-09-08 23:11                   ` .emacs-settings.el Juri Linkov
2007-09-08 23:09                     ` .emacs-settings.el Tom Tromey
2007-09-09  1:28                   ` .emacs-settings.el T. V. Raman
2007-09-09  8:09                   ` .emacs-settings.el David Kastrup
2007-09-10 22:21                   ` .emacs-settings.el Davis Herring
2007-09-09 20:06               ` .emacs-settings.el Stefan Monnier
2007-09-10 14:08                 ` .emacs-settings.el Ted Zlatanov
2007-09-12  8:46                   ` .emacs-settings.el Richard Stallman
2007-09-07 19:53           ` .emacs-settings.el Richard Stallman
2007-09-06 20:08     ` .emacs-settings.el Tom Tromey
2007-09-06 20:50       ` .emacs-settings.el Juri Linkov
2007-09-07 17:43         ` .emacs-settings.el Stefan Monnier
2007-09-07 19:53         ` .emacs-settings.el Richard Stallman
2007-09-08 17:43           ` .emacs-settings.el Tom Tromey
2007-09-06 20:58       ` .emacs-settings.el Ted Zlatanov
2007-09-07  3:05         ` .emacs-settings.el Miles Bader
2007-09-07  6:17         ` .emacs-settings.el David Kastrup
2007-09-07  7:07           ` .emacs-settings.el Jason Rumney
2007-09-07  7:18             ` .emacs-settings.el David Kastrup
2007-09-07 12:08               ` .emacs-settings.el Ted Zlatanov
2007-09-07 15:52             ` .emacs-settings.el Davis Herring
2007-09-08  7:00             ` .emacs-settings.el Richard Stallman
2007-09-06 20:28     ` .emacs-settings.el Stefan Monnier
2007-09-06 20:50       ` .emacs-settings.el Juri Linkov
2007-09-06 23:52         ` .emacs-settings.el Stefan Monnier
2007-09-06 23:41           ` .emacs-settings.el Tom Tromey
2007-09-07  8:52             ` .emacs-settings.el Juri Linkov
2007-09-07 12:14   ` .emacs-settings.el Johannes Weiner
2007-09-07 16:03     ` .emacs-settings.el Davis Herring
2007-09-07 16:35     ` .emacs-settings.el Drew Adams
2007-09-07 18:11       ` .emacs-settings.el joakim
2007-09-08  7:01       ` .emacs-settings.el Richard Stallman
2007-09-08  7:00     ` .emacs-settings.el 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

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

  git send-email \
    --in-reply-to=m3odgd59sz.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=tzz@lifelogs.com \
    /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.