From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-devel@gnu.org
Subject: Re: Question about start-process and argument list
Date: Sat, 04 Feb 2023 10:13:41 -0800 [thread overview]
Message-ID: <87tu01z4bu.fsf@ericabrahamsen.net> (raw)
In-Reply-To: Y94G3wRoIRoCDZoA@protected.localdomain
Jean Louis <bugs@gnu.support> writes:
> Now I think that reason why one program accepts separate arguments for
> query, and other needs single argument, is the program
> design.
>
> Programmer decided to accept any follow up arguments, that is why you
> can split it and feed it.
>
> While in other program only single argument is accepted.
>
> That is why it is not good generalizing function for different
> programs.
>
> It is maybe better to generalize one function, but have it branch to
> different other functions for different programs.
Yup, that's how it works.
prev parent reply other threads:[~2023-02-04 18:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-03 3:48 Question about start-process and argument list Eric Abrahamsen
2023-02-03 11:24 ` Jean Louis
2023-02-03 19:24 ` Bruno Barbier
2023-02-03 21:23 ` Eric Abrahamsen
2023-02-03 21:34 ` chad
2023-02-03 22:54 ` Eric Abrahamsen
2023-02-03 23:02 ` Bruno Barbier
2023-02-04 2:20 ` Eric Abrahamsen
2023-02-04 6:40 ` tomas
2023-02-04 7:22 ` Jean Louis
2023-02-04 18:25 ` Eric Abrahamsen
2023-02-04 7:18 ` Jean Louis
2023-02-04 18:13 ` Eric Abrahamsen [this message]
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=87tu01z4bu.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=emacs-devel@gnu.org \
/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).