all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Sun, 22 Nov 2015 21:26:20 +0100	[thread overview]
Message-ID: <565224EC.9090705@gmail.com> (raw)
In-Reply-To: <87vb8tc1oq.fsf@gmx.de>

Michael,
I debugged list-processes-kill-process.
it does not work because (get-text-property (point) 'process) returns 
nil, when point is on the line with process to be killed.

But body contains the command `delete-process`, which You probably 
wanted to suggest me through `d' shortcut.

that one worked:)

thank YOu for Your help

best regards!

On 22.11.2015 19:46, Michael Albinus wrote:
> Paul <mafeuser@gmail.com> writes:
>
>> Hallo people.
>
> Hi,
>
>> When on "/sudo::/root" tramp buffer, I run the following command:
>>
>> (start-file-process "my-process-name" (get-buffer-create
>> "*my-process-output*") "pathToProcess")
>>
>> I can see it in M-x list-processes.
>>
>> Unfortunatelly the following does not kill it:
>>
>> C-x C-f "/sudo::/root"
>> M-x: (kill-process "my-process-name")
>
> `kill-process' needs a process as argument, not a process name.
>
>> How to do it in elegant way then?
>
> M-x list-processes
>
> Move to the process to kill, and enter "d".
>
>> regards
>
> Best regards, Michael.
>



  parent reply	other threads:[~2015-11-22 20:26 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 [this message]
2015-11-22 20:30     ` Paul
2015-11-22 21:34       ` Michael Albinus
2015-11-23 13:09         ` Paul
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=565224EC.9090705@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.