GNU bug report logs - #30461
27.0.50; Incorrect description of sentinels

Previous Next

Package: emacs;

Reported by: p.stephani2 <at> gmail.com

Date: Wed, 14 Feb 2018 22:11:01 UTC

Severity: minor

Tags: fixed

Found in version 27.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: p.stephani2 <at> gmail.com, 30461 <at> debbugs.gnu.org
Subject: bug#30461: 27.0.50; Incorrect description of sentinels
Date: Thu, 04 Feb 2021 12:04:09 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> That is, the sentinel isn't called when the process is stopped or
>> continued.
>
> I think the sentinel is in fact called when the process is continued:
> that's where that "run" came from, right?  You will see in
> process_send_signal that we explicitly call the sentinel when the
> signal is SIGCONT.

[...]

> The documentation describes the strings produced by status_message.
> You will see that there's an "else" catch-all clause there that
> produces the name of the status symbol it is passed as an argument, in
> case it doesn't recognize it.  I believe that's where "run" comes from
> (note that it has no final newline, unlike the documented event
> strings).

I've now added "run\n" to the list of example strings in the manual, and
also clarified that it's not an exhaustive list.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.