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:30:34 +0100 Message-ID: <565225EA.1030908@gmail.com> References: <56520381.3090900@gmail.com> <87vb8tc1oq.fsf@gmx.de> <565224EC.9090705@gmail.com> 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 1448224259 26840 80.91.229.3 (22 Nov 2015 20:30:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2015 20:30:59 +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:30:54 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 1a0bHg-0000zT-Cs for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 21:30:52 +0100 Original-Received: from localhost ([::1]:57372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0bHg-0005xP-Bm for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 15:30:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0bHU-0005wt-7G for help-gnu-emacs@gnu.org; Sun, 22 Nov 2015 15:30:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0bHR-0004IA-0K for help-gnu-emacs@gnu.org; Sun, 22 Nov 2015 15:30:40 -0500 Original-Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:36030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0bHQ-0004I3-Mu for help-gnu-emacs@gnu.org; Sun, 22 Nov 2015 15:30:36 -0500 Original-Received: by lfs39 with SMTP id 39so96566365lfs.3 for ; Sun, 22 Nov 2015 12:30:36 -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=VTKLZvbQrWYWUOb/fUe+BRPRaiHntf7yOBSLMvQlgUM=; b=mlBQAGR5evr+HpX9TSrt3bOlCyXTLqw2RttG5qy9BgLt7YAnbS6haTtE3jNExMyK00 tEfT22p1l3yKlS/rWxTu+OalWa2SA3yy4Asx+x60bKxElLOMgzMcrGBXb9Tl/m/n34n8 P3nHqUhgYV2FwJOhcAi71MN2JBi4KNWXOOhQDQ1NG9FZ9wOZ8agt0eachlyAfUOqkadG CX7Bjp5GRoGq35MMQ9UEOlQAV4ny/zhMhfcohdRk8yx/5chmYdUUBBGy24/xme8922kT PRlpqcLLnSKu3qdPkdc4Zaayyj01VHJFp/vUjNuslLQ4dN98/br4YkrnIbTIoBYtx3Jj SBcg== X-Received: by 10.25.39.19 with SMTP id n19mr7713358lfn.156.1448224236032; Sun, 22 Nov 2015 12:30:36 -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 i7sm1389435lbo.39.2015.11.22.12.30.34 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Nov 2015 12:30:34 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <565224EC.9090705@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c07::235 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:108186 Archived-At: Michael, 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. regards On 22.11.2015 21:26, Paul wrote: > 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 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. >>