From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4347: Bug for .emacs.d? Date: Sat, 12 Sep 2009 15:32:31 -0400 Message-ID: References: <4AA1B07E.3080703@alice.it> <4AAABF56.40802@alice.it> <4AAB5BD0.2010503@alice.it> Reply-To: Stefan Monnier , 4347@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252784845 26628 80.91.229.12 (12 Sep 2009 19:47:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Sep 2009 19:47:25 +0000 (UTC) Cc: Juanma Barranquero , 4347@emacsbugs.donarmstrong.com, Emacs To: Angelo Graziosi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 12 21:47:17 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 1MmYZ0-0000m4-Us for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 21:47:16 +0200 Original-Received: from localhost ([127.0.0.1]:55463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmYZ0-0007v4-9m for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 15:47:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmYYu-0007rI-Cp for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 15:47:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmYYp-0007gJ-Jf for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 15:47:07 -0400 Original-Received: from [199.232.76.173] (port=35400 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmYYp-0007fx-8g for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 15:47:03 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45539) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MmYYo-0008G2-DN for bug-gnu-emacs@gnu.org; Sat, 12 Sep 2009 15:47: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 n8CJkxDI012887; Sat, 12 Sep 2009 12:47:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8CJe46M011769; Sat, 12 Sep 2009 12:40:04 -0700 Resent-Date: Sat, 12 Sep 2009 12:40:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 12 Sep 2009 19:40:04 +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.125278396011015 (code B ref 4347); Sat, 12 Sep 2009 19:40:04 +0000 Original-Received: (at 4347) by emacsbugs.donarmstrong.com; 12 Sep 2009 19:32:40 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.pppoe.ca (ironport2-out.pppoe.ca [206.248.154.183] (may be forged)) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8CJWctA011012 for <4347@emacsbugs.donarmstrong.com>; Sat, 12 Sep 2009 12:32:39 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuAEAIaUq0pFpZBe/2dsb2JhbACBU9gPhBgFh3Q X-IronPort-AV: E=Sophos;i="4.44,376,1249272000"; d="scan'208";a="45608248" Original-Received: from 69-165-144-94.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.94]) by ironport2-out.pppoe.ca with ESMTP; 12 Sep 2009 15:30:57 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D5F0A83FD; Sat, 12 Sep 2009 15:32:31 -0400 (EDT) In-Reply-To: <4AAB5BD0.2010503@alice.it> (Angelo Graziosi's message of "Sat, 12 Sep 2009 10:29:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 12 Sep 2009 15:47: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:31019 Archived-At: >> 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. Stefan