From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lachlan Deck Newsgroups: gmane.emacs.help Subject: emacs 24 read-file-name bug? Date: Sat, 19 Nov 2011 07:45:29 +1100 Message-ID: <05E3C92C-8693-4D7F-84CB-F09ACD6773D6@gmail.com> 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 1321649146 28941 80.91.229.12 (18 Nov 2011 20:45:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Nov 2011 20:45:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 18 21:45:43 2011 Return-path: Envelope-to: geh-help-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 1RRVJe-00089M-Qu for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Nov 2011 21:45:42 +0100 Original-Received: from localhost ([::1]:41654 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRVJe-0007nK-Eh for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Nov 2011 15:45:42 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:34890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRVJa-0007n4-Em for help-gnu-emacs@gnu.org; Fri, 18 Nov 2011 15:45:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RRVJZ-0003Ok-5C for help-gnu-emacs@gnu.org; Fri, 18 Nov 2011 15:45:38 -0500 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:56901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRVJZ-0003Of-1W for help-gnu-emacs@gnu.org; Fri, 18 Nov 2011 15:45:37 -0500 Original-Received: by vcbfo1 with SMTP id fo1so3154143vcb.0 for ; Fri, 18 Nov 2011 12:45:35 -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=bsSTHvolyA5To4yPTdPs223fzuMIdKUvSrTL+aPrB+g=; b=bONnXQIEjL/wwTw+tpQMZlGT38v6XkV6+ZKrMX1WIrSWyG/8psE2wVX4ZfYjlfArBp sZpVXoZu6i6XHFCCiMLKZPI1MO/6LIHStvIyVHPnVdZhBiPHZZ800LIEl4RVvTVy5Lm+ unTSbyIHf/vjxHte2hrVrOvWhf+3SEnl3vISk= Original-Received: by 10.52.98.129 with SMTP id ei1mr5160529vdb.50.1321649135504; Fri, 18 Nov 2011 12:45:35 -0800 (PST) Original-Received: from [192.168.1.103] (40.79.233.220.static.exetel.com.au. [220.233.79.40]) by mx.google.com with ESMTPS id ka10sm2406445vdb.4.2011.11.18.12.45.33 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Nov 2011 12:45:34 -0800 (PST) X-Mailer: Apple Mail (2.1251.1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82960 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, you 'guess' is = printed. Is this a known bug? (let* ((default-directory "~/path/to/project/") (guess (concat default-directory ".ensime")) (file (read-file-name "Foo: " (file-name-directory guess) guess nil (file-name-nondirectory guess) ))) =20 (message file)) cheers, Lachlan Deck lachlan.deck@gmail.com