GNU bug report logs - #78784
[PATCH] Improve the documentation of the internal Lisp_Process->status field

Previous Next

Package: emacs;

Reported by: Steven Allen <steven <at> stebalien.com>

Date: Fri, 13 Jun 2025 14:56:02 UTC

Severity: minor

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


Message #16 received at 78784 <at> debbugs.gnu.org (full text, mbox):

From: Steven Allen <steven <at> stebalien.com>
To: rms <at> gnu.org
Cc: 78784 <at> debbugs.gnu.org
Subject: Re: bug#78784: [PATCH] Improve the documentation of the internal
 Lisp_Process->status field
Date: Sun, 15 Jun 2025 22:39:13 -0700
Richard Stallman <rms <at> gnu.org> writes:

> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
>   > Contrary to the existing documentation here, the value of this field
>   > cannot be the symbols open or closed. Furthermore, this field is never
>   > set to "stop" for network connections.
>
> This could be considered a bug in the documentation, or a bug in the code.
> To tell which it is, is not automatic.

For network processes, the various status values are by
`process-status`: run -> open, exit -> closed, etc. Here I'm just
updating the internal documentation so contributors aren't confused
about why src/process.c never checks if a process's (internal) status is
open/closed/etc but instead only checks for run/exit/etc.

Effectively, "open" and "closed" are virtual states.




This bug report was last modified 2 days ago.

Previous Next


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