GNU bug report logs - #47247
28.0.50; read-file-name: should display slash correctly in the prompt

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Thu, 18 Mar 2021 18:20:02 UTC

Severity: minor

Tags: notabug

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #21 received at 47247 <at> debbugs.gnu.org (full text, mbox):

From: Jean Louis <bugs <at> gnu.support>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Michael Albinus <michael.albinus <at> gmx.de>,
 47247 <at> debbugs.gnu.org
Subject: Re: bug#47247: 28.0.50; read-file-name: should display slash
 correctly in the prompt
Date: Sat, 20 Mar 2021 09:39:06 +0300
* Lars Ingebrigtsen <larsi <at> gnus.org> [2021-03-19 11:40]:
> Michael Albinus <michael.albinus <at> gmx.de> 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")




This bug report was last modified 4 years and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.