unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 56239@debbugs.gnu.org
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	[thread overview]
Message-ID: <m1tu8789mt.fsf@yahoo.es> (raw)
In-Reply-To: m1tu8789mt.fsf.ref@yahoo.es


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






       reply	other threads:[~2022-06-26 20:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m1tu8789mt.fsf.ref@yahoo.es>
2022-06-26 20:14 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-06-26 20:47   ` bug#56239: 28.1; Cannot send signals by name to inferior process by calling signal-process interactively Lars Ingebrigtsen
2022-06-27 10:28     ` Michael Albinus
2022-06-27 10:41       ` Lars Ingebrigtsen
2022-06-27 11:24         ` Eli Zaretskii
2022-06-27 11:49           ` Michael Albinus
2022-06-29 13:34             ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1tu8789mt.fsf@yahoo.es \
    --to=bug-gnu-emacs@gnu.org \
    --cc=56239@debbugs.gnu.org \
    --cc=mardani29@yahoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).