all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: TOMAS FABRIZIO ORSI <torsi@fi.uba.ar>
Cc: pbreton@cs.umb.edu, Eli Zaretskii <eliz@gnu.org>, 71438@debbugs.gnu.org
Subject: bug#71438: [PATCH] Allow ping to receive optional arguments
Date: Sun, 16 Jun 2024 23:19:59 -0700	[thread overview]
Message-ID: <CADwFkmmMwy8x+pVdsRUfcnoM52YJ4GmCi3EGJgk5P1=k1c22Kw@mail.gmail.com> (raw)
In-Reply-To: <CAHTSwYigyFoUYF_TBB4sY4g+Dt4L69hSdsujm04j9cPn9emDjA@mail.gmail.com>

TOMAS FABRIZIO ORSI <torsi@fi.uba.ar> writes:

> However, I've been thinking. Both my original patch and yours
> ask the user for additional flags if *any* prefix argument is
> passed.
> Isn't that closing the door for further additions to this
> function?
>
> Maybe, it would be better if (for instance) "0" is passed
> as a prefix argument.
> In that way, if any other additions were to be made,
> those could use a different prefix argument (1,2,3, and so on);
> thus avoiding backwards incompatibility.

This is not a problem, and we can easily make such changes later.

One prefix argument is equivalent to 4 (C-u C-u is 16, and so on).
See (info "(elisp) Prefix Command Arguments").





  reply	other threads:[~2024-06-17  6:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-08 15:28 bug#71438: [PATCH] Allow ping to receive optional arguments TOMAS FABRIZIO ORSI
2024-06-08 18:48 ` Peter Breton via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-08 18:57   ` TOMAS FABRIZIO ORSI
2024-06-09 12:02 ` Stefan Kangas
2024-06-09 13:47   ` Eli Zaretskii
2024-06-09 15:03     ` TOMAS FABRIZIO ORSI
2024-06-09 15:21       ` Eli Zaretskii
2024-06-09 15:38       ` Stefan Kangas
2024-06-09 15:48         ` TOMAS FABRIZIO ORSI
2024-06-16 21:46           ` TOMAS FABRIZIO ORSI
2024-06-17  1:14             ` Stefan Kangas
2024-06-17  2:03               ` TOMAS FABRIZIO ORSI
2024-06-17  6:19                 ` Stefan Kangas [this message]
2024-06-19  2:17                   ` TOMAS FABRIZIO ORSI
2024-06-20 18:45                     ` Stefan Kangas

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

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

  git send-email \
    --in-reply-to='CADwFkmmMwy8x+pVdsRUfcnoM52YJ4GmCi3EGJgk5P1=k1c22Kw@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=71438@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=pbreton@cs.umb.edu \
    --cc=torsi@fi.uba.ar \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.