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: Dmitry Gutov
Subject: bug#68570: 29.1; recompile might not re-use project-compile's buffer
Date: Wed, 7 Feb 2024 20:43:41 +0200
User-agent: Mozilla Thunderbird

On 06/02/2024 19:39, Juri Linkov wrote:
We could make a new option in compile.el which would determine whether to
do this in general: when non-nil, 'compilation-start' would save the
current dynamic value of 'compilation-buffer-name-function', and
'recompile' would call it again.
A new option would be nice, but it's so broken that I don't know
if it helps.  For example, 'M-x compile RET' in a compilation buffer
doesn't prefill the minibuffer with the current compilation command,
but uses the default command that makes no sense.

If it did so (pre-filled the command), perhaps you would just use 'M-x compile', in cases when you do want the new buffer to be created?

But it seems to work fine to me, including in 'emacs -Q':

* 'M-x compile', input 'ls', RET.
* *compilation* buffer create.
* 'M-x compile' again, in any window (old or new) - 'ls' is pre-filled as the input.





reply via email to

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