unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* compile: don't ask over and over about saving unrelated files
@ 2003-06-18  9:27 Dan Jacobson
  0 siblings, 0 replies; 5+ messages in thread
From: Dan Jacobson @ 2003-06-18  9:27 UTC (permalink / raw)


How about when you do M-x compile and there's some unrelated files you
are not ready to save, and you wish compile wouldn't keep asking you
about them each compile.

Sure we can hit y y y q each time, but sooner or later you end up
saving them one by one from typing errant y's.

I'm not sure how to solve this.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile: don't ask over and over about saving unrelated files
       [not found] <mailman.8141.1055931090.21513.bug-gnu-emacs@gnu.org>
@ 2003-06-18 20:48 ` Kevin Rodgers
  2003-06-21  4:57   ` Richard Stallman
       [not found]   ` <mailman.8387.1056171535.21513.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Kevin Rodgers @ 2003-06-18 20:48 UTC (permalink / raw)


Dan Jacobson wrote:

> How about when you do M-x compile and there's some unrelated files you
> are not ready to save, and you wish compile wouldn't keep asking you
> about them each compile.
> 
> Sure we can hit y y y q each time, but sooner or later you end up
> saving them one by one from typing errant y's.
> 
> I'm not sure how to solve this.


Perhaps we could make compile (actually save-some-buffers, which compile
calls for this purpose) distinguish Y from y and N from n, for the
purpose of remembering which files should be saved or not in the future
without asking.

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile: don't ask over and over about saving unrelated files
  2003-06-18 20:48 ` compile: don't ask over and over about saving unrelated files Kevin Rodgers
@ 2003-06-21  4:57   ` Richard Stallman
       [not found]   ` <mailman.8387.1056171535.21513.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2003-06-21  4:57 UTC (permalink / raw)
  Cc: gnu-emacs-bug

    Perhaps we could make compile (actually save-some-buffers, which compile
    calls for this purpose) distinguish Y from y and N from n, for the
    purpose of remembering which files should be saved or not in the future
    without asking.

I really dislike the idea of saving certain files without asking;
however, the feature of making some files as "don't ask" for M-x
compile seems useful.  If you'd like to add that, please do.

One complication is that compile just calls save-some-buffers.
So this feature has to be in save-some-buffers, but only when it
is being done on behalf of compile, not all the time.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile: don't ask over and over about saving unrelated files
       [not found]   ` <mailman.8387.1056171535.21513.bug-gnu-emacs@gnu.org>
@ 2003-06-21  7:06     ` David Kastrup
  2003-06-22 23:45       ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: David Kastrup @ 2003-06-21  7:06 UTC (permalink / raw)


Richard Stallman <rms@gnu.org> writes:

>     Perhaps we could make compile (actually save-some-buffers, which
>     compile calls for this purpose) distinguish Y from y and N from
>     n, for the purpose of remembering which files should be saved or
>     not in the future without asking.
> 
> I really dislike the idea of saving certain files without asking;
> however, the feature of making some files as "don't ask" for M-x
> compile seems useful.  If you'd like to add that, please do.
> 
> One complication is that compile just calls save-some-buffers.  So
> this feature has to be in save-some-buffers, but only when it is
> being done on behalf of compile, not all the time.

And the list of files to ignore should probably be in a buffer-local
variable, shouldn't it?  Since for different compilations, different
files might not warrant saving.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile: don't ask over and over about saving unrelated files
  2003-06-21  7:06     ` David Kastrup
@ 2003-06-22 23:45       ` Richard Stallman
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2003-06-22 23:45 UTC (permalink / raw)
  Cc: gnu-emacs-bug

    And the list of files to ignore should probably be in a buffer-local
    variable, shouldn't it?  Since for different compilations, different
    files might not warrant saving.

This would only work the way you intend if you switch to the
compilation buffer before doing M-x compile.  But it is normal
to do M-x compile from other buffers, and in that mode of use,
the local variable won't do the job.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-06-22 23:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.8141.1055931090.21513.bug-gnu-emacs@gnu.org>
2003-06-18 20:48 ` compile: don't ask over and over about saving unrelated files Kevin Rodgers
2003-06-21  4:57   ` Richard Stallman
     [not found]   ` <mailman.8387.1056171535.21513.bug-gnu-emacs@gnu.org>
2003-06-21  7:06     ` David Kastrup
2003-06-22 23:45       ` Richard Stallman
2003-06-18  9:27 Dan Jacobson

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).