all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "T. V. Raman" <raman@users.sf.net>
To: tromey@redhat.com
Cc: tzz@lifelogs.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: .emacs-settings.el
Date: Sat, 8 Sep 2007 12:19:50 -0700	[thread overview]
Message-ID: <18146.62934.388958.194074@gargle.gargle.HOWL> (raw)
In-Reply-To: <m3odgd59sz.fsf@fleche.redhat.com>


while we  think of project specific settings, it would also be
nice to see if we could create the ability to export a set of
related options from custom.

The new custom-themes support is nice, but it's still difficult
to do the following:

0) once you have customized a complex package, say JDEE or org,
   it's difficult to export out   settings for just that package
   into a theme that you might then take to another machine.

2) With the custom file getting large, it's increasingly creating
a single point of failure, 
  and I've also noticed that once in a while some settings get
  inexplicably lost.

As we do project specific settings, it would be really nice  to
be first able to refactor a large custom file into a set of
package-specific files,
this will make tracking down sources of multiple settings much easier.

>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
    >>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca>
    >>>>>> writes:
    Tom> [ C-h v output ]
    Tom> 
    Stefan> I don't think it's a necessary feature, but it would
    Stefan> be a nice addition (for for file-local and dir-local
    Stefan> settings).  I'm not sure how to implement it either,
    Stefan> but I guess we could change hack-local-variables to
    Stefan> maintain a new (buffer-local) variable
    Stefan> `file-local-settings' and in C-h v we check this var
    Stefan> to see if the variable displayed is among the ones
    Stefan> that were set file-locally.
    Tom> 
    Tom> I was thinking about this, and it occurred to me that we
    Tom> could have "false positives".  E.g., project.el might
    Tom> set the variable and add it to file-local-settings, but
    Tom> then some later hook might setq the variable as well.
    Tom> In this situation C-h v would incorrectly say that the
    Tom> variable had a project setting -- unless every setq
    Tom> manipulated file-local-settings.  The reason this is bad
    Tom> is that the point of mentioning this in C-h v is to
    Tom> avoid confusion resulting variables magically being set
    Tom> -- but in this situation you would be just as confused
    Tom> trying (mistakenly) to debug your .emacs-settings.el.
    Tom> 
    Tom> Tom
    Tom> 
    Tom> 
    Tom> _______________________________________________
    Tom> Emacs-devel mailing list Emacs-devel@gnu.org
    Tom> http://lists.gnu.org/mailman/listinfo/emacs-devel

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

  reply	other threads:[~2007-09-08 19:19 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             ` .emacs-settings.el Tom Tromey
2007-09-08 19:19               ` T. V. Raman [this message]
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=18146.62934.388958.194074@gargle.gargle.HOWL \
    --to=raman@users.sf.net \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=tromey@redhat.com \
    --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.