From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Newsgroups: gmane.emacs.help Subject: Re: tramp: how kill process Date: Sun, 22 Nov 2015 21:04:55 +0100 Message-ID: <56521FE7.3040703@gmail.com> References: <56520381.3090900@gmail.com> <87vb8tc1oq.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1448222716 1953 80.91.229.3 (22 Nov 2015 20:05:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2015 20:05:16 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 22 21:05:15 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a0asr-00024B-HK for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 21:05:13 +0100 Original-Received: from localhost ([::1]:57300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0asr-0006f2-Fy for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 15:05:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0asg-0006ei-B0 for help-gnu-emacs@gnu.org; Sun, 22 Nov 2015 15:05:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0asc-0007CY-Az for help-gnu-emacs@gnu.org; Sun, 22 Nov 2015 15:05:02 -0500 Original-Received: from mail-lb0-x234.google.com ([2a00:1450:4010:c04::234]:35066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0asc-0007CF-3g for help-gnu-emacs@gnu.org; Sun, 22 Nov 2015 15:04:58 -0500 Original-Received: by lbbsy6 with SMTP id sy6so85693320lbb.2 for ; Sun, 22 Nov 2015 12:04:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=W4BhlAEiw/XZvJBfJizS/RZ5vwWRKVl6qJIQRu3z/qo=; b=yyg8E7UT6ZZmho7pdi7DsDqw0xRV9cqc9Urd5EtvDAOqAs37DHieszAXEjBbfWJ/FT s/Z5SP8VLzKnxHjjSuA4bJgr1eVdFxG8z5RaTCzo9el0md6UnF9r0DjbJEYr0FjveWis LO6nUMNAMsrIZcS6OKxnUyvw8Qs43juOsRg4iJsEHiXqQVeUHwavi9I7c0+ZvVg4xVwW 8VoYg0e3hQypPAQxDsZS3dYbtp63fbOtQvFoluMEOVYD2/pQByUta+lqrlckXn1+f2Uz lQmmv9AxRwU9Ipp1gnAiUgazrKtgAF3KJTYDzYqs4YvQabSLtH4S87rl83eG7GW9zHYv Gp1Q== X-Received: by 10.112.53.167 with SMTP id c7mr9753946lbp.20.1448222697311; Sun, 22 Nov 2015 12:04:57 -0800 (PST) Original-Received: from [192.168.20.129] (89-71-25-26.dynamic.chello.pl. [89.71.25.26]) by smtp.googlemail.com with ESMTPSA id qp7sm1358407lbc.24.2015.11.22.12.04.55 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Nov 2015 12:04:56 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <87vb8tc1oq.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108183 Archived-At: Hallo Michael, thank You for the answer. Unfortunately, `d' is not bound to any command in *Process List* of my emacs. C-h k d d is undefined my emacs version is: GNU Emacs 24.5.1 (i686-pc-linux-gnu, GTK+ Version 2.24.23) of 2015-04-25 on localhost best regards On 22.11.2015 19:46, Michael Albinus wrote: > Paul 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. >