From unknown Fri Jun 20 07:13:26 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#56239 <56239@debbugs.gnu.org> To: bug#56239 <56239@debbugs.gnu.org> Subject: Status: 28.1; Cannot send signals by name to inferior process by calling signal-process interactively Reply-To: bug#56239 <56239@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:13:26 +0000 retitle 56239 28.1; Cannot send signals by name to inferior process by call= ing signal-process interactively reassign 56239 emacs submitter 56239 Daniel Mart=C3=ADn severity 56239 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 16:15:05 2022 Received: (at submit) by debbugs.gnu.org; 26 Jun 2022 20:15:06 +0000 Received: from localhost ([127.0.0.1]:49140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Yeu-0000Ir-6d for submit@debbugs.gnu.org; Sun, 26 Jun 2022 16:15:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:51464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Yer-0000I5-98 for submit@debbugs.gnu.org; Sun, 26 Jun 2022 16:15:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5Yer-0001BS-4z for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 16:15:01 -0400 Received: from sonic310-11.consmr.mail.ir2.yahoo.com ([77.238.177.32]:39135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5Yeo-0000cI-B0 for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 16:15:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1656274495; bh=qRfM2JA1jokrAK8Q+XYx2ZkU5miatLqYrRxbv8Vl9a4=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=ciqKZv2LT3XPMTLR1SEK2iVwONN4O/RNpTP8EKLfewdnppJwoLlKAqgikM7fOsztPVWxCajD2mM4b26/CVUymr7Pnd6u5r9VMBnYEDkFLoWffVzMJgUeCHnHOu6CrssFDQt3vhQyOqqrsvgHbavLP+xuaxXtns3zP8A5KRfBu/3i98BIvbxxh79TE+K0/0dJG5pyGF6t2nalB30hSl2osLYi7KsW0InSoFfsRb6V9oFGaR6A58dbXIWvdyFku0ORfVTAk0EaT+UKWNAvK+c72wTagEOYSqlUV4lYRqBS7tkGcR2p78FW5ynZc+2cr417uPTYaVvyYvvkkGxHbaM79A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656274495; bh=6spfOT3r+GYw0lhrgLI5q1PMPcDd+L6xKRXLeYP0DVO=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=dEi6P5YqScVphCGwlJUUfxL+9fcICpmy8KAk7BvwUTELuqzwqYd3/q/pRYTOsaTqRO3JhpEkrV3iprtfBsq43x7Pxwwe7ijPslg62WmMu8yFLteBvYhBIlufudHD1rm85DMl3GcM5CDuQ/rA2bCh8LlDR5BT5DGD8G7hnHlM9wy7w4h3/38/W3uIAnYD0+PYQDaP3y+U6sAIdarbj9+ZVrQDa5gLCOM9WKLJSVzgKHUbduy8bDHzu6tOgw9ZB3ClKNWrZExyKUdix2JcFHXx2VO/rjywsRIoWLzDOzb5fZf48VTghCkrvO6p4+XYd5Hy54bY5VJn3XWLARn91f6zjA== X-YMail-OSG: 1GJrQoEVM1lJAOKJC7gz2nVU0dfDIhYx6oclXbbspA2xBUYJm6P3rkwFacfSUjC tj90wTvkYiDibiPPOWopy3xgXUZ2ZYDnZBpdkx4GGbDtxjnYuOAyGMzNqNofN5H0EJHoeR1NCgaO pqdSLmCAgk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pUAXUmG0sT3fRXM4- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ir2.yahoo.com with HTTP; Sun, 26 Jun 2022 20:14:55 +0000 Received: by hermes--canary-production-ir2-c9bf9d9bc-fw6gn (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 39cc1062f0fe0ad57c10b0f04a415e6e; Sun, 26 Jun 2022 20:14:51 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: bug-gnu-emacs@gnu.org Subject: 28.1; Cannot send signals by name to inferior process by calling signal-process interactively Date: Sun, 26 Jun 2022 22:14:50 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain References: X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1301 Received-SPF: pass client-ip=77.238.177.32; envelope-from=mardani29@yahoo.es; helo=sonic310-11.consmr.mail.ir2.yahoo.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) The scenario is a user that wants to send the signal SIGUSR1 (for example) to an inferior process and does the following: Switch to the buffer associated with the inferior process. M-x signal-process RET Press RET for the process (so that the process associated with the current buffer is used). For the signal code, type 'SIGUSR1 (or "SIGUSR1", or SIGUSR1). The operation fails with the message "Please enter a number". The docstring of signal-process says that sending a signal by name should be possible: "SIGCODE may be an integer, or a symbol whose name is a signal name." If we call the command non-interactively, it works correctly: M-: (signal-process nil 'SIGUSR1) In GNU Emacs 28.1 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559)) of 2022-04-04 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.4 Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER THREADS TOOLKIT_SCROLL_BARS ZLIB Important settings: value of $LANG: en_ES.UTF-8 locale-coding-system: utf-8-unix From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 16:47:42 2022 Received: (at 56239) by debbugs.gnu.org; 26 Jun 2022 20:47:43 +0000 Received: from localhost ([127.0.0.1]:49205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5ZAU-00019D-Nt for submit@debbugs.gnu.org; Sun, 26 Jun 2022 16:47:42 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5ZAS-00018C-1g for 56239@debbugs.gnu.org; Sun, 26 Jun 2022 16:47:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=vuspsARPdTFCBFFGS4InS7K9TJb24QZhBFKtLvQ/OzU=; b=nlJlJ8CnDHNjtLF8AVdNPWFIdd xfivgH5MZ3t223msBTcFLTCdjDQMxyP/KIoahuVfciDpyGybprPn6drLFDsCVY+ZVSm4d9zb5JZUF l13et0VztLWUdxjrQshy0MhVsDRLNQ66ydnPDRwwjq+E1UVV9AF/Z2kecBywpOFzewUE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5ZAJ-0005x8-0b; Sun, 26 Jun 2022 22:47:33 +0200 From: Lars Ingebrigtsen To: 56239@debbugs.gnu.org Subject: Re: bug#56239: 28.1; Cannot send signals by name to inferior process by calling signal-process interactively References: Date: Sun, 26 Jun 2022 22:47:30 +0200 In-Reply-To: ("Daniel =?utf-8?Q?Mart=C3=ADn?= via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\""'s message of "Sun, 26 Jun 2022 22:14:50 +0200") Message-ID: <87edzb9mot.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Daniel Martín via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > For the signal code, type 'SIGUSR1 (or "SIGUSR1", or SIGUSR1). > > The operation fails with the message "Please enter a number". Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56239 Cc: Daniel =?utf-8?Q?Mart=C3=ADn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Daniel Mart=C3=ADn via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > For the signal code, type 'SIGUSR1 (or "SIGUSR1", or SIGUSR1). > > The operation fails with the message "Please enter a number". Yup. I've now fixed this in Emacs 29. I wasn't sure whether to allow completing to USR1 og SIGUSR1, and went with the former, but I don't really have an opinion on what form to use. (So feel free to change that.) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 16:47:50 2022 Received: (at control) by debbugs.gnu.org; 26 Jun 2022 20:47:50 +0000 Received: from localhost ([127.0.0.1]:49208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5ZAc-0001A9-0L for submit@debbugs.gnu.org; Sun, 26 Jun 2022 16:47:50 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5ZAb-00019S-2O for control@debbugs.gnu.org; Sun, 26 Jun 2022 16:47:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wPVPQcdfi3SC1v4hd6Fn+gGXidwerkuDL+RRgRF7kRs=; b=eb+6EemKjpiby3Tg2b0A7CB44m YFZJ3z7GGFAt8TKd/RZYAsHH56j5qW2YEseX0gAgFwbFsRvqG7JdTfGiXI3bk0tnRPWqHf/5ApXWl 0XpgCoxJYG5xut8TmPF+f9+K2qV9hn4bPg/WcSuo8mmVS85f4DNQl1ZuRfp6KrqN8wko=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5ZAT-0005xI-4j for control@debbugs.gnu.org; Sun, 26 Jun 2022 22:47:43 +0200 Date: Sun, 26 Jun 2022 22:47:40 +0200 Message-Id: <87czev9moj.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56239 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 56239 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 56239 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 27 06:29:07 2022 Received: (at 56239) by debbugs.gnu.org; 27 Jun 2022 10:29:07 +0000 Received: from localhost ([127.0.0.1]:49946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5lzP-00014c-DU for submit@debbugs.gnu.org; Mon, 27 Jun 2022 06:29:07 -0400 Received: from mout.gmx.net ([212.227.15.15]:38227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5lzN-000146-QJ for 56239@debbugs.gnu.org; Mon, 27 Jun 2022 06:29:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1656325739; bh=hb4FJmMlE8d4cqeiD+XMT/9n9THbS2Ed3DsyyHJF2+A=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Sp2OjgY9ByvoggV5miKsmuxue0L9HozdFHgZ4oLNPVe2LsmjEL5EaQdSbPmMJjELO dSrrzqFSO9R2D+onHQ0c+Y/6CsCDg+wBNkoAwdkPPyEmx9Ni5pybe8IvRUs4DKaCvi TS1b3BTPm9Jel2auMffcH9EDQwTVjSBbhFFkzqOA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.151.145]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N1fn0-1nd9JC3O6i-011wrQ; Mon, 27 Jun 2022 12:28:58 +0200 From: Michael Albinus To: Lars Ingebrigtsen Subject: Re: bug#56239: 28.1; Cannot send signals by name to inferior process by calling signal-process interactively References: <87edzb9mot.fsf@gnus.org> Date: Mon, 27 Jun 2022 12:28:57 +0200 In-Reply-To: <87edzb9mot.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 26 Jun 2022 22:47:30 +0200") Message-ID: <87bkuev1qu.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:E/wtCwyEdxS5x16ljKFx8lSNlzrFm2tiVBU0dUfIvcyOT59lZnx L/kyyu3REBW+MMXvdFY/PQF8Ju+6tBhPUuF0jQu1Ysf131fEH1Ii2M0exon3iMyTKXscSQP sB2nyUEVyRClTF4/8EtxNJ9NJy43z3kZYk2bCKgNJi7t8Ki2Auh2UiLS//6bVbIA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/rL9Tp76s/87eJ6tv7ble74jLBjV18PjvC6/r9W6k7YKf4XdG5t juJwaHDaBC9vuQvV8JtD0j9fXW6OOPDMRkGx7b/kUu7tb6D47oaiogzLd1+2O5KHLYADxp5Hs PQ0jYT5opZaVOg2ZY6Nwg66Td7l0qFWbz/44opfsI/TkYMZHKzTVNmVag== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 56239 Cc: 56239@debbugs.gnu.org, Daniel =?utf-8?Q?Mart=C3=ADn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Lars Ingebrigtsen writes: Hi Lars, >> For the signal code, type 'SIGUSR1 (or "SIGUSR1", or SIGUSR1). >> >> The operation fails with the message "Please enter a number". > > Yup. I've now fixed this in Emacs 29. I wasn't sure whether to allow > completing to USR1 og SIGUSR1, and went with the former, but I don't > really have an opinion on what form to use. (So feel free to change > that.) Unfortunately, it's not such simple. signal-process can also deliver a signal to a process running on a remote host. The signal names on that host might differ from the signal names on the local host, collected by Fsignal_names. How do we want to handle this? I don't see a simple solution, because the file name handler machinery is not in use here. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 27 06:41:39 2022 Received: (at 56239) by debbugs.gnu.org; 27 Jun 2022 10:41:39 +0000 Received: from localhost ([127.0.0.1]:49989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5mBX-0003iw-By for submit@debbugs.gnu.org; Mon, 27 Jun 2022 06:41:39 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5mBW-0003ii-3R for 56239@debbugs.gnu.org; Mon, 27 Jun 2022 06:41:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oSR/kf9/0gOgGuiN2ubymF1tag06BVHI9B6FUMVNwfw=; b=uaCZejgWU16TB1kUe3LJDXg4Uq KNrz8GxFekbNg19i4eRCbugT5DMfdwR0utc80gJTXlk4zZOcfloKbr1aVlmgpD4Z3XhrCJxWZQ6kj +1K3u+jl8inwqBd5Abt3sPNDhuPR4/0IdLj7vY9ackQ+H1LLPIud2PLaIXqob2iYDxOg=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5mBN-0004zn-J6; Mon, 27 Jun 2022 12:41:32 +0200 From: Lars Ingebrigtsen To: Michael Albinus Subject: Re: bug#56239: 28.1; Cannot send signals by name to inferior process by calling signal-process interactively References: <87edzb9mot.fsf@gnus.org> <87bkuev1qu.fsf@gmx.de> Date: Mon, 27 Jun 2022 12:41:29 +0200 In-Reply-To: <87bkuev1qu.fsf@gmx.de> (Michael Albinus's message of "Mon, 27 Jun 2022 12:28:57 +0200") Message-ID: <87o7ye5qxy.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Michael Albinus writes: > Unfortunately, it's not such simple. signal-process can also deliver a > signal to a process running on a remote host. The signal names on that > host might differ from the signal names on the local [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56239 Cc: 56239@debbugs.gnu.org, Daniel =?utf-8?Q?Mart=C3=ADn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Michael Albinus writes: > Unfortunately, it's not such simple. signal-process can also deliver a > signal to a process running on a remote host. The signal names on that > host might differ from the signal names on the local host, collected by > Fsignal_names. > > How do we want to handle this? I don't see a simple solution, because > the file name handler machinery is not in use here. I think users will just have to use numbers in those cases (which is still possible). I.e., the symbol names are a convenience where it works, but if not, then users can't use those. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 27 07:25:09 2022 Received: (at 56239) by debbugs.gnu.org; 27 Jun 2022 11:25:09 +0000 Received: from localhost ([127.0.0.1]:50033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5mrc-0007XW-Jd for submit@debbugs.gnu.org; Mon, 27 Jun 2022 07:25:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5mrZ-0007Wg-JK for 56239@debbugs.gnu.org; Mon, 27 Jun 2022 07:25:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5mrT-0000L9-A7; Mon, 27 Jun 2022 07:24:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=fzvGpfc3XPFeZ8V/nnPZUGLqapxZbkMC0a4NK4B1aNo=; b=jGRpK5ffkJi2boPbheGQ tyRbp4zSnmiwIhwlYncF/u+ix5wnfEuDGPYYcqgXYhNbC2YGqJolwx4kamGnPlvgTfGZG4/LaKAlv 9Xh2EBWoe/ScgzHqxmE9pIBbuF+/hd9IsGWvN0rORGGR4vC5N9t834AkaRdmkxZEVacxPZw5YmnwP 4ciXWn7VRypftL2xTCRtbqI1Sfz+z65qIoLeTWSFTKEt7u9dB/DhSPf+JbTzfr8VCP2FCtG0w28l0 WIvkEYrWiMtOljF0fltJ5HMZAGfSeuLkbx7ebaII7mt6mthf58CamOX7ZmdhVOcqn+67Eu7UWE70K bJH7wRXOOA3VWw==; Received: from [87.69.77.57] (port=3676 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5mrS-0002RL-4V; Mon, 27 Jun 2022 07:24:59 -0400 Date: Mon, 27 Jun 2022 14:24:59 +0300 Message-Id: <83ilom8i2c.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87o7ye5qxy.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 27 Jun 2022 12:41:29 +0200) Subject: Re: bug#56239: 28.1; Cannot send signals by name to inferior process by calling signal-process interactively References: <87edzb9mot.fsf@gnus.org> <87bkuev1qu.fsf@gmx.de> <87o7ye5qxy.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56239 Cc: michael.albinus@gmx.de, 56239@debbugs.gnu.org, mardani29@yahoo.es X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 56239@debbugs.gnu.org, Daniel Martín > From: Lars Ingebrigtsen > Date: Mon, 27 Jun 2022 12:41:29 +0200 > > Michael Albinus writes: > > > Unfortunately, it's not such simple. signal-process can also deliver a > > signal to a process running on a remote host. The signal names on that > > host might differ from the signal names on the local host, collected by > > Fsignal_names. > > > > How do we want to handle this? I don't see a simple solution, because > > the file name handler machinery is not in use here. > > I think users will just have to use numbers in those cases (which is > still possible). I.e., the symbol names are a convenience where it > works, but if not, then users can't use those. I agree, but there's a larger problem here: signal numbers that correspond to given names are also system-dependent. That is, SIGINT could be 2 on one system and 295 on another. So if you type M-x signal-process RET INT RET you could send to the process a signal number that will be interpreted on the remote host as some completely different signal. So I think we should at least document that symbolic names should be used for remote processes only very carefully, if at all. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 27 07:50:08 2022 Received: (at 56239) by debbugs.gnu.org; 27 Jun 2022 11:50:08 +0000 Received: from localhost ([127.0.0.1]:50092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5nFo-0002Bl-0K for submit@debbugs.gnu.org; Mon, 27 Jun 2022 07:50:08 -0400 Received: from mout.gmx.net ([212.227.17.21]:42905) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5nFk-0002B6-Mm for 56239@debbugs.gnu.org; Mon, 27 Jun 2022 07:50:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1656330597; bh=3dszv1r4jBAkfBquyZoxkgSJIEbkkdsA4aexD0exQSE=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=iQSbSr9m6ti+C8O40nEF8ekks4Wnsa6ns0Zct7KsuBfP24VgdABJ2AuSP0ISDe/Iw VQTexAgvsDF26fezsCUsdovhP8hhMNm7YkNGqtPAde+K9rc4d1MmN9qZ0DuTqOuNP4 D835UYu/2Sg8z/3XRLIR4KZKJDFaTDZC60QvfbiY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.151.145]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MPXhK-1oJb0x1o2M-00MciS; Mon, 27 Jun 2022 13:49:57 +0200 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#56239: 28.1; Cannot send signals by name to inferior process by calling signal-process interactively References: <87edzb9mot.fsf@gnus.org> <87bkuev1qu.fsf@gmx.de> <87o7ye5qxy.fsf@gnus.org> <83ilom8i2c.fsf@gnu.org> Date: Mon, 27 Jun 2022 13:49:56 +0200 In-Reply-To: <83ilom8i2c.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Jun 2022 14:24:59 +0300") Message-ID: <877d52uxzv.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:Uu8eiPSDJQdGr/wRTEsqF0iu4idc9Ad+6EgWx4MazQxqeaT9mK+ gVqxSn1h/xNKNIy5Z0jXaDjoV1h8t0ubFCvNQgE3EzoPNiw71w2/L9FRrrSBdXLAhtUdEy/ LcjLNQPdiqA2rrsn5hmeD6NM6V/iE65m2kQ4rYT9lx7zjC5G0YIZl52/k2hOPzUPyQmSr+C zuleGF7G8/X07+fJ7rFVg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:lWNEhOmhrlg=:vVgAyEIDUfsQH5vshkMLBD H8rUQ81yfFbLmoc+ZueNp+1AYEjq0CxId8Hb7VQkn3/dHM3oyIK9X7fSXM4369cYFphbIRMqw SOM3qitMlPfFtgVJ9JaVI0RSoSIXFRR9xVawv8VJMusPJIuskVUMPdkeR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-Envelope-To: 56239 Cc: Lars Ingebrigtsen , 56239@debbugs.gnu.org, mardani29@yahoo.es X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi, >> > Unfortunately, it's not such simple. signal-process can also deliver = a >> > signal to a process running on a remote host. The signal names on tha= t >> > host might differ from the signal names on the local host, collected = by >> > Fsignal_names. >> > >> > How do we want to handle this? I don't see a simple solution, because >> > the file name handler machinery is not in use here. >> >> I think users will just have to use numbers in those cases (which is >> still possible). I.e., the symbol names are a convenience where it >> works, but if not, then users can't use those. > > I agree, but there's a larger problem here: signal numbers that > correspond to given names are also system-dependent. That is, SIGINT > could be 2 on one system and 295 on another. So if you type > > M-x signal-process RET INT RET > > you could send to the process a signal number that will be interpreted > on the remote host as some completely different signal. > > So I think we should at least document that symbolic names should be > used for remote processes only very carefully, if at all. I don't mean to refrain from signal names. We have them already - Tramp determines those names on the remote host when process-file-return-signal-string is non-nil. The signal names are returned when process-file returns with a retcode greater or equal 128. I like to use this existing mechanism also with signal-process. The point is that signal-process (and interrupt-process) don't use the file name handler mechanism, but an own implementation based on variables signal-process-functions and interrupt-process-functions. This I would like to move to the default file name handler implementation, which would include a solution for signal names. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 29 09:35:13 2022 Received: (at 56239) by debbugs.gnu.org; 29 Jun 2022 13:35:13 +0000 Received: from localhost ([127.0.0.1]:58118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Xqa-00076Z-N9 for submit@debbugs.gnu.org; Wed, 29 Jun 2022 09:35:13 -0400 Received: from mout.gmx.net ([212.227.17.21]:37851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6XqV-00075z-2o for 56239@debbugs.gnu.org; Wed, 29 Jun 2022 09:35:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1656509699; bh=mzdbv7qP+fMK+5zW7LCeoaPKtvnpYvSep1Zol7RCFe4=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=AD3aA1S/TL4i31SNCYeRoYJxnAiI65TdWqGP1SGyZnjkZ1iW4dszS83oLaQBugwnA b3ZL1/Zms5JqZnW3u2wkSWwKetwOBhP7kdylfDBxobb/SgQs00Tf9C1X2becarnPrd PnX2XAbMISkVVrgB8LXnlz7AYGN7zNnnlvdQl/vw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([79.140.124.34]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MIdeX-1nsX5y1zHh-00Ec7F; Wed, 29 Jun 2022 15:34:59 +0200 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#56239: 28.1; Cannot send signals by name to inferior process by calling signal-process interactively References: <87edzb9mot.fsf@gnus.org> <87bkuev1qu.fsf@gmx.de> <87o7ye5qxy.fsf@gnus.org> <83ilom8i2c.fsf@gnu.org> <877d52uxzv.fsf@gmx.de> Date: Wed, 29 Jun 2022 15:34:57 +0200 In-Reply-To: <877d52uxzv.fsf@gmx.de> (Michael Albinus's message of "Mon, 27 Jun 2022 13:49:56 +0200") Message-ID: <8735fnh9tq.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:0A9bB9d5RTAa8ktz8MghAJ/Yo0x+6LTQq/s9ssBINRMRCU7l1vm Te7jeF19saz45Bux8k2qHq8dnGJvBR53UO7u675xZY8iWMgwzUOVXLIhByeOEGmD3Ctewkh naQ2/K/O859rDH1bNOjdb0rcSw7tED086rBDUfAQsYj/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QCoN5UFfDDKMm/UunXKtsL5bWb1upVTYRTlZVf9P3NFa94vwgTBNORq9n9kntq3SPpxHfNh 3JhUnLwcUU47N/9ZQG1BOAJFDIEGMMV7Yv2yyB+0wCZ6M2qQ5LdjhNPOHFxwJBwDYuksZ7qNA 0f3AbnhW5KQjEIXsV8hejsaZyFWpUCRrUFhVAWnimjQMojBzkntJB2YHQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 56239 Cc: Lars Ingebrigtsen , 56239@debbugs.gnu.org, mardani29@yahoo.es X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Michael Albinus writes: > Hi, >>> > Unfortunately, it's not such simple. signal-process can also deliver a >>> > signal to a process running on a remote host. The signal names on that >>> > host might differ from the signal names on the local host, collected by >>> > Fsignal_names. >>> > >>> > How do we want to handle this? I don't see a simple solution, because >>> > the file name handler machinery is not in use here. >>> >>> I think users will just have to use numbers in those cases (which is >>> still possible). I.e., the symbol names are a convenience where it >>> works, but if not, then users can't use those. >> >> I agree, but there's a larger problem here: signal numbers that >> correspond to given names are also system-dependent. That is, SIGINT >> could be 2 on one system and 295 on another. So if you type >> >> M-x signal-process RET INT RET >> >> you could send to the process a signal number that will be interpreted >> on the remote host as some completely different signal. >> >> So I think we should at least document that symbolic names should be >> used for remote processes only very carefully, if at all. > > I don't mean to refrain from signal names. We have them already - Tramp > determines those names on the remote host when > process-file-return-signal-string is non-nil. The signal names are > returned when process-file returns with a retcode greater or equal 128. I've checked again - we don't send signals to remote hosts interactively. This would be posible only if the REMOTE argument of signal-process is non-nil. This doesn't happen interactively. Nothing to do ATM, therefore. > I like to use this existing mechanism also with signal-process. The > point is that signal-process (and interrupt-process) don't use the file > name handler mechanism, but an own implementation based on variables > signal-process-functions and interrupt-process-functions. This I would > like to move to the default file name handler implementation, which > would include a solution for signal names. This is a different topic, so we shouldn't discuss it here. Best regards, Michael. From unknown Fri Jun 20 07:13:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 28 Jul 2022 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator