From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel =?UTF-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56239: 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: References: Reply-To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7522"; mail-complaints-to="usenet@ciao.gmane.io" To: 56239@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 26 22:16:13 2022 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 1o5Yg1-0001jr-3d for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jun 2022 22:16:13 +0200 Original-Received: from localhost ([::1]:44260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5Yfz-0001Wy-Pz for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jun 2022 16:16:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5Yfq-0001Wg-18 for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 16:16:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5Yfp-00017D-Pn for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 16:16:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5Yfp-0000LO-Ls for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 16:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2022 20:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56239 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16562745061175 (code B ref -1); Sun, 26 Jun 2022 20:16:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jun 2022 20:15:06 +0000 Original-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 Original-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 Original-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 Original-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.ikBDd5BulrZ8xI6A4VGYAjmjNXsnJ.V9Hdqmc_km4MYga.ciIm6eOEZYjhaLQhFrF m_iBSxNsBHojOCyXK49DyCSXyLQujwljxaQ1Jsc6pnSvxPywvWEZW2.dgcS4RUgCMeIqnxQ71Vhl 2RZQlm_vuvK_FYCBCVeLKsqyOg_VMd1C8nHWsJh6gzd2xTWIg8jX1OE8o_zcKvQNEapWD.Bh1YH7 kQAW4Lpk2rSxELc6d4R95k2aFj2FwdG4_V6XaOkdBXHGA6HlsZobIq1c4ZgcwFVjXRC0b.vMY.WM e7ryiDxKjl.YS17EopgpFMC.jDjrLYbw1lGW8Kkf2yhDCQoHBf_LdYjvn60UUSNxMvnSW_etVKzh 2jMkoCv1fYYPpL0fyqdORgQEYHxqPpZpgENq7QsK.KSp_PTFXWrsr00fEnT0VkuhJsVrFq4JiNbQ M2NGgSDR_PMnGk0Tr9h.tYRKyrLbQNsLHrW8_nysFJnaq9ybev9GHh8DmFlrDL65vhlJN.o_qeNt 9x6C4pPBJlZGftW9YL3Seo5p3P21NcC.o3ku.85gGr00urBuBZtt0AfhG4pOySd4tKJA7ud3oCVd 7Bs7TqM.L6uimoXeq6WtKKWzpz2YLuLEeF4VgbB1ocbrWouctL_HkBk.76PzrzMVO0LoddKNhWJ3 jvP6FNoTmKFzCyTdezJ8lDGVUVizLydJadqlK5x8U4 X-Sonic-MF: Original-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 Original-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) X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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-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" Xref: news.gmane.io gmane.emacs.bugs:235398 Archived-At: 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