unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: philipk@posteo.net, 58493@debbugs.gnu.org
Subject: bug#58493: [PATCH] * lisp/play/zone.el (zone): Allow selecting a program
Date: Fri, 14 Oct 2022 13:36:32 +0300	[thread overview]
Message-ID: <83r0za8zf3.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkm=rfOpLR9VxAFPo50-+fUEbZWa4+ZDTRrPPrixbDSqe+A@mail.gmail.com> (message from Stefan Kangas on Fri, 14 Oct 2022 11:22:00 +0200)

> From: Stefan Kangas <stefankangas@gmail.com>
> 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.

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





  reply	other threads:[~2022-10-14 10:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-13 13:37 bug#58493: [PATCH] * lisp/play/zone.el (zone): Allow selecting a program Philip Kaludercic
2022-10-13 14:20 ` Stefan Kangas
2022-10-13 15:55 ` Eli Zaretskii
2022-10-13 17:14   ` Philip Kaludercic
2022-10-13 19:26     ` Eli Zaretskii
2022-10-13 20:22       ` Philip Kaludercic
2022-10-14  9:22     ` Stefan Kangas
2022-10-14 10:36       ` Eli Zaretskii [this message]
2022-10-14 15:57         ` Philip Kaludercic
2022-11-04 22:19 ` Philip Kaludercic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r0za8zf3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=58493@debbugs.gnu.org \
    --cc=philipk@posteo.net \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).