From: Miles Bader <miles.bader@necel.com>
To: emacs-devel@gnu.org
Subject: "system-process-attributes" function name
Date: Thu, 04 Dec 2008 12:40:06 +0900 [thread overview]
Message-ID: <buooczs38x5.fsf@dhapc248.dev.necel.com> (raw)
I just noticed this new function (from a msg by Thierry Volpiatto), and
wonder -- why the funny prefix "system-"? It seems both misleading
(a "system process" is typically one that's running as root, and the
question that immediately comes to mind is "how do I get the attributes
of a user process?") and unnecessary.
Why not just call it `process-attributes', and accept either a pid or an
emacs process descriptor? That would be easy to implement, and would be
both more convenient and easier to find for programmers.
[I haven't looked at the other "system-process" functions, but
a similar comment might apply to them.]
-Miles
--
Americans are broad-minded people. They'll accept the fact that a person can
be an alcoholic, a dope fiend, a wife beater, and even a newspaperman, but if
a man doesn't drive, there is something wrong with him. -- Art Buchwald
next reply other threads:[~2008-12-04 3:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-04 3:40 Miles Bader [this message]
2008-12-04 4:21 ` "system-process-attributes" function name Eli Zaretskii
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=buooczs38x5.fsf@dhapc248.dev.necel.com \
--to=miles.bader@necel.com \
--cc=emacs-devel@gnu.org \
--cc=miles@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).