bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature request: per-project settings


From: Tom Tromey
Subject: feature request: per-project settings
Date: 21 Nov 2002 00:19:16 -0700

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-04-08 on porky.devel.redhat.com
configured using `configure  i386-redhat-linux --prefix=/usr --exec-prefix=/usr 
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec 
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info --with-gcc --with-pop --with-sound'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.iso885915
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: nil

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


This isn't a bug report but rather a feature request.

It would be convenient for me (and, I imagine, many others) if Emacs
supported per-project settings.

What I picture is something like `dirvars.el' (posted once upon a time
to gnu.emacs.sources), plus some extra code to provide easy
persistence of certain settings.

Ideally it would be possible for some settings to be specified by the
project, and others (still per-project) by the user.

As an example, indentation settings should be settable per-project by
the project itself.  This could be done by having some settings stored
in a file in the cvs repository; Emacs would automatically be aware of
these settings when opening a file in that project.

An example of per-user (non-shared) settings would be compilation
commands.  Right now I prime the cache of compilation commands in my
.emacs.  It would be more convenient for me if Emacs automatically
remembered compilation commands on a per-project basis.

gdb invocations could also be remembered this way.  (Ideally
breakpoints and the like would also persist, but just remembering the
gdb command-line automatically would be a good start.)



Recent input:
p M S-SPC q l s SPC M-> q l s M-v M-v g M-v M-v C-z 
o C-c C-c <switch-frame> C-z o E q l s M-< n n SPC 
c SPC C-u C-n p p SPC <switch-frame> <switch-frame> 
SPC n q l s C-v C-l ^ n C n n n C n C n C n C n n C 
q z C-c b C-v C-v C-v C-v C-v C-v C-v C-v M-v <switch-frame> 
<help-echo> <switch-frame> <switch-frame> <help-echo> 
<switch-frame> <help-echo> <switch-frame> <switch-frame> 
<help-echo> M-x r e p o r t - m <backspace> e m <tab> 
<return>

Recent messages:

Retrieving newsgroup: 
nntp+news.gmane.org:gmane.comp.version-control.subversion.devel...
Fetching headers for 
nntp+news.gmane.org:gmane.comp.version-control.subversion.devel...done
Generating summary...done
Wrote /home/tromey/.newsrc
Saving /home/tromey/.newsrc.eld...
Saving file /home/tromey/.newsrc.eld...
Wrote /home/tromey/.newsrc.eld
Saving /home/tromey/.newsrc.eld...done
Loading emacsbug...done

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]