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

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

bug#68570: 29.1; recompile might not re-use project-compile's buffer


From: Juri Linkov
Subject: bug#68570: 29.1; recompile might not re-use project-compile's buffer
Date: Tue, 23 Jan 2024 09:09:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>> This patch would allow 'recompile' to use the renamed project compilation 
>> buffer:
>>
> [...]
>> Then 'project-recompile' won't be needed anymore.
>
> IIUC that sets `compilation-buffer-name-function' in the buffer that was
> active when you ran `project-compile'.  If you run `recompile' in another
> buffer of the project then `recompile' won't re-use the `project-compile'
> buffer.

Recompiling from a non-compilation buffer has security concerns.

The patch that I proposed above is intended only for
recompiling from a compilation buffer.  It sets
`compilation-buffer-name-function' in the compilation buffer.





reply via email to

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