unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* suggestion for user-emacs-directory
@ 2020-09-04 10:51 Dieter Faulbaum
  2020-09-04 13:56 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Dieter Faulbaum @ 2020-09-04 10:51 UTC (permalink / raw)
  To: help-gnu-emacs


Dear all,

I use (at least) 3 versions of emacs on one computer, one from the
Debian-package, the newer one from here
https://ftpmirror.gnu.org/emacs/emacs-27.1.tar.xz and the snapshot 
from
git://git.savannah.gnu.org/emacs.git/.
They tend to have different customizable variables (and others).

So I have these variables set in my (early-)init.el:

(setq emacs-name "emacs"
      emacs-major-minor-version (format "%d.%d" 
      emacs-major-version
					emacs-minor-version)
      user-emacs-directory (concat "~/.etc/" emacs-name "/"
      emacs-major-minor-version))


Maybe not the most elegant way but this works for me to 
distinguish
these versions.

Would it be good, if the user-emacs-directory not only becomes
"per-user Emacs-specific"
but also
"per-user per-emacs-version Emacs-specific"
in a similar way? (as an example: gimp does it likewise.-)

Thanks for thinking about this.

Dieter



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-10  4:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-04 10:51 suggestion for user-emacs-directory Dieter Faulbaum
2020-09-04 13:56 ` Stefan Monnier
2020-09-05  5:58   ` David Masterson
2020-09-05 15:20     ` Stefan Monnier
2020-09-06 22:22       ` David Masterson
2020-09-10  4:24   ` Bob Newell

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).