From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#47247: 28.0.50; read-file-name: should display slash correctly in the prompt Date: Sat, 20 Mar 2021 09:39:06 +0300 Message-ID: References: <86mtv0xr84.fsf@protected.rcdrun.com> <83k0q4ffv5.fsf@gnu.org> <87eegbbmcd.fsf@gmx.de> <87zgyzmt8z.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40512"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.6 (2021-03-06) Cc: Michael Albinus , 47247@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 20 07:43:21 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNVKS-000ATo-WE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Mar 2021 07:43:21 +0100 Original-Received: from localhost ([::1]:58644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNVKS-00076c-1A for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Mar 2021 02:43:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNVKD-00076O-3R for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2021 02:43:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lNVKA-00035w-AX for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2021 02:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lNVKA-0006oE-6f for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2021 02:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Mar 2021 06:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47247 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 47247-submit@debbugs.gnu.org id=B47247.161622256926155 (code B ref 47247); Sat, 20 Mar 2021 06:43:02 +0000 Original-Received: (at 47247) by debbugs.gnu.org; 20 Mar 2021 06:42:49 +0000 Original-Received: from localhost ([127.0.0.1]:51389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNVJx-0006nn-0O for submit@debbugs.gnu.org; Sat, 20 Mar 2021 02:42:49 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:44845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNVJt-0006nZ-Uq for 47247@debbugs.gnu.org; Sat, 20 Mar 2021 02:42:47 -0400 Original-Received: from localhost ([::ffff:41.202.241.53]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000027F3B.000000006055995F.00002E5A; Fri, 19 Mar 2021 23:42:38 -0700 Content-Disposition: inline In-Reply-To: <87zgyzmt8z.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202720 Archived-At: * Lars Ingebrigtsen [2021-03-19 11:40]: > Michael Albinus writes: > > > Likely, it's not sufficient: > > > > (expand-file-name "~") => "/home/albinus" > > > > Better, run it through file-name-as-directory. > > Yup. In any case, there doesn't seem to be a bug here, so I'm closing > this bug report. Thank you, I will then use this, it works better. (read-file-name "File name for export: " (file-name-as-directory (getenv "HOME")) nil nil (concat "Location-Set-ID-" id ".gpx")