unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: Option for saving all buffers always?
Date: Sat, 10 Aug 2019 22:57:55 +0200	[thread overview]
Message-ID: <875zn4pwks.fsf@telefonica.net> (raw)
In-Reply-To: 8e746ec8-10c7-fe05-edbf-1aba839443c4@gmail.com

Clément Pit-Claudel <cpitclaudel@gmail.com> 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	other threads:[~2019-08-10 20:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-05 10:51 Option for saving all buffers always? Lars Ingebrigtsen
2019-08-05 13:16 ` Søren Pilgård
2019-08-05 13:44   ` Lars Ingebrigtsen
2019-08-05 13:50     ` Noam Postavsky
2019-08-05 13:52       ` Lars Ingebrigtsen
2019-08-05 14:25         ` Noam Postavsky
2019-08-05 15:02           ` Andreas Schwab
2019-08-05 15:46 ` Eric Abrahamsen
2019-08-07 18:29   ` Lars Ingebrigtsen
2019-08-10 18:54     ` Stephen Leake
     [not found]       ` <CADoYgq-np68aTT=XekhoYOWS_wyi7YH7t8gJuiMOoHwNOe5iog@mail.gmail.com>
2019-08-11  4:35         ` Fwd: " Bob Newell
2019-08-07 15:07 ` Marcin Borkowski
2019-08-10 19:40 ` Clément Pit-Claudel
2019-08-10 20:57   ` Óscar Fuentes [this message]
2019-08-10 23:12   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875zn4pwks.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).