From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 13 19:11:40 2022 Return-path: 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 ) 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 ) 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 ) 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 ) 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 ) 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289754 Archived-At: > From: Andrea Monaco > 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.