From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?Q?Arturo_Garc=EDa_Ares?= Newsgroups: gmane.emacs.bugs Subject: Re: Emacs Improvement Date: Sat, 10 Jan 2004 01:43:09 +0100 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040110004309.GA593@pikatoste.homeip.net> References: <87u136s81m.fsf@ulm.my.lan> <87zncxtgvo.fsf@era.iki.fi> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073698588 777 80.91.224.253 (10 Jan 2004 01:36:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2004 01:36:28 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 10 02:36:23 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Af834-00032X-00 for ; Sat, 10 Jan 2004 02:36:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Af8w3-0006kJ-LX for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Jan 2004 21:33:11 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Af8La-00078K-M1 for bug-gnu-emacs@gnu.org; Fri, 09 Jan 2004 20:55:30 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Af8BB-0005HS-F8 for bug-gnu-emacs@gnu.org; Fri, 09 Jan 2004 20:45:16 -0500 Original-Received: from [81.36.29.178] (helo=cuervo.local) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Af8B9-0005Gs-B7 for bug-gnu-emacs@gnu.org; Fri, 09 Jan 2004 20:44:43 -0500 Original-Received: from arturo by cuervo.local with local (Exim 3.35 #1 (Debian)) id 1Af7DZ-0002bd-00 for ; Sat, 10 Jan 2004 01:43:09 +0100 Original-To: bug-gnu-emacs@gnu.org Mail-Followup-To: bug-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87zncxtgvo.fsf@era.iki.fi> User-Agent: Mutt/1.3.28i X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6518 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6518 On Fri, Jan 09, 2004 at 03:04:17PM +0200, era@iki.fi wrote: > Or maybe he just wants whatever file(s) he specified on the command > line to also be added to the minibuffer history. I don't see a good > reason for that, but it shouldn't be hard to do. (It's not a very > intuitive thing to do so it should probably not be made the default, > and probably not even a feature shipped with Emacs, but somebody could > easily hook up a snippet to put in your .emacs.) This is such a snippet: (add-hook 'find-file-hooks (lambda () (add-to-list 'file-name-history (abbreviate-file-name (buffer-file-name)))))