unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4347: Bug for .emacs.d?
       [not found] <4AA1B07E.3080703@alice.it>
@ 2009-09-05  2:12 ` Juanma Barranquero
  2009-09-11 20:23   ` Stefan Monnier
  0 siblings, 1 reply; 18+ messages in thread
From: Juanma Barranquero @ 2009-09-05  2:12 UTC (permalink / raw)
  To: Angelo Graziosi

Package: emacs
Version: 23.1.50
X-Debbugs-CC: monnier@iro.umontreal.ca

On Sat, Sep 5, 2009 at 02:27, Angelo Graziosi<angelo.graziosi@alice.it> wrote:

> The build of current CVS creates the empty directory '~/.emacs.d', each time
> one starts Emacs, even if in the '.emacs' file there is
>
> (setq auto-save-list-file-prefix nil)
>
> which should prohibit that!!

`auto-save-list-file-prefix' does not do that. It controls the path
for auto-save files, but there are many packages that use the value of
`user-emacs-directory', so you cannot rely on auto-save-list-prefix to
determine whether ~/.emacs.d will be created or not.

> This strange behavior does not happen with CVS checked out on 2009.08.27.

Yes, this is really a regression. It is caused by this change:

2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* paths.el (abbrev-file-name): Move to abbrev.el.
	* abbrev.el (abbrev-file-name): Move from paths.el.
	Obey user-emacs-directory.
	* calc/calc.el (calc-settings-file): Don't autoload and instead obey
	user-emacs-directory.
	* dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
	abbrev-file-name and calc-settings-file any more.
	* startup.el (command-line): Recompute abbrev-file-name and
	abbreviated-home-dir.
	[...]

    Juanma





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

* bug#4347: Bug for .emacs.d?
  2009-09-05  2:12 ` bug#4347: Bug for .emacs.d? Juanma Barranquero
@ 2009-09-11 20:23   ` Stefan Monnier
  2009-09-11 20:34     ` Juanma Barranquero
  2009-09-11 21:21     ` Angelo Graziosi
  0 siblings, 2 replies; 18+ messages in thread
From: Stefan Monnier @ 2009-09-11 20:23 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 4347, Angelo Graziosi

>> The build of current CVS creates the empty directory '~/.emacs.d', each time
>> one starts Emacs, even if in the '.emacs' file there is

Just so I understand better: is the problem that ~/.emacs.d is created
at build-time, or that it's created at run-time?

IIUC it's done both times right now.  The build-time case is a bug
(which I think should be fixed along the lines of the patch below), but
w.r.t the run-time case, I'm not convinced it's a bug.


        Stefan


Index: lisp/abbrev.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/abbrev.el,v
retrieving revision 1.83
diff -u -r1.83 abbrev.el
--- lisp/abbrev.el	29 Aug 2009 19:22:44 -0000	1.83
+++ lisp/abbrev.el	11 Sep 2009 20:20:26 -0000
@@ -40,7 +40,8 @@
 
 (defcustom abbrev-file-name
   (locate-user-emacs-file "abbrev_defs" ".abbrev_defs")
-  "Default name of file to read abbrevs from."
+  "Default name of file from which to read abbrevs."
+  :initialize 'custom-initialize-delay
   :type 'file)
 
 (defcustom only-global-abbrevs nil
Index: lisp/custom.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/custom.el,v
retrieving revision 1.146
diff -u -r1.146 custom.el
--- lisp/custom.el	5 Jan 2009 03:18:51 -0000	1.146
+++ lisp/custom.el	11 Sep 2009 20:20:27 -0000
@@ -130,6 +119,17 @@
 	(t
 	 (set-default symbol (eval value)))))
 
+(defvar custom-delayed-init-variables nil
+  "List of variables whose initialization is pending.")
+
+(defun custom-initialize-delay (symbol value)
+  "Delay initialization of SYMBOL to the next Emacs start.
+This is used in files that are preloaded, so that the initialization is
+done in the run-time context rather than the build-time context.
+SYMBOL is temporarily initialized to nil."
+  (set symbol nil)
+  (push symbol custom-delayed-init-variables))
+
 (defun custom-declare-variable (symbol default doc &rest args)
   "Like `defcustom', but SYMBOL and DEFAULT are evaluated as normal arguments.
 DEFAULT should be an expression to evaluate to compute the default value,
Index: lisp/files.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/files.el,v
retrieving revision 1.1080
diff -u -r1.1080 files.el
--- lisp/files.el	7 Sep 2009 15:23:12 -0000	1.1080
+++ lisp/files.el	11 Sep 2009 20:20:31 -0000
@@ -204,6 +204,7 @@
 by programs that create small temporary files.  This is for systems that
 have fast storage with limited space, such as a RAM disk."
   :group 'files
+  :initialize 'custom-initialize-delay
   :type '(choice (const nil) directory))
 
 ;; The system null device. (Should reference NULL_DEVICE from C.)
@@ -385,6 +386,7 @@
   :group 'auto-save
   :type '(repeat (list (string :tag "Regexp") (string :tag "Replacement")
 					   (boolean :tag "Uniquify")))
+  :initialize 'custom-initialize-delay
   :version "21.1")
 
 (defcustom save-abbrevs t





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

* bug#4347: Bug for .emacs.d?
  2009-09-11 20:23   ` Stefan Monnier
@ 2009-09-11 20:34     ` Juanma Barranquero
  2009-09-11 21:21     ` Angelo Graziosi
  1 sibling, 0 replies; 18+ messages in thread
From: Juanma Barranquero @ 2009-09-11 20:34 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 4347, Angelo Graziosi

> Just so I understand better: is the problem that ~/.emacs.d is created
> at build-time, or that it's created at run-time?

Both, I'd say.

> IIUC it's done both times right now.  The build-time case is a bug
> (which I think should be fixed along the lines of the patch below)

I'll test it ASAP.

> but w.r.t the run-time case, I'm not convinced it's a bug.

I think it is. There's no way to prevent its creation:

  C:\temp> set HOME=C:\temp
  C:\temp> dir
                  0 bytes in 0 files and 0 dirs

  C:\temp> emacs -Q --eval "(setq user-emacs-directory \"C:/otherdir/\")"
  C:\temp> dir
  1/09/2009  22:29         <DIR>    .emacs.d
                   0 bytes in 0 files and 1 dir

while before, simply doing "emacs -Q" followed by C-x C-c wouldn't
create ~/.emacs.d/.

    Juanma





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

* bug#4347: Bug for .emacs.d?
  2009-09-11 20:23   ` Stefan Monnier
  2009-09-11 20:34     ` Juanma Barranquero
@ 2009-09-11 21:21     ` Angelo Graziosi
  2009-09-12  4:25       ` Stefan Monnier
  1 sibling, 1 reply; 18+ messages in thread
From: Angelo Graziosi @ 2009-09-11 21:21 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Juanma Barranquero, 4347

Stefan Monnier ha scritto:
> 
> Just so I understand better: is the problem that ~/.emacs.d is created
> at build-time, or that it's created at run-time?

It is created at run-time, unless it is created previously. This happens 
both on Cygwin and GNU/Linux Kubuntu 8.04 and 9.04.

They are a few years I use Emacs without seeing any empty '~/.emacs.d' 
directory at its start, and from August 29, 2009, instead, it happens...

It is a bug, unless someone explains why Emacs, NOW, have to create that 
empty directory when it starts.


Cheers,
Angelo.





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

* bug#4347: Bug for .emacs.d?
  2009-09-11 21:21     ` Angelo Graziosi
@ 2009-09-12  4:25       ` Stefan Monnier
  2009-09-12  8:29         ` Angelo Graziosi
                           ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Stefan Monnier @ 2009-09-12  4:25 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Juanma Barranquero, 4347

>> Just so I understand better: is the problem that ~/.emacs.d is created
>> at build-time, or that it's created at run-time?

> It is created at run-time, unless it is created previously. This happens
> both on Cygwin and GNU/Linux Kubuntu 8.04 and 9.04.

> They are a few years I use Emacs without seeing any empty '~/.emacs.d'
> directory at its start, and from August 29, 2009, instead, it happens...

> It is a bug, unless someone explains why Emacs, NOW, have to create that
> empty directory when it starts.

There's no question that the behavior changed.  And clearly you do not
like it.  But ... what's the harm?
Lots of programs create a ~/.foo directory at start.


        Stefan





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

* bug#4347: Bug for .emacs.d?
  2009-09-12  4:25       ` Stefan Monnier
@ 2009-09-12  8:29         ` Angelo Graziosi
  2009-09-12 11:16         ` Juanma Barranquero
       [not found]         ` <4AAB5BD0.2010503@alice.it>
  2 siblings, 0 replies; 18+ messages in thread
From: Angelo Graziosi @ 2009-09-12  8:29 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Juanma Barranquero, 4347, Emacs

Stefan Monnier ha scritto:
> 
> There's no question that the behavior changed.  And clearly you do not
> like it.  But ... what's the harm?
> Lots of programs create a ~/.foo directory at start.

Just a question: is the creation of this empty directory (~/.emacs.d) 
the result of a design in the code for the next Emacs 23.2 or is it a 
unexpected result of that code?


Cheers,
Angelo.





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

* bug#4347: Bug for .emacs.d?
  2009-09-12  4:25       ` Stefan Monnier
  2009-09-12  8:29         ` Angelo Graziosi
@ 2009-09-12 11:16         ` Juanma Barranquero
  2009-09-12 19:38           ` Stefan Monnier
       [not found]         ` <4AAB5BD0.2010503@alice.it>
  2 siblings, 1 reply; 18+ messages in thread
From: Juanma Barranquero @ 2009-09-12 11:16 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 4347, Angelo Graziosi

On Sat, Sep 12, 2009 at 06:25, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> There's no question that the behavior changed.  And clearly you do not
> like it.  But ... what's the harm?

IMHO, the harm is that the very existence of `user-emacs-directory'
implies that the users can change it to suit their tastes. How do you
force Emacs now to create ~/.emacs.d with another name?

> Lots of programs create a ~/.foo directory at start.

And in the best of them, there's usually a way to change both .foo's
name, and where is it created.

    Juanma





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

* bug#4347: Bug for .emacs.d?
       [not found]         ` <4AAB5BD0.2010503@alice.it>
@ 2009-09-12 19:32           ` Stefan Monnier
       [not found]           ` <jwvbplgj74h.fsf-monnier+emacsbugreports@gnu.org>
  1 sibling, 0 replies; 18+ messages in thread
From: Stefan Monnier @ 2009-09-12 19:32 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Juanma Barranquero, 4347, Emacs

>> There's no question that the behavior changed.  And clearly you do not
>> like it.  But ... what's the harm?
>> Lots of programs create a ~/.foo directory at start.
> Just a question: is the creation of this empty directory (~/.emacs.d) the
> result of a design in the code for the next Emacs 23.2 or is it a unexpected
> result of that code?

It's not on-purpose, no.  It's not exactly unexpected, tho.  The issue
is pretty simple: Emacs packages often can use either ~/.<foo> (old
style) or ~/.emacs.d/<foo> (new style) files to store some customization
or state.

If neither of the two files exist, we prefer to use ~/.emacs.d/<foo>,
but at the time we make this choice, we usually don't know yet whether
the file will be written, and at the time the file is written, we
generally assume that the parent directory already exists.

So the ~/.emacs.d directory is created eagerly.

In other words, this behavior is clearly not a feature, but "fixing" it
is somewhat of a pain for very little gain.


        Stefan





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

* bug#4347: Bug for .emacs.d?
  2009-09-12 11:16         ` Juanma Barranquero
@ 2009-09-12 19:38           ` Stefan Monnier
  2009-09-12 19:42             ` Juanma Barranquero
  0 siblings, 1 reply; 18+ messages in thread
From: Stefan Monnier @ 2009-09-12 19:38 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 4347, Angelo Graziosi

>> There's no question that the behavior changed.  And clearly you do not
>> like it.  But ... what's the harm?

> IMHO, the harm is that the very existence of `user-emacs-directory'
> implies that the users can change it to suit their tastes.

If you prefer we can hardcode it in locate-user-emacs-file.  Notice that
it's not a defcustom, not a defvar with a *, not even a defvar without
a *, but a defconst.  So no, it's not meant to be changed.

> How do you force Emacs now to create ~/.emacs.d with another name?

You don't.  Just like you don't request Emacs to use another name
than ~/.emacs.  All you can do is set $HOME to use a .emacs or .emacs.d
in another directory.


        Stefan





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

* bug#4347: Bug for .emacs.d?
  2009-09-12 19:38           ` Stefan Monnier
@ 2009-09-12 19:42             ` Juanma Barranquero
  0 siblings, 0 replies; 18+ messages in thread
From: Juanma Barranquero @ 2009-09-12 19:42 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 4347, Angelo Graziosi

On Sat, Sep 12, 2009 at 21:38, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> If you prefer we can hardcode it in locate-user-emacs-file.  Notice that
> it's not a defcustom, not a defvar with a *, not even a defvar without
> a *, but a defconst.  So no, it's not meant to be changed.

Ah, my mistake. No, I prefer having `user-emacs-directory', and
perhaps making a bit more clear in its docstring that it is not meant
to be changed.

    Juanma





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

* bug#4347: Bug for .emacs.d?
       [not found]           ` <jwvbplgj74h.fsf-monnier+emacsbugreports@gnu.org>
@ 2009-09-12 21:43             ` Angelo Graziosi
       [not found]             ` <4AAC15EC.6060905@alice.it>
                               ` (2 subsequent siblings)
  3 siblings, 0 replies; 18+ messages in thread
From: Angelo Graziosi @ 2009-09-12 21:43 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Juanma Barranquero, 4347, Emacs

Stefan Monnier ha scritto:
> 
> In other words, this behavior is clearly not a feature, but "fixing" it
> is somewhat of a pain for very little gain.

Sincerely, it looks a little confusing to me. But you should do what you 
think is the best.

 > And clearly you do not like it

Indeed, I don't like things which create things without a clear reason.


Cheers,
Angelo.





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

* bug#4347: Bug for .emacs.d?
       [not found]             ` <4AAC15EC.6060905@alice.it>
@ 2009-09-13  2:31               ` Miles Bader
  0 siblings, 0 replies; 18+ messages in thread
From: Miles Bader @ 2009-09-13  2:31 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Juanma Barranquero, 4347, Emacs

Angelo Graziosi <angelo.graziosi@alice.it> writes:
> Indeed, I don't like things which create things without a clear reason.

At least it's a hidden directory though...

[unlike, for instance, the stupid "~/Desktop" etc directories, which
many GUI apps constantly recreate without]

-Miles

-- 
Alone, adj. In bad company.





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

* bug#4347: Bug for .emacs.d?
       [not found]           ` <jwvbplgj74h.fsf-monnier+emacsbugreports@gnu.org>
  2009-09-12 21:43             ` Angelo Graziosi
       [not found]             ` <4AAC15EC.6060905@alice.it>
@ 2009-09-13 13:06             ` Angelo Graziosi
       [not found]             ` <4AACEE4F.6060404@alice.it>
  3 siblings, 0 replies; 18+ messages in thread
From: Angelo Graziosi @ 2009-09-13 13:06 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Juanma Barranquero, 4347, Emacs

Stefan Monnier ha scritto:
>>> There's no question that the behavior changed.  And clearly you do not
>>> like it.  But ... what's the harm?
>>> Lots of programs create a ~/.foo directory at start.
>> Just a question: is the creation of this empty directory (~/.emacs.d) the
>> result of a design in the code for the next Emacs 23.2 or is it a unexpected
>> result of that code?
> 
> It's not on-purpose, no.  It's not exactly unexpected, tho.  The issue
> is pretty simple: Emacs packages often can use either ~/.<foo> (old
> style) or ~/.emacs.d/<foo> (new style) files to store some customization
> or state.
> 
> If neither of the two files exist, we prefer to use ~/.emacs.d/<foo>,
> but at the time we make this choice, we usually don't know yet whether
> the file will be written, and at the time the file is written, we
> generally assume that the parent directory already exists.
> 
> So the ~/.emacs.d directory is created eagerly.
> 
> In other words, this behavior is clearly not a feature, but "fixing" it
> is somewhat of a pain for very little gain.

OK. If you want to give a more deep meaning to that ~/-emacs.d 
directory, you can left that Emacs creates it, *and* move ALL 
files/directories which Emacs creates in $HOME, there!!

So, instead to have:

~/.emacs
~/.emacs.desktop
~/.emacs.desktop.lock
...

we could have:

~/.emacs.d/.emacs
~/.emacs.d/.emacs.desktop
~/.emacs.d/.emacs.desktop.lock
~/.emacs.d/mail
...

In this way we could have a more clean HOME!!!


Cheers,
Angelo.






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

* bug#4347: Bug for .emacs.d?
       [not found]             ` <4AACEE4F.6060404@alice.it>
@ 2009-09-13 13:35               ` Juanma Barranquero
       [not found]               ` <f7ccd24b0909130635g80737c1tf16ffa31f5f2da13@mail.gmail.com>
                                 ` (2 subsequent siblings)
  3 siblings, 0 replies; 18+ messages in thread
From: Juanma Barranquero @ 2009-09-13 13:35 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: 4347, Emacs

On Sun, Sep 13, 2009 at 15:06, Angelo Graziosi <angelo.graziosi@alice.it> wrote:

> OK. If you want to give a more deep meaning to that ~/-emacs.d directory,
> you can left that Emacs creates it, *and* move ALL files/directories which
> Emacs creates in $HOME, there!!

It'd be good to have more of them in ~/.emacs.d by default, but
currently you can use

> ~/.emacs.d/.emacs

~/.emacs.d/init.el instead

> ~/.emacs.d/.emacs.desktop
> ~/.emacs.d/.emacs.desktop.lock

and desktop-base-(file|lock)-name to assign these.

    Juanma





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

* bug#4347: Bug for .emacs.d?
       [not found]               ` <f7ccd24b0909130635g80737c1tf16ffa31f5f2da13@mail.gmail.com>
@ 2009-09-13 13:48                 ` Angelo Graziosi
  0 siblings, 0 replies; 18+ messages in thread
From: Angelo Graziosi @ 2009-09-13 13:48 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 4347, Emacs

Juanma Barranquero ha scritto:
> On Sun, Sep 13, 2009 at 15:06, Angelo Graziosi <angelo.graziosi@alice.it> wrote:
> 
>> OK. If you want to give a more deep meaning to that ~/-emacs.d directory,
>> you can left that Emacs creates it, *and* move ALL files/directories which
>> Emacs creates in $HOME, there!!
> 
> It'd be good to have more of them in ~/.emacs.d by default, but
> currently you can use
> 
>> ~/.emacs.d/.emacs
> 
> ~/.emacs.d/init.el instead
> 
>> ~/.emacs.d/.emacs.desktop
>> ~/.emacs.d/.emacs.desktop.lock
> 
> and desktop-base-(file|lock)-name to assign these.

Oh yes, but I was asking *by default*, of course. :-)

Cheers,
Angelo.







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

* bug#4347: Bug for .emacs.d?
       [not found]             ` <4AACEE4F.6060404@alice.it>
  2009-09-13 13:35               ` Juanma Barranquero
       [not found]               ` <f7ccd24b0909130635g80737c1tf16ffa31f5f2da13@mail.gmail.com>
@ 2009-09-13 14:04               ` Stefan Monnier
       [not found]               ` <jwvws43gd1r.fsf-monnier+emacsbugreports@gnu.org>
  3 siblings, 0 replies; 18+ messages in thread
From: Stefan Monnier @ 2009-09-13 14:04 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Juanma Barranquero, 4347, Emacs

> So, instead to have:

> ~/.emacs
> ~/.emacs.desktop
> ~/.emacs.desktop.lock
> ...

> we could have:

> ~/.emacs.d/.emacs
> ~/.emacs.d/.emacs.desktop
> ~/.emacs.d/.emacs.desktop.lock
> ~/.emacs.d/mail
> ...

> In this way we could have a more clean HOME!!!

That's the intention.  Currently the strategy is to keep using the old
name if the file already exists, and to use the new name otherwise.

The strategy is not completely consistent in how to do it, because most
files in ~/.emacs.d are files which in $HOME should be hidden, but in
~/.emacs.d they don't have any reason to be hidden any more (nor to
include "emacs" in their name), so often the file in ~/.emacs.d doesn't
have the same name as in ~.  In the case of desktop.el, OTOH you can
indeed move ~/.emacs.desktop to ~/.emacs.d.


        Stefan





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

* bug#4347: Bug for .emacs.d?
       [not found]               ` <jwvws43gd1r.fsf-monnier+emacsbugreports@gnu.org>
@ 2009-09-13 14:12                 ` Angelo Graziosi
       [not found]                 ` <4AACFDC3.7070908@alice.it>
  1 sibling, 0 replies; 18+ messages in thread
From: Angelo Graziosi @ 2009-09-13 14:12 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Juanma Barranquero, 4347, Emacs

Stefan Monnier ha scritto:
>> So, instead to have:
> 
>> ~/.emacs
>> ~/.emacs.desktop
>> ~/.emacs.desktop.lock
>> ...
> 
>> we could have:
> 
>> ~/.emacs.d/.emacs
>> ~/.emacs.d/.emacs.desktop
>> ~/.emacs.d/.emacs.desktop.lock
>> ~/.emacs.d/mail
>> ...
> 
>> In this way we could have a more clean HOME!!!
> 
> That's the intention.  Currently the strategy is to keep using the old
> name if the file already exists, and to use the new name otherwise.
> 
> The strategy is not completely consistent in how to do it, because most
> files in ~/.emacs.d are files which in $HOME should be hidden, but in
> ~/.emacs.d they don't have any reason to be hidden any more (nor to
> include "emacs" in their name), so often the file in ~/.emacs.d doesn't
> have the same name as in ~.  In the case of desktop.el, OTOH you can
> indeed move ~/.emacs.desktop to ~/.emacs.d.

Obviously one can have:

~/.emacs.d/init                  (instead of .emacs)
~/.emacs.d/desktop               (instead of .emacs.desktop)
~/.emacs.d/desktop.lock          (instead of .emacs.desktop.lock)
~/.emacs.d/mail

and so on.

When will all the above be implemented?


Cheers,
Angelo.





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

* bug#4347: Bug for .emacs.d?
       [not found]                 ` <4AACFDC3.7070908@alice.it>
@ 2009-09-13 17:41                   ` Juanma Barranquero
  0 siblings, 0 replies; 18+ messages in thread
From: Juanma Barranquero @ 2009-09-13 17:41 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: 4347, Emacs

On Sun, Sep 13, 2009 at 16:12, Angelo Graziosi <angelo.graziosi@alice.it> wrote:

> Obviously one can have:
>
> ~/.emacs.d/init                  (instead of .emacs)
> ~/.emacs.d/desktop               (instead of .emacs.desktop)
> ~/.emacs.d/desktop.lock          (instead of .emacs.desktop.lock)
> ~/.emacs.d/mail
>
> and so on.
>
> When will all the above be implemented?

~/.emacs.d/init.el is already implemented; just move and rename your .emacs.

As for .emacs.desktop and .emacs.deskop.lock, they are not necessarily
found only on $HOME; you can have desktop files in every project's
directory, for example. So it does not make much sense to force them
to ~/.emacs.d/desktop; and if you do want them there, you already have
the means to make it so.

    Juanma





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

end of thread, other threads:[~2009-09-13 17:41 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4AA1B07E.3080703@alice.it>
2009-09-05  2:12 ` bug#4347: Bug for .emacs.d? Juanma Barranquero
2009-09-11 20:23   ` Stefan Monnier
2009-09-11 20:34     ` Juanma Barranquero
2009-09-11 21:21     ` Angelo Graziosi
2009-09-12  4:25       ` Stefan Monnier
2009-09-12  8:29         ` Angelo Graziosi
2009-09-12 11:16         ` Juanma Barranquero
2009-09-12 19:38           ` Stefan Monnier
2009-09-12 19:42             ` Juanma Barranquero
     [not found]         ` <4AAB5BD0.2010503@alice.it>
2009-09-12 19:32           ` Stefan Monnier
     [not found]           ` <jwvbplgj74h.fsf-monnier+emacsbugreports@gnu.org>
2009-09-12 21:43             ` Angelo Graziosi
     [not found]             ` <4AAC15EC.6060905@alice.it>
2009-09-13  2:31               ` Miles Bader
2009-09-13 13:06             ` Angelo Graziosi
     [not found]             ` <4AACEE4F.6060404@alice.it>
2009-09-13 13:35               ` Juanma Barranquero
     [not found]               ` <f7ccd24b0909130635g80737c1tf16ffa31f5f2da13@mail.gmail.com>
2009-09-13 13:48                 ` Angelo Graziosi
2009-09-13 14:04               ` Stefan Monnier
     [not found]               ` <jwvws43gd1r.fsf-monnier+emacsbugreports@gnu.org>
2009-09-13 14:12                 ` Angelo Graziosi
     [not found]                 ` <4AACFDC3.7070908@alice.it>
2009-09-13 17:41                   ` Juanma Barranquero

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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