From: Eli Zaretskii <eliz@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: Remote process attributes
Date: Mon, 04 Apr 2022 15:21:01 +0300 [thread overview]
Message-ID: <83zgl1dope.fsf@gnu.org> (raw)
In-Reply-To: <87lewlccbc.fsf@gmx.de> (message from Michael Albinus on Mon, 04 Apr 2022 13:33:59 +0200)
> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: emacs-devel@gnu.org
> Date: Mon, 04 Apr 2022 13:33:59 +0200
>
> > Is it really certain that the default-directory being remote is
> > evidence significant enough that the user wants to list remote
> > processes? Processes aren't files, and aren't even related to files
> > like programs (whose executable files are looked up before we run
> > them).
>
> I've checked all occurences of list-system-processes and
> process-attributes in core Emacs, GNU ELPA and NonGNU ELPA. This is just
> a handful, and all of them could preserve their behavior with the
> template I've shown. Really not a big deal.
>
> If both functions are used somewhere else in the future, the
> documentation tells what to do. And I could imagine that this
> information about remote processes could be used not only in proced.
Using Proced is what I had in mind. AFAIU, if Proced is invoked with
default-directory being on a remote host, it will show remote
processes after your changes. I'm asking whether users will indeed
expect that.
> What we could think about is a way to indicate proced whether to return
> local or possibly remote process information. I wanted to add a prefix
> argument to proced in order to trigger remote process information, but
> this is already used for window selection.
We could use a special value of the argument to work around this.
next prev parent reply other threads:[~2022-04-04 12:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-04 10:59 Remote process attributes Michael Albinus
2022-04-04 11:21 ` Eli Zaretskii
2022-04-04 11:33 ` Michael Albinus
2022-04-04 12:21 ` Eli Zaretskii [this message]
2022-04-04 12:27 ` Michael Albinus
2022-04-04 20:24 ` chad
2022-04-05 15:14 ` Michael Albinus
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=83zgl1dope.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
/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.