From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#58493: [PATCH] * lisp/play/zone.el (zone): Allow selecting a program Date: Fri, 14 Oct 2022 15:57:29 +0000 Message-ID: <87a65ygzyu.fsf@posteo.net> References: <87sfjr3kvr.fsf@posteo.net> <83ilknafb3.fsf@gnu.org> <87zgdz1w8h.fsf@posteo.net> <83r0za8zf3.fsf@gnu.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="21553"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58493@debbugs.gnu.org, Stefan Kangas To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 14 17:59:13 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 1ojN5d-0005Ra-0h for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Oct 2022 17:59:13 +0200 Original-Received: from localhost ([::1]:39516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojN5b-0003Zq-Qb for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Oct 2022 11:59:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojN4U-0002Se-ER for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 11:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39324) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojN4U-0006wy-5K for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 11:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojN4T-0007qe-R7 for bug-gnu-emacs@gnu.org; Fri, 14 Oct 2022 11:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Oct 2022 15:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58493 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58493-submit@debbugs.gnu.org id=B58493.166576306030141 (code B ref 58493); Fri, 14 Oct 2022 15:58:01 +0000 Original-Received: (at 58493) by debbugs.gnu.org; 14 Oct 2022 15:57:40 +0000 Original-Received: from localhost ([127.0.0.1]:38402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojN48-0007q5-7p for submit@debbugs.gnu.org; Fri, 14 Oct 2022 11:57:40 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:57763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojN46-0007pj-8g for 58493@debbugs.gnu.org; Fri, 14 Oct 2022 11:57:39 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4FFEF240103 for <58493@debbugs.gnu.org>; Fri, 14 Oct 2022 17:57:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665763052; bh=xn0c69OrQyWPU46BfmBCNkytnkJ3EhO0LcxAeHjY9A8=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=PUAjCjBrM4QFab4sV+GHaIaitlT3vKL5u10wnRAdIcTRIpwDNWXHiDDFh9roIVDNP 185Q+BvdYM4UixKkKALkDk7SaBgeEXUtt2hrWj9MNlUQUl836G6sdTu5FhiPxHpsDH CUkuj6anjDSWJbLFbXv/5uX887aDvutjiZYPUMG8Gmepehn8LtfTo53EMLLiPSheHP Z0prHjK+R78CvbpL09mQ743gnBO0dV4dA8YtDAKIRctf/Bip4+3rbE5QG4YB4fkT0t m32VJfiaHVeJOeR4G0AUl/VbrJQY3HwipJa0usGiVz+TaNi6CSwYC0rq1vSgWCmXdF dpFGGhXH55fwA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mprcq1qgcz6tnl; Fri, 14 Oct 2022 17:57:30 +0200 (CEST) In-Reply-To: <83r0za8zf3.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 14 Oct 2022 13:36:32 +0300") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB 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" Xref: news.gmane.io gmane.emacs.bugs:245460 Archived-At: Eli Zaretskii writes: >> From: Stefan Kangas >> Date: Fri, 14 Oct 2022 11:22:00 +0200 >> Cc: 58493@debbugs.gnu.org >> >> > "... the command prompts the user for a program?" >> >> I think we use the style >> >> "With a \\[universal-argument] prefix argument, prompt for a program." > > No, we rarely if at all mention universal-argument explicitly in doc > strings. The assumption is that the reader knows well enough how to > invoke commands with a prefix argument. FWIW it wouldn't be bad to do so. When I first got into Emacs I was using it for maybe 1 or 1 1/2 years before I understood what prefix arguments are. Really improved my experience when I found out :) >> I would personally put the interactive part first, and then say >> explicitly: >> >> "When called from Lisp, ..." >> >> This is a command, first and foremost, after all. > > That's a matter of personal preferences. We have both styles in our > doc strings, and both are okay, from my POV. I agree with Stefan that in this case mentioning the interactive case first is more intuitive.