From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.bugs Subject: bug#4347: Bug for .emacs.d? Date: Sun, 13 Sep 2009 15:06:23 +0200 Message-ID: <4AACEE4F.6060404__18930.7731962346$1252848442$gmane$org@alice.it> References: <4AA1B07E.3080703@alice.it> <4AAABF56.40802@alice.it> <4AAB5BD0.2010503@alice.it> Reply-To: Angelo Graziosi , 4347@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252848442 24442 80.91.229.12 (13 Sep 2009 13:27:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Sep 2009 13:27:22 +0000 (UTC) Cc: Juanma Barranquero , 4347@emacsbugs.donarmstrong.com, Emacs To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 13 15:27:14 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mmp6n-000894-Do for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Sep 2009 15:27:13 +0200 Original-Received: from localhost ([127.0.0.1]:54583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mmp6m-0007sE-RH for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Sep 2009 09:27:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mmp6j-0007s9-2S for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 09:27:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mmp6c-0007nV-SC for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 09:27:07 -0400 Original-Received: from [199.232.76.173] (port=37756 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mmp6c-0007nS-Pv for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 09:27:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34936) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mmp6c-0005E0-Bl for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 09:27:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8DDQxXh019055; Sun, 13 Sep 2009 06:27:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8DDF4GL016790; Sun, 13 Sep 2009 06:15:04 -0700 Resent-Date: Sun, 13 Sep 2009 06:15:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Angelo Graziosi Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 13 Sep 2009 13:15:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4347 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4347-submit@emacsbugs.donarmstrong.com id=B4347.125284720915515 (code B ref 4347); Sun, 13 Sep 2009 13:15:03 +0000 Original-Received: (at 4347) by emacsbugs.donarmstrong.com; 13 Sep 2009 13:06:49 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from smtp-out113.alice.it (smtp-out113.alice.it [85.37.17.113]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8DD6kiG015509 for <4347@emacsbugs.donarmstrong.com>; Sun, 13 Sep 2009 06:06:48 -0700 Original-Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out113.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Sun, 13 Sep 2009 15:06:40 +0200 Original-Received: from FBCMCL01B06.fbc.local ([192.168.69.87]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Sun, 13 Sep 2009 15:06:40 +0200 Original-Received: from [87.1.239.12] ([87.1.239.12]) by FBCMCL01B06.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Sun, 13 Sep 2009 15:06:24 +0200 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: X-OriginalArrivalTime: 13 Sep 2009 13:06:24.0572 (UTC) FILETIME=[FF2FCFC0:01CA3472] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 13 Sep 2009 09:27:07 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31033 Archived-At: 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 ~/. (old > style) or ~/.emacs.d/ (new style) files to store some customization > or state. > > If neither of the two files exist, we prefer to use ~/.emacs.d/, > 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.