From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Newsgroups: gmane.emacs.help Subject: tramp: how kill process Date: Sun, 22 Nov 2015 19:03:45 +0100 Message-ID: <56520381.3090900@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1448215468 13729 80.91.229.3 (22 Nov 2015 18:04:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2015 18:04:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 22 19:04:23 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 1a0Yzu-0005HJ-3h for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 19:04:22 +0100 Original-Received: from localhost ([::1]:56966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0Yzu-0005nB-03 for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 13:04:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0Yzj-0005n5-Mx for help-gnu-emacs@gnu.org; Sun, 22 Nov 2015 13:04:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0Yzg-0005Mi-Hh for help-gnu-emacs@gnu.org; Sun, 22 Nov 2015 13:04:11 -0500 Original-Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]:36716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0Yzg-0005LQ-9z for help-gnu-emacs@gnu.org; Sun, 22 Nov 2015 13:04:08 -0500 Original-Received: by lfs39 with SMTP id 39so95495493lfs.3 for ; Sun, 22 Nov 2015 10:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=hk/fJdwRiswwlyUXRBSM6cSZHkOPVLNze4qTnAhfYXQ=; b=nsSXC5A8PGGJcAKF1VSDysMckakAtIot3WQo/kIVQgyeUL7vMgb5xAwBtHhLzRyGWc gE4vEI1YFy8l0O1Qld2CVr9f+MDErpbQFsfFdPWRi1KiVYZLE/Vya4ih1VlCAP2aLyzu WhCeRBO2ZUonaucBC3fN3ZQ2qGssonLcnoybO2BxZqifsqN73ye64S9QdAPZv3h/pknS hkb7wxSj2uPRx/AjEJ8+jluef1L4jloSufhPwRByCtgEELtkmOyS4w2O67oQBXZbjgzH VtNEaEzjVhWyD0CGSUXjmlIUk+mKXNLgAKcF87dHBSxfgbCcDMZJaGBNYHq9xrQRJSju e2Sw== X-Received: by 10.25.136.139 with SMTP id k133mr9292253lfd.4.1448215447188; Sun, 22 Nov 2015 10:04:07 -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 zm10sm1306149lbb.49.2015.11.22.10.04.05 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Nov 2015 10:04:06 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c07::233 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:108180 Archived-At: Hallo people. 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") How to do it in elegant way then? regards