GNU bug report logs - #77775
30.1; Proced performance

Previous Next

Package: emacs;

Reported by: Rahguzar <rahguzar <at> mailbox.org>

Date: Sun, 13 Apr 2025 07:28:04 UTC

Severity: normal

Found in version 30.1

Full log


View this message in rfc822 format

From: Rahguzar <rahguzar <at> mailbox.org>
To: Roland Winkler <winkler <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Laurence Warne <laurencewarne <at> gmail.com>, 77775 <at> debbugs.gnu.org
Subject: bug#77775: 30.1; Proced performance
Date: Mon, 14 Apr 2025 15:55:36 +0500
Hi Roland,

Roland Winkler <winkler <at> gnu.org> writes:

> That's my point:
>
> The code used to be
>
>   (let ((standard-attributes
>          (car (proced-process-attributes (list (emacs-pid)))))
>
> and that's what the comment refers to that is still present in the code.
> Somehow, this got replaced by
>
>  (let ((standard-attributes
>         (car (proced-process-attributes (list-system-processes))))
>
> and I want to find out what this change was supposed to accomplish.

This was done in the commit
e48ac2e2040 * Handle remote system processes
in order to support remote processes.

> Your patch
>
>   (let ((standard-attributes (car process-alist))
>
> uses somewhat randomly the first process of process-alist.

which is the current behavior: the process that gets used is the one
last in `list-system-processes' and that process is the first one in
`process-alist'.

Rahguzar




This bug report was last modified 12 days ago.

Previous Next


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