From: Paul <mafeuser@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: tramp: how kill process
Date: Mon, 23 Nov 2015 14:09:11 +0100 [thread overview]
Message-ID: <56530FF7.2050608@gmail.com> (raw)
In-Reply-To: <87y4dpd8hc.fsf@gmx.de>
based on `delete-process` source code, it first tires to kill the
process, then delete entry from *Process List*.
The second step is done without checking the result of first step.
Probably this is the reason of behaviour in my emacs.
either of the following commands return -1, and do NOT kill the process:
(signal-process "my-process-name" 'SIGKILL)
(signal-process "my-process-name" 'SIGINT)
I'm running these commands from /sudo::/root
Some inconsistency arises: on one hand emacs can create process with
other user id, and on the other hand does not allow to kill it.
Is it a bug?
regards,
Paul
On 22.11.2015 22:34, Michael Albinus wrote:
> Paul <mafeuser@gmail.com> writes:
>
>> Michael,
>
> Hi Paul,
>
>> I must unsay it.
>>
>> delete-process removes process from list of processes at
>> *Process List*, but process itself is NOT killed, I still can see it
>> in M-x proced.
>
> In my Emacs stanza (25.0.50), the key "d" in the *Process List* buffer
> is bound to the function `process-menu-delete-process'. It's docstring
> says "Kill process at point in a ‘list-processes’ buffer."
>
>> regards
>
> Best regards, Michael.
>
next prev parent reply other threads:[~2015-11-23 13:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-22 18:03 tramp: how kill process Paul
2015-11-22 18:46 ` Michael Albinus
2015-11-22 20:04 ` Paul
2015-11-22 20:58 ` Bob Proulx
2015-11-22 20:21 ` Paul
2015-11-22 20:26 ` Paul
2015-11-22 20:30 ` Paul
2015-11-22 21:34 ` Michael Albinus
2015-11-23 13:09 ` Paul [this message]
2015-11-23 13:12 ` Paul
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=56530FF7.2050608@gmail.com \
--to=mafeuser@gmail.com \
--cc=help-gnu-emacs@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.