bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62004: 30.0.50; comp-run-async-workers failure when default-director


From: No Wayman
Subject: bug#62004: 30.0.50; comp-run-async-workers failure when default-directory deleted
Date: Mon, 06 Mar 2023 12:20:21 -0500
User-agent: mu4e 1.9.21; emacs 30.0.50


Eli Zaretskii <eliz@gnu.org> writes:

That's not the same check

I'm aware. That's why I chose "similar" over "same".

I'm not sure we should do anything here: after all, the error message
tells what's wrong quite clearly.

If it's the caller's responsibility to ensure a subprocess is invoked from an existing directory, fair enough.
This is one such case where that is not guaranteed, though.
I've seen similar errors pop up in other packages.
It would probably be better to offer a way to ensure the subprocess is run in an existing directory in general.
Is there an elisp idiom for such cases? e.g.

(let ((default-directory (guaranteed-to-exist-directory)))
 ;; start subprocess
)







reply via email to

[Prev in Thread] Current Thread [Next in Thread]