From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.bugs Subject: bug#13242: 24.2.91; dired-goto-file: read-file-name with nil MUSTMATCH Date: Thu, 20 Dec 2012 18:08:58 +0100 Message-ID: <87zk18lkgl.fsf@bzg.ath.cx> References: <871ueku08c@ch.ristopher.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1356023404 16963 80.91.229.3 (20 Dec 2012 17:10:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Dec 2012 17:10:04 +0000 (UTC) To: 13242@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 20 18:10:19 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TljdR-000745-Vk for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2012 18:10:18 +0100 Original-Received: from localhost ([::1]:52806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TljdE-0006Ab-2x for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2012 12:10:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tljd5-00064u-CS for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 12:10:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tljd3-0006y3-VH for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 12:09:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tljd3-0006xz-RZ for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 12:09:53 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TljdC-0003Xp-EQ for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 12:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bastien Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Dec 2012 17:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13242 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135602335813541 (code B ref -1); Thu, 20 Dec 2012 17:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Dec 2012 17:09:18 +0000 Original-Received: from localhost ([127.0.0.1]:52872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TljcU-0003WL-8H for submit@debbugs.gnu.org; Thu, 20 Dec 2012 12:09:18 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36542) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TljcQ-0003WC-RZ for submit@debbugs.gnu.org; Thu, 20 Dec 2012 12:09:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TljcG-0006Yo-Hm for submit@debbugs.gnu.org; Thu, 20 Dec 2012 12:09:06 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:32966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TljcG-0006Yk-EK for submit@debbugs.gnu.org; Thu, 20 Dec 2012 12:09:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TljcE-0005UK-7l for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 12:09:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TljcD-0006Ya-5Y for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 12:09:02 -0500 Original-Received: from mail-wg0-f43.google.com ([74.125.82.43]:57446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TljcC-0006YW-Tk for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2012 12:09:01 -0500 Original-Received: by mail-wg0-f43.google.com with SMTP id e12so1670654wge.22 for ; Thu, 20 Dec 2012 09:09:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:in-reply-to:references:user-agent :date:message-id:mime-version:content-type; bh=nv/8ZNFvEjAfYZ8M0ChEV0tb6ztBfDhtaCjSucfx0g4=; b=dfMQSzLbCbCqpgZf24ip/6ImvF9M0Hc9sSgy0CLfZfMXsql8dhNm5s1B3SfyNAmFjf fBc7lTXEajSZEnLMwKJX+4p3Lym0HACFVgklvg3fHVHC0BPV6LgLzINZcO7ZXCbvZqty UElvNpSN1baK3Q7oGKLO9nqM9cATH5VR/naOEhtgbLFztjD8Nvu5XVSC53547a2UJyTJ smcKZSlvjB7znQ+93umLEivxZPEWRQAz5djhSOqeVf4l1GIrvwTb69rzjFsqRpRK1A/w 9bEiVIooZ09OOJjMeb+iMR581tidcPQi5PCG/xgmaBZPvNgtuoURT5+yM6vjuO6K6hLN be5Q== X-Received: by 10.194.76.237 with SMTP id n13mr18764400wjw.57.1356023340112; Thu, 20 Dec 2012 09:09:00 -0800 (PST) Original-Received: from bzg.localdomain (62-193-54-78.stella-net.net. [62.193.54.78]) by mx.google.com with ESMTPS id s10sm13997900wiw.4.2012.12.20.09.08.59 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Dec 2012 09:08:59 -0800 (PST) Original-Received: by bzg.localdomain (Postfix, from userid 1000) id 725F01C20D20; Thu, 20 Dec 2012 18:08:58 +0100 (CET) In-Reply-To: <871ueku08c@ch.ristopher.com> (Christopher Schmidt's message of "Thu, 20 Dec 2012 17:01:14 +0000 (GMT)") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68799 Archived-At: --=-=-= Content-Type: text/plain Christopher Schmidt writes: > The interactive form of dired-goto-file reads a file name using > read-file-name. Arg MUSMATCH of this call is nil, though. This does > not make sense to me. I think this arg should be t. Agreed. This trivial patch does this. This is not really a bug to me, so I'm not sure if this should go to emacs-24 or to trunk. I'll let another maintainer decide on this. Thanks, --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=dired.el.patch === modified file 'lisp/dired.el' --- lisp/dired.el 2012-11-23 07:59:43 +0000 +++ lisp/dired.el 2012-12-20 17:07:30 +0000 @@ -2623,7 +2623,7 @@ (prog1 ; let push-mark display its message (list (expand-file-name (read-file-name "Goto file: " - (dired-current-directory)))) + (dired-current-directory) nil t))) (push-mark))) (unless (file-name-absolute-p file) (error "File name `%s' is not absolute" file)) --=-=-= Content-Type: text/plain -- Bastien --=-=-=--