* load-file's default argument is not explicit
@ 2022-05-13 16:18 Andrea Monaco
2022-05-13 17:10 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Andrea Monaco @ 2022-05-13 16:18 UTC (permalink / raw)
To: emacs-devel
When I invoke load-file interactively and just press RET at the prompt,
it attempts to load the currently visited file.
The load-file manual page doesn't document that. Perhaps more
importantly, the prompt doesn't state the default value inside square
brackets, unlike other commands.
Is this behavior intended?
Andrea Monaco
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: load-file's default argument is not explicit
2022-05-13 16:18 load-file's default argument is not explicit Andrea Monaco
@ 2022-05-13 17:10 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2022-05-13 17:10 UTC (permalink / raw)
To: Andrea Monaco; +Cc: emacs-devel
> From: Andrea Monaco <andrea.monaco@autistici.org>
> Date: Fri, 13 May 2022 18:18:57 +0200
>
>
> When I invoke load-file interactively and just press RET at the prompt,
> it attempts to load the currently visited file.
>
> The load-file manual page doesn't document that. Perhaps more
> importantly, the prompt doesn't state the default value inside square
> brackets, unlike other commands.
>
> Is this behavior intended?
It's just the usual behavior of any command that asks for a file name.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: load-file's default argument is not explicit
@ 2022-05-14 8:33 Andrea Monaco
0 siblings, 0 replies; 3+ messages in thread
From: Andrea Monaco @ 2022-05-14 8:33 UTC (permalink / raw)
To: eliz; +Cc: emacs-devel
> It's just the usual behavior of any command that asks for a file
> name.
I understand. But why doesn't the prompt state such default value
inside square brackets? Also, the manual page for load-file could
explain that behavior, even if it applies for a whole category of
commands.
Andrea Monaco
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-14 8:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-13 16:18 load-file's default argument is not explicit Andrea Monaco
2022-05-13 17:10 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2022-05-14 8:33 Andrea Monaco
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).