haskell / haskell-mode

Emacs mode for Haskell
http://haskell.github.io/haskell-mode/
GNU General Public License v3.0
1.33k stars 342 forks source link

Protect system processes calls #1776

Open albinus opened 2 years ago

albinus commented 2 years ago

With the upcoming Emacs 29, system process functions like list-system-processes and process-attributes work on the remote host when default-directory is remote. In order to avoid this, wrap the respective code by

(let ((default-directory temporary-file-directory))
  ...)
purcell commented 2 years ago

Hi, is this in relation to a specific problem or necessary fix, or just a random tip?

albinus commented 2 years ago

Hi, is this in relation to a specific problem or necessary fix, or just a random tip?

Just a random tip. When I've lobbied for this change, I've promised to the Emacs maintainers to inform all affected packages in (Non)GNU ELPA.