GNU bug report logs - #55056
[PATCH] Delete temporary Flymake Elisp files

Previous Next

Package: emacs;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Thu, 21 Apr 2022 16:43:01 UTC

Severity: normal

Tags: moreinfo, patch

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Philip Kaludercic <philipk <at> posteo.net>
To: 55056 <at> debbugs.gnu.org
Subject: bug#55056: [PATCH] Delete temporary Flymake Elisp files
Date: Thu, 21 Apr 2022 16:42:05 +0000
[Message part 1 (text/plain, inline)]
Tags: patch


My temporary directory appears to always be littered with flymake files.
The reason for this appears to be that the Elisp Flymake backend doesn't
always clean up after itself, when it should.  In the worst case I can
run out of space and that can mess up a lot of things on a system.

The below patch adds a check to the sentinel to do so.  I was a bit
paranoid and considered more process-states that might be necessary, but
I hope that someone with a better understanding of the process interface
will be able to help here.

In GNU Emacs 29.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 2.24.33, cairo version 1.16.0)
 of 2022-04-18 built on icterid
Repository revision: 7b1881682bfbd1ff83d47b88fa8cca22c0290c17
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure --with-native-compilation --with-cairo --with-harfbuzz
 LDFLAGS=-flto 'CFLAGS=-march=native -mtune=native -pipe''

[0001-Delete-temporary-Flymake-Elisp-files-every-time-a-pr.patch (text/patch, attachment)]
[Message part 3 (text/plain, inline)]
-- 
	Philip Kaludercic

This bug report was last modified 3 years and 79 days ago.

Previous Next


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