From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Monaco Newsgroups: gmane.emacs.devel Subject: load-file's default argument is not explicit Date: Fri, 13 May 2022 18:18:57 +0200 Message-ID: <87h75tpfri.fsf@autistici.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7809"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 13 18:25:51 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 1npY6x-0001nt-Av for ged-emacs-devel@m.gmane-mx.org; Fri, 13 May 2022 18:25:51 +0200 Original-Received: from localhost ([::1]:54624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npY6v-0004Xn-SQ for ged-emacs-devel@m.gmane-mx.org; Fri, 13 May 2022 12:25:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npY0Z-0001pN-Gq for emacs-devel@gnu.org; Fri, 13 May 2022 12:19:15 -0400 Original-Received: from confino.investici.org ([2a11:7980:1::2:0]:34591) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npY0V-0005vw-MC for emacs-devel@gnu.org; Fri, 13 May 2022 12:19:14 -0400 Original-Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4L0DNf0ZhMz10wk for ; Fri, 13 May 2022 16:18:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1652458738; bh=YpHx4KVvHLwox8lGULEKjmy0BtNuYvXrDgVXV5harYI=; h=From:To:Subject:Date:From; b=ir0mJfiPhCO/9VtEtEKRa/REY7jRtBLw2Eg/FD59fKBRpSiebV2YulqVjSRLsJs4M pgUOEVbgQzaUJFc/z86eL2JxuWlQYCZkbjC3AjaCZ/j0KVfmPT3nGCDaZLGZZB8QHu JBKvsyduo9VDinZ51rCIIhdh4adbL3hZd45XTFMk= Original-Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: andrea.monaco@autistici.org) by localhost (Postfix) with ESMTPSA id 4L0DNd6LhZz10sP for ; Fri, 13 May 2022 16:18:57 +0000 (UTC) Received-SPF: pass client-ip=2a11:7980:1::2:0; envelope-from=andrea.monaco@autistici.org; helo=confino.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:289753 Archived-At: 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