emacs-devel
[Top][All Lists]
Advanced

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

Re: Option for saving all buffers always?


From: Óscar Fuentes
Subject: Re: Option for saving all buffers always?
Date: Sat, 10 Aug 2019 22:57:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Clément Pit-Claudel <address@hidden> writes:

> On 2019-08-05 06:51, Lars Ingebrigtsen wrote:
>> (The question is
>> especially annoying when compiling/grepping for stuff.)
>
> Patching M-x compile and M-x rgrep to only prompt about files within
> the current directory or its descendants has been on my TODO-list for
> a long time.

+1

I actually used a patched Magit to do this, until they added the feature
(or I submitted it, dunno).

Actually, as it is common to have multi-level source trees and the build
can be invoked from anywhere, the feature needs a method to determine
the root directory. Assuming that the interesting buffers are on the
current directory or its descendants is ok for rgrep, but not for
compile.




reply via email to

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