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.bugs Subject: bug#60103: 28.2; Doc string of `previous-history-element' Date: Fri, 16 Dec 2022 20:48:19 +0200 Message-ID: <83sfhfi3rg.fsf@gnu.org> References: <83cz8jjrd5.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25245"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60103-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 16 19:49:08 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1p6Flc-0006OG-88 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Dec 2022 19:49:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6FlY-00079G-TZ; Fri, 16 Dec 2022 13:49:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6FlX-000794-IT for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 13:49:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6FlW-00023r-Qn for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 13:49:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6FlW-0005Q7-DE for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 13:49:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Dec 2022 18:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 60103 X-GNU-PR-Package: emacs Mail-Followup-To: 60103@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 60103-done@debbugs.gnu.org id=D60103.167121650420810 (code D ref 60103); Fri, 16 Dec 2022 18:49:02 +0000 Original-Received: (at 60103-done) by debbugs.gnu.org; 16 Dec 2022 18:48:24 +0000 Original-Received: from localhost ([127.0.0.1]:50950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6Fkt-0005Pa-Kt for submit@debbugs.gnu.org; Fri, 16 Dec 2022 13:48:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6Fks-0005PT-Ro for 60103-done@debbugs.gnu.org; Fri, 16 Dec 2022 13:48:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6Fkm-0001wp-BP; Fri, 16 Dec 2022 13:48:17 -0500 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=ZebvfB3navbGhpsu7xByntocZFM9Zo+hhmMallWG3JU=; b=U7SYaYku+zjM U+2UQghcQwM+cRwLRoDKZddWGzvFQB9P2ESEdtZn8i846D6Hsxt4graPuXEc1KVUQedp1wCc5u2iN 7300CgJTQM8mGtsRUmJ82yngOZoUDX88I8/hS8YXVdwKoIC2CfAu7os2GNM3D3FAPEZmVFMFkwGXO sXEV66wyDJkdAnkuvJ+8Jqoa80d+kC1HP/yTqky/vAdf1o02IOY7gX9Ds4Qurwqudq8NDqNEt3H0j XbZ7esxfTLpyIISjysfgO9UibUQtzls27jr3EyYdlZyGFx5Zx7ChtqLfxPtLt7eqYTMoE11QqJvSI hYZHQeIk/DxhcRkit5incA==; Original-Received: from [87.69.77.57] (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 1p6Fkl-0003Cf-Ol; Fri, 16 Dec 2022 13:48:16 -0500 In-Reply-To: (message from Drew Adams on Fri, 16 Dec 2022 17:53:34 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:251233 Archived-At: > From: Drew Adams > CC: "60103@debbugs.gnu.org" <60103@debbugs.gnu.org> > Date: Fri, 16 Dec 2022 17:53:34 +0000 > > > > The doc string says this: > > > > > > Puts previous element of the minibuffer history in the minibuffer. > > > With argument N, it uses the Nth previous element. > > > > > > That second line makes it sound like arg N is optional. It's not - > > > there is no _without_ argument N. > > > > What do you mean by "no _without_"? This command is bound to M-p in > > the minibuffer, and I can definitely invoke it as "just" M-n, > > _without_ any prefix argument. > > I mean "without argument N", not "without a prefix > arg". > > It's not possible to invoke the function without > providing argument N - it's not optional. > > If you want to say something like "With numeric > prefix argument N..." then that would be fine. That's what I did (the original doc string didn't mention the prefix argument explicitly, but clearly alluded to that when it said "argument").