From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#72013: The eshell/kill command doesn't work with eshell/sudo correctly Date: Thu, 18 Jul 2024 12:33:57 -0700 Message-ID: References: <3f7aae11-2569-3cba-e937-2511a3c00504@gmail.com> <26f03682-114e-cc3d-89bc-9ec1f4a46aaa@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15590"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72013-done@debbugs.gnu.org To: the_wurfkreuz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 18 21:36:14 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sUWvF-0003tY-43 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Jul 2024 21:36:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sUWv2-000245-Uk; Thu, 18 Jul 2024 15:36:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUWv1-00023a-6x for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2024 15:35:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sUWv0-0001v8-Qh for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2024 15:35:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sUWv4-0003zy-Fs for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2024 15:36:02 -0400 Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Jul 2024 19:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 72013 X-GNU-PR-Package: emacs Mail-Followup-To: 72013@debbugs.gnu.org, jporterbugs@gmail.com, the_wurfkreuz@proton.me Original-Received: via spool by 72013-done@debbugs.gnu.org id=D72013.172133131315296 (code D ref 72013); Thu, 18 Jul 2024 19:36:02 +0000 Original-Received: (at 72013-done) by debbugs.gnu.org; 18 Jul 2024 19:35:13 +0000 Original-Received: from localhost ([127.0.0.1]:38093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUWuG-0003ye-L5 for submit@debbugs.gnu.org; Thu, 18 Jul 2024 15:35:12 -0400 Original-Received: from mail-pl1-f169.google.com ([209.85.214.169]:43350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUWuC-0003yJ-RA for 72013-done@debbugs.gnu.org; Thu, 18 Jul 2024 15:35:10 -0400 Original-Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1fb1c918860so18049055ad.1 for <72013-done@debbugs.gnu.org>; Thu, 18 Jul 2024 12:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721331239; x=1721936039; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=coQsnM9jJfUNbnD13SrB26PjnQgJE/+Epu5YkRVbysY=; b=QevNC1tNxRIRN1Jv3gJQI63r4z6bJjKYmX/8Z6TWFX1F681JuSE+99Kh+dECLVwhry K/BGfMRkQIpI0gzMlyMdSoQjovkyvRCz3XX+3GwKAUBBaSJeJ0SRQWDJh/pBo1s00G2W ea/y2ows9psAEOBoD6jlT/CibpTlIMrOg1Jg8WWTatziuzt/Mu8Tq1DfnSRSfayLNjEr zg9zr1Tepmq38TCA/FIEkAvjrwG9S5ea58nNYYgTLAIjYffA4QqDolDIYRKuqyBN8aqD Fe4ZZuu6Y82BhHYqJ9X8nXrXQJLYox4WlzvIhJBqhVry4aB0+Yq6IjGGsDf4WXDx3+29 x4Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721331239; x=1721936039; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=coQsnM9jJfUNbnD13SrB26PjnQgJE/+Epu5YkRVbysY=; b=QPsNokwNd8R1rT54vo+raHiyLDx+D3HJ3v1yEad75J8TSOmQCW+3zKx/Lo36cLc4+y fYoe9Vk2dgQbeu0idnJd5gSjev6lT/zUzKAraKQwFLi/zQYZ2mozULcgLhTmh3432UEC EsApbFhP7RCi586tYCayKfiieElEyfyamM170or4EQA351iGNQidrkQK/fEzmPQN9G6w KeMRtX4MzMT8Nyt34jdXUzUjCdO8oC8iNb2iYrZf2PI3im7yoodp8giNh5ClQJOwemI0 EuxHUeU247ja6CSBvGT/3uRSSAevzVQVU8NMnT5bEaowkx/2WJoTtGi+JiLvJTuUtGD2 oTwQ== X-Gm-Message-State: AOJu0YwqBcTjnr1Eitkxk/zmy6Hzk5hX3Uizs1w8BiH8efIAkBVGOYPV 4Hf3b1HD6PDjkQsQm3BBC3Z4kvUNCgxmD2GYRhNEJa9eSQsnBwsd X-Google-Smtp-Source: AGHT+IG9nHsWk88H22di3DneyyBPfDoeavipeRD9xMKy+ED3d4JUwJdWk3xyKj7mI99LgXBNxKGydg== X-Received: by 2002:a17:90b:88f:b0:2c9:7343:71f1 with SMTP id 98e67ed59e1d1-2cb778afa5cmr2717941a91.14.1721331238648; Thu, 18 Jul 2024 12:33:58 -0700 (PDT) Original-Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id 98e67ed59e1d1-2cb77a33f56sm1079827a91.23.2024.07.18.12.33.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Jul 2024 12:33:58 -0700 (PDT) Content-Language: en-US In-Reply-To: <26f03682-114e-cc3d-89bc-9ec1f4a46aaa@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288975 Archived-At: On 7/9/2024 5:22 PM, Jim Porter wrote: > I've pushed a fix for this to the master branch as 342998511ad. > (Skipping the Emacs 30 branch, since this broken behavior has been with > us for a long time, and I think it can wait another release.) Could you > try it out to see if things work better? I've pushed an improved version of this to the master branch as 259f4613bde. It uses remote 'signal-process' when possible, fixes some bugs, and also reports an error if 'signal-process' fails for some reason (e.g. lack of permissions). Closing this bug now, but if there's anything still not working, let me know.