From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.devel Subject: Re: process-file instead of call-process in proced.el? Date: Wed, 30 Mar 2022 18:34:27 +0300 Message-ID: References: <87o81shd6m.fsf@gmx.de> <87pmm8pqcq.fsf@gnu.org> <87k0cgh8g1.fsf@gmx.de> <87pmm8o8gc.fsf@gnu.org> <87bkxrhn1e.fsf@gmx.de> <87tubjfpyo.fsf@gmx.de> <87a6daf5l8.fsf@gmx.de> <875ynyf2vi.fsf@gmx.de> <87r16jbsah.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10738"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: Roland Winkler , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 30 17:35:54 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZaMT-0002WW-C8 for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Mar 2022 17:35:54 +0200 Original-Received: from localhost ([::1]:52430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZaMS-0005do-1Q for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Mar 2022 11:35:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZaLE-0004vq-0D for emacs-devel@gnu.org; Wed, 30 Mar 2022 11:34:36 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:33347) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZaLC-0005hT-Av; Wed, 30 Mar 2022 11:34:35 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D6A7D5C00E4; Wed, 30 Mar 2022 11:34:31 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 30 Mar 2022 11:34:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; bh=mLpRwZpRYOOKESHmZdvN6nBqdZOEn/QVk/uQ2u f7T0U=; b=oElMoz/9LeodbTr0HaQsKaWYE+Fybr6HlKUEcqzVjPvxLtNmtKL6rI DhK6vkU68CZGtKzU9wXqffd7EFS+q2+mdeZdLFOa/p+bXeTVWmdQJEs74H0pj40b XkARLvjJ8LhVWBHnUjTI+ld/owGNyInoYZnXJEBfQaKV6inS7SGAkt7ZoPljAHEH BUzo7Rf9vQJ32owlAyWD/gGcjnSXrl7vdTPUTIvlQbyymHnc7hEYibIP1CGNtGOM ncRGx9+Cl8lxdNenr41JsurMoqdcBPR96oY2DQPtG76FBII5pGRF5XbwrefmEvOq H09n2rFyzFo8+vUz+XFjrzS1fuXCk0OQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=mLpRwZpRYOOKESHmZ dvN6nBqdZOEn/QVk/uQ2uf7T0U=; b=Pl66rojreC3cEEp/xbMZWXAzc5ON4DhJy a9TKyfzq+/K/lxalla5XAR7c0SfsKal2Ek7SP9JIeiElxXja9TjRfN4Og4z7WuRQ FiB/UpkopDRQJCd8UZntp2MQfznoaacMUT1IdDZ6lEfb5L+9MnDE6VVM5qFRLG3t xXtCa52pID3w0vhdV8EXixhK3Pqkj4kFoA9LiC52f3VfFKzsKgB4/8b/terDsUE5 alBsjh5B8ZVWinJEq/N537oopwjcVoiWFvsVCdLCDwk0II/L36NjmjicAsMyBnG6 3us/PmXyoBy1+IajXVdTPpY5yqeaQ1pxYusgZrimerNgg1TnmUZXQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeivddgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefhihhlihhp phcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecuggftrf grthhtvghrnhepvdevkeffvdeuvefhuddtjeehkedvueefveettddtveduudfgieffieev ieevhfdtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epfhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 30 Mar 2022 11:34:30 -0400 (EDT) In-Reply-To: <87r16jbsah.fsf@gmx.de> (Michael Albinus's message of "Wed, 30 Mar 2022 13:20:38 +0200") Mail-Followup-To: Michael Albinus , emacs-devel@gnu.org, Roland Winkler Received-SPF: pass client-ip=66.111.4.28; envelope-from=fgunbin@fastmail.fm; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287616 Archived-At: On 30/03/2022 13:20 +0200, Michael Albinus wrote: > Filipp Gunbin writes: > >> Hi, > > Hi, > >>> For now, we support only local pids, as Roland has explained. My patch >>> does this, w/o the need to raise an error in case of a pilot error. >>> >>> If you are concerned about the prefix argument for "C-u k" and "C-u r" >>> I'm open to another mean for an indication to proced, that root >>> permissions are desired. >>> >>> And if we decide to support also remote pids being target of a signal, >>> that would be another game. Nothing to prepare now, it would be a major >>> change anyway. >> >> I was suggesting a way to get rid of proced-remote-directory, which >> looks a bit obscure for me. You noted that it's easy to get unexpected >> behavior (local pid but remote signal), then I suggested a way to handle >> it (raise an error). If you think proced-remote-directory is better - >> let it be, I'm perfectly fine with it. > > No further complaints, so I've pushed the patch (plus documentation and > test) to master. > Tested from master, works ok, thanks! Filipp