unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37883: 27.0.50; read-file-name: Scrambled INITIAL
@ 2019-10-23  9:23 Michael Heerdegen
  2019-10-23  9:40 ` Andreas Schwab
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Heerdegen @ 2019-10-23  9:23 UTC (permalink / raw)
  To: 37883


Hello,

in emacs -Q (with default-directory -> ~/)

  (read-file-name-default "File: " nil nil nil "~/.bash_history" nil)

prompts with default minibuffer contents "/:~/~/.bash_history".  No part
of that is shadowed (to indicate which part is meaningful).  Without
fully understanding how the initial contents are calculated, it doesn't
seem very useful with the doubled ~/.  Why can't INITIAL be used
literally?

TIA,

Michael.


In GNU Emacs 27.0.50 (build 27, x86_64-pc-linux-gnu, GTK+ Version 3.24.12)
 of 2019-10-23 built on drachen
Repository revision: 39ba44f18445c7759de5ac91ce25e53123c2abeb
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux bullseye/sid






^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-01-28 16:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-23  9:23 bug#37883: 27.0.50; read-file-name: Scrambled INITIAL Michael Heerdegen
2019-10-23  9:40 ` Andreas Schwab
2019-10-23 12:40   ` Michael Heerdegen
2019-10-23 13:20     ` Michael Albinus
2019-10-23 14:53       ` Michael Heerdegen
2019-10-23 16:24         ` Michael Albinus
2019-10-25  8:45           ` Eli Zaretskii
2022-01-28 16:04             ` Lars Ingebrigtsen
2019-10-23 15:16   ` Michael Heerdegen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).