all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, help-gnu-emacs@gnu.org
Subject: RE: Detecting a running process in Elisp
Date: Fri, 26 Jul 2013 09:17:55 -0700 (PDT)	[thread overview]
Message-ID: <e63f4b0c-5213-4efa-a15d-04e14078ce43@default> (raw)
In-Reply-To: <<83siz1z58a.fsf@gnu.org>>

> > Without knowing anything about processes in Elisp, I tried
> > using apropos "processes" (apropos "process" had too many hits).
> >
> > That led me to `list-processes', which led me to `list-processes--
> > refresh'.  That led me to `process-list', which I imagine you can
> > use to get what you want.
> 
> These are for processes that Emacs launched.  Other processes running
> on the system will not show.
> 
> > HTH.  Remember: `apropos' and its friends are your friends.
> 
> Right, because list-system-processes is also there.

Good correction - `list-system-processes', not `list-processes' or
`process-list'.

[Too bad, BTW, that the doc string of `list-processes' says
"Display a list of all processes" - N.B. "ALL", not all processes
that Emacs has launched.

It mentions exclusion of certain processes, depending on argument
QUERY-ONLY and whether exited or signaled, but it does not go beyond
that to characterize which other processes might be excluded.]




  parent reply	other threads:[~2013-07-26 16:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26 15:26 Detecting a running process in Elisp gentsquash
2013-07-26 15:37 ` Eli Zaretskii
2013-07-26 15:50 ` Drew Adams
2013-07-26 15:54   ` Eli Zaretskii
     [not found]   ` <<83siz1z58a.fsf@gnu.org>
2013-07-26 16:17     ` Drew Adams [this message]
2013-07-26 18:49       ` Eli Zaretskii
     [not found]       ` <<83mwp9yx5f.fsf@gnu.org>
2013-07-26 18:54         ` Drew Adams
     [not found] ` <mailman.1854.1374853118.12400.help-gnu-emacs@gnu.org>
2013-07-26 16:58   ` Pascal J. Bourguignon
2013-07-26 18:33     ` Eli Zaretskii
     [not found]     ` <mailman.1870.1374863596.12400.help-gnu-emacs@gnu.org>
2013-07-26 20:57       ` Pascal J. Bourguignon
2013-07-27  7:43         ` Eli Zaretskii
2013-07-26 23:18 ` gentsquash
2013-07-26 23:57   ` Drew Adams
2013-07-27  8:48   ` Eli Zaretskii
2013-07-27  9:07   ` Peter Dyballa
2013-07-27 10:20   ` Pascal J. Bourguignon

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=e63f4b0c-5213-4efa-a15d-04e14078ce43@default \
    --to=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@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 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.