From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4657: marked as done (23.1.50; duplicate entries in file-name-history from read-file-name) Date: Sun, 18 Oct 2009 22:35:04 +0000 Message-ID: References: <871vl05oet.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1255905304-4310-0" X-Trace: ger.gmane.org 1255906084 18923 80.91.229.12 (18 Oct 2009 22:48:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Oct 2009 22:48:04 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 19 00:47:55 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MzeXY-0007to-DV for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2009 00:47:52 +0200 Original-Received: from localhost ([127.0.0.1]:54765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzeXX-0006VX-UN for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Oct 2009 18:47:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MzeX2-0006Bn-Ls for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 18:47:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MzeWx-00068b-IF for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 18:47:20 -0400 Original-Received: from [199.232.76.173] (port=35433 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzeWx-00068F-Bp for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 18:47:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46980) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MzeWw-0002MA-Gb for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 18:47:14 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9IMlCKh006817; Sun, 18 Oct 2009 15:47:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9IMZ5U8004367; Sun, 18 Oct 2009 15:35:05 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4657 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32077 Archived-At: This is a multi-part message in MIME format... ------------=_1255905304-4310-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 18 Oct 2009 18:26:50 -0400 with message-id <871vl05oet.fsf@stupidchicken.com> and subject line Re: 23.1.50; duplicate entries in file-name-history from r= ead-file-name has caused the Emacs bug report #4657, regarding 23.1.50; duplicate entries in file-name-history from read-file-na= me to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4657: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4657 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1255905304-4310-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 6 Oct 2009 22:28:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n96MSHrx025451 for ; Tue, 6 Oct 2009 15:28:19 -0700 Received: from mx10.gnu.org ([199.232.76.166]:51130) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MvIW0-0003X8-Ru for emacs-pretest-bug@gnu.org; Tue, 06 Oct 2009 18:28:16 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MvIVy-0003B2-Kk for emacs-pretest-bug@gnu.org; Tue, 06 Oct 2009 18:28:16 -0400 Received: from tfkpsv.physik.uni-erlangen.de ([131.188.164.197]:2843) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvIVy-0002Rh-4V for emacs-pretest-bug@gnu.org; Tue, 06 Oct 2009 18:28:14 -0400 Received: from tfkp07.physik.uni-erlangen.de (tfkp07.physik.uni-erlangen.de [131.188.164.207]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id A10E78438F for ; Wed, 7 Oct 2009 00:26:40 +0200 (CEST) Date: Wed, 07 Oct 2009 00:26:39 +0200 Message-Id: From: "Roland Winkler" To: emacs-pretest-bug@gnu.org Subject: 23.1.50; duplicate entries in file-name-history from read-file-name X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 In a fresh emacs -q load and execute the command foo in order to read the file name ~/foo/bar (defun foo () (interactive) (read-file-name "File: (default ~/foo/bar) " "~/foo/" "~/foo/bar") (message "%s" file-name-history)) If I explicitly enter ~/foo/bar in the minibuffer, multiple executions of this command add this file to file-name-history only once. If I am lazy and just use the default value, each execution will add one more entry ~/foo/bar to file-name-history. I would expect that multiple equal entries in succession should always be avoided in file-name-history. In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-08-03 on foo Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: en_GB.utf8 value of $LANG: en_US.ISO-8859-15 value of $XMODIFIERS: nil locale-coding-system: iso-latin-9-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction ------------=_1255905304-4310-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4657-done) by emacsbugs.donarmstrong.com; 18 Oct 2009 22:26:59 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po39.its.yale.edu (pantheon-po39.its.yale.edu [130.132.50.100]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9IMQvSL003565 for <4657-done@emacsbugs.donarmstrong.com>; Sun, 18 Oct 2009 15:26:58 -0700 Received: from furry (adsl-99-69-49-186.dsl.wlfrct.sbcglobal.net [99.69.49.186]) (authenticated bits=0) by pantheon-po39.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9IMQpol017813 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 18 Oct 2009 18:26:52 -0400 Received: by furry (Postfix, from userid 1000) id 71B06C070; Sun, 18 Oct 2009 18:26:50 -0400 (EDT) From: Chong Yidong To: "Roland Winkler" Cc: 4657-done@emacsbugs.donarmstrong.com Subject: Re: 23.1.50; duplicate entries in file-name-history from read-file-name Date: Sun, 18 Oct 2009 18:26:50 -0400 Message-ID: <871vl05oet.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > (defun foo () > (interactive) > (read-file-name "File: (default ~/foo/bar) " "~/foo/" "~/foo/bar") > (message "%s" file-name-history)) > If I explicitly enter ~/foo/bar in the minibuffer, multiple > executions of this command add this file to file-name-history only > once. If I am lazy and just use the default value, each execution > will add one more entry ~/foo/bar to file-name-history. I would > expect that multiple equal entries in succession should always be > avoided in file-name-history. I've checked in a fix. ------------=_1255905304-4310-0--