bug#81223: [PATCH] Fix file-missing error during async native compilation

Stéphane Marks <[email protected]> Fri, 7 Aug 2026 16:25:51 +0200
Newsgroups gmane.emacs.bugs
Message-ID <CAN+1Hbq9brz3hDmutQs4rFbi15-eDthgnwrmndd1JiYkW7ZG3Q@mail.gmail.com>
I think of it more as tips to condition my muscle memory to hew closer to
accepted conventions.  That said, what makes you think that the maintainers
do not provide input, perhaps privately, to those who have commit rights
and can use said input to improve their commits?

On Fri, Aug 7, 2026 at 10:20 AM James Cherti <[email protected]>
wrote:

> I checked the Emacs git log, and many recent commit messages
> are quite long (including those written by the maintainers
> themselves). What is the actual standard here? A standard
> should apply to everyone equally.
>
> While standards and conventions are important, excessive
> criticism can make contributors hesitate to submit patches.
>
> This feels like nitpicking.
>
> --
> James Cherti
> GitHub: https://github.com/jamescherti
> Website: https://www.jamescherti.com/
>
> On 2026-08-07 09:56, Stéphane Marks wrote:
> > As a community, we should value maintainer input and attention to detail
> > for the conventions that make it easier to perform a maintainer's job.
> > When each of us regular contributors triages a potential issue, we also
> > benefit.  This isn't a hobgoblin of little minds consistency, this is
> > thoughtful consistency.
> >
> > On Fri, Aug 7, 2026 at 9:48 AM James Cherti <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     Hello Sean and Phillip,
> >
> >     Please don't make it difficult to contribute to Emacs.
> >
> >     I would appreciate it if we focused on the core changes
> >     rather than nitpicking.
> >
> >     The latest patch already includes comments that are clear
> >     enough and is ready to be merged.
> >
> >     On 2026-08-07 06:45, Sean Whitton wrote:
> >      > James Cherti [06/Aug  7:20pm -04] wrote:
> >      >> Subject: [PATCH] Fix file-missing error during async native
> >     compilation (bug#81223)
> >      >>
> >      >> The async native compilation queue can sometimes retain stale
> >     jobs for
> >      >> files that no longer exist on disk (for example, when files are
> >     removed
> >      >> during a package upgrade or deletion). Attempting to resolve the
> >     target
> >      >> .eln filename for these missing files signals a file-missing
> error.
> >      >
> >      > Please remove this or move it into comments.  We prefer not to
> have
> >      > extensive commentary in commit messages, see CONTRIBUTE.
> >      >
> >      >> * lisp/emacs-lisp/comp-run.el (comp--run-async-workers): Verify
> >     source
> >      >> files exist before attempting to resolve their .eln paths in the
> >      >> dispatch loop. In the process sentinel, wrap the compilation
> >     block in a
> >      >> condition-case to catch file-missing errors and prevent the
> >     async worker
> >      >> queue from stalling.
> >      >
> >      > Possibly this could be made shorter too, but it's less important.
> >      >
> >
> >     --
> >     James Cherti
> >     GitHub: https://github.com/jamescherti <
> https://github.com/jamescherti>
> >     Website: https://www.jamescherti.com/ <https://www.jamescherti.com/>
> >
> >
> >
>
>