From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.devel
Subject: Re: load-file's default argument is not explicit
Date: Fri, 13 May 2022 20:10:27 +0300
Message-ID: <834k1tmk8s.fsf@gnu.org>
References: <87h75tpfri.fsf@autistici.org>
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="1043"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: emacs-devel@gnu.org
To: Andrea Monaco <andrea.monaco@autistici.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 13 19:11:40 2022
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Envelope-to: ged-emacs-devel@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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1npYpH-0000Al-Rf
	for ged-emacs-devel@m.gmane-mx.org; Fri, 13 May 2022 19:11:40 +0200
Original-Received: from localhost ([::1]:38450 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1npYpG-0003HT-IN
	for ged-emacs-devel@m.gmane-mx.org; Fri, 13 May 2022 13:11:38 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41980)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>) id 1npYo7-0002Ae-JY
 for emacs-devel@gnu.org; Fri, 13 May 2022 13:10:27 -0400
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38386)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1npYo7-0006Pm-B5; Fri, 13 May 2022 13:10:27 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=QasmVYjHj1qHCOqBrrew9za/iEht0+ad3GLEtp3R0HA=; b=VZ8XGYmWS2WW
 pLsvSe1xpdwrdXlFKKoJGa+/tVLQ/3InIOVBAciDqm2XxNHCK1fkCR+orI6Mx1uT/TVjXu3pHshHI
 qmXgZ4WMQjxobgbae0jb0iPXikbtaJ0QZoC60rNaowsXBWhlYy6GSFhpbvaIKDQZyVggtKjn4hDK2
 ITPmkovDwrHzsvpJeAuD4kXSKzkVxOq1nKHP/8TRw1rqy75ojRp2Toxe+KFifgUYGBOISj8jV0glz
 B7efyA966AThc83mrmgJGbIR/g9OSI1n4cyW7bSS7oM7iNMuVw141YAQG2waPAM+fBry+bOWMQlT+
 js4s0LkVFCLdKIqZSGOshg==;
Original-Received: from [87.69.77.57] (port=4798 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1npYo0-0005c3-FT; Fri, 13 May 2022 13:10:27 -0400
In-Reply-To: <87h75tpfri.fsf@autistici.org> (message from Andrea Monaco on
 Fri, 13 May 2022 18:18:57 +0200)
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.devel:289754
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/289754>

> 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.