GNU bug report logs -
#52018
28.0.60; Improve documentation for compilation-finish-functions
Previous Next
Reported by: Thibault Polge <thibault <at> thb.lt>
Date: Sun, 21 Nov 2021 10:49:01 UTC
Severity: minor
Tags: wontfix
Found in version 28.0.60
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> But this is not entirely accurate, is it?
I've done a quick test, and this seems accurate. As I understand it,
the code you quoted:
> (let ((out-string (format ":%s [%s]" process-status (cdr status)))
> (msg (format "%s %s" mode-name
> (replace-regexp-in-string "\n?$" ""
> (car status)))))
comes from a let block that happens in the context of:
(setq mode-line-process [...]
That is used to, IIUC, decorate the mode line with info about the
compilation result. This setq, and the let it wraps, ends just
before:
(force-mode-line-update)
[...]
(run-hook-with-args 'compilation-finish-functions cur-buffer msg)))
So the msg that compilation-handle-exit receives is passed, unmodified,
to all 'compilation-finish-functions`.
Best regards,
Thibault
This bug report was last modified 3 years and 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.