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: Use .emacs.d in savehist.el Date: Tue, 25 Oct 2005 10:51:38 -0400 Message-ID: References: <87u0f69ae6.fsf-monnier+emacs@gnu.org> <87ek6a7xlr.fsf@xemacs.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130255743 25499 80.91.229.2 (25 Oct 2005 15:55:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2005 15:55:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 25 17:55:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EUR3L-0000OV-LO for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2005 17:49:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUR3L-0005KI-4D for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2005 11:49:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EUQ9U-0004XV-Dk for emacs-devel@gnu.org; Tue, 25 Oct 2005 10:51:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EUQ9S-0004Wm-DF for emacs-devel@gnu.org; Tue, 25 Oct 2005 10:51:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUQ9P-0004WO-A6 for emacs-devel@gnu.org; Tue, 25 Oct 2005 10:51:44 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EUQ9P-0004fx-If for emacs-devel@gnu.org; Tue, 25 Oct 2005 10:51:43 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id D70F52CF62B; Tue, 25 Oct 2005 10:51:42 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id A0AE94AC00A; Tue, 25 Oct 2005 10:51:38 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 9E2A7E6BD4; Tue, 25 Oct 2005 10:51:38 -0400 (EDT) Original-To: Hrvoje Niksic In-Reply-To: <87ek6a7xlr.fsf@xemacs.org> (Hrvoje Niksic's message of "Tue, 25 Oct 2005 11:30:08 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.851, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:44823 Archived-At: >> Any objection to the patch below? > Ideally I was aiming to have both emacsen share their minibuffer > histories, but I'm not sure if that's realistic. Yes, that's the only objection I could imagine myself. I'm not sure what to think of it. OT1H it makes sense to try and share the history, but OTOH there's a pretty clear risk that it won't work right. To be on the safe side, I think it's best to keep them separate (and I think the fact that XEmacs now uses ~/.emacs/init.el in preference to ~/.emacs indicates that the XEmacs maintainers have followed a similar reasoning). For the few users who actively use both Emacs and XEmacs and who care about sharing their histories, I'd say: customize the savehist-file variable. > I suppose the patch is OK, except you might want to use ~/.xemacs under > XEmacs. Thanks, I wasn't quite sure which dir to use for XEmacs and I figured you'd know better ;-) Stefan