From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.devel Subject: Re: Saving minibuffer history Date: 24 Oct 2005 18:02:17 +0200 Message-ID: <87d5lunbsm.fsf@xemacs.org> References: <87u0fkfc8c.fsf@xemacs.org> <873bn2s9cz.fsf@xemacs.org> <87zmp9sd0o.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130170048 18536 80.91.229.2 (24 Oct 2005 16:07:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2005 16:07:28 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 24 18:07:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EU4nH-0005hK-RM for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2005 18:03:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EU4nH-0003Yf-D8 for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2005 12:03:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EU4mK-0003IY-IH for emacs-devel@gnu.org; Mon, 24 Oct 2005 12:02:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EU4mI-0003Hn-Bj for emacs-devel@gnu.org; Mon, 24 Oct 2005 12:02:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EU4mI-0003Hg-1h for emacs-devel@gnu.org; Mon, 24 Oct 2005 12:02:26 -0400 Original-Received: from [195.29.150.97] (helo=ls405.htnet.hr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EU4mH-0002xk-Gd for emacs-devel@gnu.org; Mon, 24 Oct 2005 12:02:25 -0400 Original-Received: from ls401.t-com.hr (ls401.t-com.hr [195.29.150.236]) by ls405.htnet.hr (0.0.0/8.12.10) with ESMTP id j9OG2OWj001761; Mon, 24 Oct 2005 18:02:24 +0200 Original-Received: from ls401.t-com.hr (localhost.localdomain [127.0.0.1]) by ls401.t-com.hr (Qmlai) with ESMTP id DEB8370003; Mon, 24 Oct 2005 18:02:23 +0200 (CEST) X-Envelope-Sender: hniksic@xemacs.org X-Envelope-Sender: hniksic@xemacs.org Original-Received: from localhost.localdomain (83-131-79-201.adsl.net.t-com.hr [83.131.79.201]) by ls401.t-com.hr (Qmlai) with ESMTP id F13D3A802B; Mon, 24 Oct 2005 18:02:17 +0200 (CEST) Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 9AEAB380404; Mon, 24 Oct 2005 18:02:17 +0200 (CEST) Original-To: Stefan Monnier In-Reply-To: <87zmp9sd0o.fsf-monnier+emacs@gnu.org> Original-Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 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:44732 Archived-At: I've now applied your changes to my version. http://fly.srk.fer.hr/~hniksic/emacs/savehist.el To summarize: * Minibuffer histories are now picked up the way you suggested. That way we no longer need the minibuffer history taxonomy -- individual histories get picked up automatically as they are used. Thanks! * The user can now separately choose whether to save minibuffer histories and/or specify additional variables he wants to save. * Runtime dependency on CL is removed -- at the unfortunate cost of clarity. Please reconsider allowing the use of CL extensions in Emacs. * The copyright information is now as in your version. These changes should make it possible for you to simply use my version unchanged. I also recommend that you mention in the NEWS file how the feature is supposed to be used. It can be as simple as: To use this feature, put (savehist-load) in your `.emacs' file.