From: Dan Jacobson <jidanni@jidanni.org>
Subject: Re: sometimes I want to compile and not save files nor be asked
Date: Fri, 30 Jul 2004 05:07:09 +0800 [thread overview]
Message-ID: <87k6wmzfnm.fsf@jidanni.org> (raw)
In-Reply-To: 87acxj3ay6.fsf@jay.tmax.co.kr
>>>>> "j" == jay <jay@_HOSTNAME_> emails me:
j> * Dan Jacobson <jidanni@jidanni.org> at 2004-07-15 01:50+0800
j> | Well gosh, how about what if we just plain don't want to be asked
j> | about saving, and don't want gratuitous saving?
j> Well, I guess this is more about feature request rather than bug report.
j> Anyway, I'm using the following simple advice to do the job:
Well OK, but my postings here are mainly for "permanent changes to
emacs for the benefit of future generations", not for advice stuff for
little old me's ~/.emacs.
j> (setq compilation-read-command t
j> compilation-ask-about-save nil)
j> (defmacro do-without-save-buffers (command)
j> `(defadvice ,command (around dont-ask-dont-save-buffers activate)
j> (flet ((save-some-buffers (&rest args) nil))
j> ad-do-it)))
j> (do-without-save-buffers compile)
j> (do-without-save-buffers recompile)
next prev parent reply other threads:[~2004-07-29 21:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.334.1090173850.1960.bug-gnu-emacs@gnu.org>
2004-07-28 17:23 ` sometimes I want to compile and not save files nor be asked Kevin Rodgers
2004-07-29 11:20 ` Richard Stallman
[not found] ` <87acxj3ay6.fsf@jay.tmax.co.kr>
2004-07-29 21:07 ` Dan Jacobson [this message]
2004-07-14 17:50 Dan Jacobson
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=87k6wmzfnm.fsf@jidanni.org \
--to=jidanni@jidanni.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).