tags 48079 - patch thanks Lars Ingebrigtsen writes: > Stefan Kangas writes: > >> But perhaps the fix is as simple as: >> >> diff --git a/.gitignore b/.gitignore >> index fcbc9cd7f4..e27ebe36d0 100644 >> --- a/.gitignore >> +++ b/.gitignore >> @@ -135,6 +135,7 @@ src/gl-stamp >> *.dll >> *.core >> *.elc >> +*.elc[0-9A-Za-z][0-9A-Za-z][0-9A-Za-z][0-9A-Za-z][0-9A-Za-z][0-9A-Za-z] >> *.eln >> *.o >> *.res > > Sounds like a good idea to me. (But add a comment about what these > files are.) Thanks. But now I am seeing that some of these files have not been deleted in my tree: lisp/emacs-lisp/comp.elcivrXZS lisp/window.elc9aaVMg This might be because I interrupted the build process at some point; I don't know. These files don't get removed when I run extraclean or bootstrap. So if we just ignore them there is a risk that these files will slowly build up over time. Perhaps we should also make sure they get cleaned up when building, as in the attached. Another alternative, arguably more correct, would be to figure out exactly under which circumstances these files gets left over and delete them there. (There is a let-bound `kill-emacs-hook' in `byte-compile-file', which might be a good place to start looking.) What makes this a bit tricky is that this is somewhat hard to reproduce.