From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Use .emacs.d in savehist.el Date: Sat, 29 Oct 2005 01:12:38 -0400 Message-ID: References: <87u0f69ae6.fsf-monnier+emacs@gnu.org> <87oe5e977f.fsf@mahaena.lrde> <87oe5dapcz.fsf@mahaena.lrde> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1130562823 8916 80.91.229.2 (29 Oct 2005 05:13:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2005 05:13:43 +0000 (UTC) Cc: ihs_4664@yahoo.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 29 07:13:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EVj1R-0003FA-Q3 for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2005 07:12:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVj1Q-0002ut-N5 for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2005 01:12:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EVj1D-0002un-Qk for emacs-devel@gnu.org; Sat, 29 Oct 2005 01:12:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EVj1D-0002ub-D6 for emacs-devel@gnu.org; Sat, 29 Oct 2005 01:12:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVj1D-0002uY-A4 for emacs-devel@gnu.org; Sat, 29 Oct 2005 01:12:39 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EVj1D-0006jB-9j for emacs-devel@gnu.org; Sat, 29 Oct 2005 01:12:39 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EVj1C-00005U-Ok; Sat, 29 Oct 2005 01:12:38 -0400 Original-To: snogglethorpe@gmail.com, miles@gnu.org In-reply-to: (message from Miles Bader on Sat, 29 Oct 2005 05:16:51 +0900) 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:45065 Archived-At: Though perhaps a standard function to do such name munging would be a nice idea, e.g.: (user-customization-file-name BASE &optional DOTFILE) if .emacs.d doesn't exist => (concat "~/" (or DOTFILE (concat "." BASE))) if .emacs.d does eixst => (concat "~/.emacs.d/" BASE) Then the savehist example would be (user-customization-file-name "savehist"), and .emacs would be (user-customization-file-name "init.el" ".emacs") That does sound convenient. Would you like to do it?