From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Files that begin with a period Date: Sun, 19 Oct 2008 16:04:32 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224497756 31035 80.91.229.12 (20 Oct 2008 10:15:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2008 10:15:56 +0000 (UTC) Cc: emacs-devel@gnu.org, dominik@science.uva.nl To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 20 12:17:00 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KreaT-000070-7J for ged-emacs-devel@m.gmane.org; Sun, 19 Oct 2008 22:09:17 +0200 Original-Received: from localhost ([127.0.0.1]:59583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KreZN-0004Nq-Nj for ged-emacs-devel@m.gmane.org; Sun, 19 Oct 2008 16:08:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KreWB-0003iw-33 for emacs-devel@gnu.org; Sun, 19 Oct 2008 16:04:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KreW6-0003gz-EL for emacs-devel@gnu.org; Sun, 19 Oct 2008 16:04:50 -0400 Original-Received: from [199.232.76.173] (port=33330 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KreW6-0003gt-CW for emacs-devel@gnu.org; Sun, 19 Oct 2008 16:04:46 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:51350 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KreW0-0002ir-RR; Sun, 19 Oct 2008 16:04:41 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsgEABEw+0hFxLrB/2dsb2JhbACBcr1tg2yBCg X-IronPort-AV: E=Sophos;i="4.33,447,1220241600"; d="scan'208";a="28581786" Original-Received: from 69-196-186-193.dsl.teksavvy.com (HELO ceviche.home) ([69.196.186.193]) by ironport2-out.teksavvy.com with ESMTP; 19 Oct 2008 16:04:38 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id BFC4CB4144; Sun, 19 Oct 2008 16:04:32 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Sun, 19 Oct 2008 15:39:38 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104647 Archived-At: >> > I installed today in several Lisp files, including in the `lisp/org' >> > directory, changes that run file names which supply values to >> > defcustom's through `convert-standard-filename'. This is for when >> > Emacs runs on 8+3 (a.k.a. DOS) filesystems that do not allow file >> > names with a leading period. (On modern filesystems, >> > `convert-standard-filename' leaves the file name intact.) >> >> It would probably be good to try and use user-emacs-directory for those >> file names. > Sorry, I don't understand what would that solve. I'm talking about > defcustom's such as this one: > (defcustom org-id-locations-file > (convert-standard-filename "~/.org-id-locations") > "The file for remembering the last ID number generated." > :group 'org-id > :type 'file) > (Originally, the call to convert-standard-filename wasn't there.) > The file in question is in the user's home directory, but the problem > is not the directory, it's the name of the file itself. > What am I missing? Nothing: I agree 100% with your change and just reminded that it would additionally be good to try and use user-emacs-directory (i.e. move those files into ~/.emacs.d). Stefan