[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: package.el
From: |
Tom Tromey |
Subject: |
Re: package.el |
Date: |
Fri, 25 May 2007 15:39:46 -0600 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
>>>>> "Davis" == Davis Herring <address@hidden> writes:
Davis> This (the customizable setting) has been discussed before[1],
Davis> and I even offered to go find all the hardcoded ~/.emacs.d/
Davis> usages, but there wasn't much evident interest. Is there now,
Davis> especially given the issue of differing standards among OSes?
Ah, cool. I wasn't aware of this.
Today I made a quick pass over Emacs to fix this. I haven't tested my
patch yet, since I ran into a few difficulties:
* xterm.c uses ~/.emacs.d:
char *file = "~/.emacs.d/gtkrc";
I'm not familiar with Emacs internals but I would guess this is run
before .emacs -- so I don't see how the user could customize this...?
But for the Aquamacs case I suppose this doesn't matter.
* emacsclient.c:
sprintf (path, "%s/.emacs.d/server/%s", home, server_file);
We'd need an environment variable or command line argument here.
Also some -- but not all -- of the Emacs lisp code uses _emacs_d on
'ms-dos. Is this different from Windows? Does emacsclient work on
ms-dos? (If so then the code looks incorrect...)
* Lots of places hard-code .emacs.d, some use _emacs_d, and one uses
convert-standard-filename. My patch uses option #2 but maybe
convert-standard-filename is better?
* I wasn't sure what to do about the doc strings and the Texinfo.
Should they all mention `user-emacs-directory'? Or just leave them
as-is, mentioning ~.emacs.d/, and let the reader figure it out?
* More trivially, what :group should the new user-emacs-directory
defcustom be in?
Anyway I am happy to send the patch to anybody interested. And I'm
going to do a bit of testing of it "soon" :)
Tom
- Re: CVS is the `released version', (continued)
- package.el (was: Re: CVS is the `released version'), David Reitter, 2007/05/21
- Re: package.el, Tom Tromey, 2007/05/21
- Re: package.el, David Kastrup, 2007/05/21
- Re: package.el, David Reitter, 2007/05/21
- Re: package.el, David Kastrup, 2007/05/21
- Re: package.el, Tom Tromey, 2007/05/21
- Re: package.el, Davis Herring, 2007/05/21
- Re: package.el, Lennart Borgman (gmail), 2007/05/21
- Re: package.el,
Tom Tromey <=
- Re: package.el, Richard Stallman, 2007/05/26
- Re: package.el, David Reitter, 2007/05/21
- Re: package.el, Tom Tromey, 2007/05/21
- Re: package.el, Stephen J. Turnbull, 2007/05/21
- Re: package.el, Stefan Monnier, 2007/05/22
- Re: CVS is the `released version', Richard Stallman, 2007/05/19
- Re: CVS is the `released version', Tom Tromey, 2007/05/19
- Re: CVS is the `released version', Richard Stallman, 2007/05/20
- Re: CVS is the `released version', Tom Tromey, 2007/05/20
- Re: CVS is the `released version', Stefan Monnier, 2007/05/21