From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lachlan Deck Newsgroups: gmane.emacs.bugs Subject: bug#10102: emacs 24 read-file-name bug? Date: Tue, 22 Nov 2011 14:59:11 +1100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1321935056 15779 80.91.229.12 (22 Nov 2011 04:10:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Nov 2011 04:10:56 +0000 (UTC) To: 10102@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 22 05:10:52 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RShh4-0007Ic-RR for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Nov 2011 05:10:51 +0100 Original-Received: from localhost ([::1]:37327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RShh4-0006fI-3q for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Nov 2011 23:10:50 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:40095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RShh0-0006ey-J7 for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 23:10:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RShgz-0001j5-Ju for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 23:10:46 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RShgz-0001j1-Fa for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 23:10:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RShiE-0004Q5-Dd for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 23:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lachlan Deck Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Nov 2011 04:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10102 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.132193512016979 (code B ref -1); Tue, 22 Nov 2011 04:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Nov 2011 04:12:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RShiC-0004Po-4S for submit@debbugs.gnu.org; Mon, 21 Nov 2011 23:12:00 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RShXG-0004Ab-EM for submit@debbugs.gnu.org; Mon, 21 Nov 2011 23:00:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RShW0-0000HD-Gt for submit@debbugs.gnu.org; Mon, 21 Nov 2011 22:59:25 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:35615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RShW0-0000H9-FR for submit@debbugs.gnu.org; Mon, 21 Nov 2011 22:59:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:38838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RShVz-0005cK-Hf for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 22:59:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RShVy-0000Gj-Lu for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 22:59:23 -0500 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:59171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RShVy-0000GS-IM for bug-gnu-emacs@gnu.org; Mon, 21 Nov 2011 22:59:22 -0500 Original-Received: by yenm12 with SMTP id m12so1957215yen.0 for ; Mon, 21 Nov 2011 19:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=7zUP6TY4qwuQcXFOjvrURT6mkywnyRwjajMWybt7rFk=; b=Gs6Y+nmz6XCvzVp1yX1PHREoCJ30WsY0dSnM6J69qx8TLL4GePpny0JHCaE6yv9+Wy LEQ3ikCZfstZG35WpWHybPhugXbaUVQqD2GSKr0s4IpJ/5xC6fy/85pH+xufl8mbDUlD Fw3PkEoKCrX5jA1LTF7i0RdXdJYzorGODqVuI= Original-Received: by 10.236.129.244 with SMTP id h80mr24112032yhi.130.1321934360640; Mon, 21 Nov 2011 19:59:20 -0800 (PST) Original-Received: from [192.168.1.142] (203-217-22-6.perm.iinet.net.au. [203.217.22.6]) by mx.google.com with ESMTPS id h28sm35449991ani.17.2011.11.21.19.59.16 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Nov 2011 19:59:19 -0800 (PST) X-Mailer: Apple Mail (2.1251.1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 21 Nov 2011 23:11:58 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 21 Nov 2011 23:12:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:54150 Archived-At: Hi there, In emacs 24 the following 'message' produces the empty string if you = just hit enter at the mini-buffer prompt. In emacs 23, the 'guess' = variable is printed as expected. Is this a known bug? (let* ((default-directory "~/path/to/project/") (guess (concat default-directory ".foo")) (file (read-file-name "Foo: " (file-name-directory guess) guess nil (file-name-nondirectory guess) ))) (message file)) Lachlan Deck lachlan.deck@gmail.com