unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Nordlöw <per.nordlow@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Multiple greps and compiles from inside Emacs
Date: Tue, 09 Oct 2007 04:11:07 -0700	[thread overview]
Message-ID: <1191928267.240271.14800@k79g2000hse.googlegroups.com> (raw)
In-Reply-To: <mailman.1875.1191925547.18990.help-gnu-emacs@gnu.org>

On 9 Okt, 12:25, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 09.10.2007 um 11:05 schrieb Nordlöw:
>
> > How can I make this happen?
>
> Rename the buffer?
>
> --
> Greetings
>
>    Pete
>
> "They that can give up essential liberty to obtain a little temporary
> safety deserve neither liberty nor safety."
>       -Benjamin Franklin, Historical Review of Pennsylvania.

Great! This does what I want for compilation:

(setq compilation-buffer-name-function
      '(lambda (mode)
	 (concat "*" (downcase mode) "-" compilation-directory "*"))
      )

Now I can build stuff (such as new versions of emacs-cvs) in the
background while working on my projects. One case less where I need to
temporarily leave Emacs to do stuff.
grep.el does not contain a similar logic this seems more complicated
to solve.

Nordlöw

  parent reply	other threads:[~2007-10-09 11:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-09  9:05 Multiple greps and compiles from inside Emacs Nordlöw
2007-10-09 10:25 ` Peter Dyballa
     [not found] ` <mailman.1875.1191925547.18990.help-gnu-emacs@gnu.org>
2007-10-09 11:11   ` Nordlöw [this message]
2007-10-09 19:42     ` Johan Lindström

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=1191928267.240271.14800@k79g2000hse.googlegroups.com \
    --to=per.nordlow@gmail.com \
    --cc=help-gnu-emacs@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.
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).