From: John Paul Foster <jaypee@jaypee.org.uk>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Multiple *compilation* buffers
Date: Mon, 03 Nov 2008 08:13:48 +0000 [thread overview]
Message-ID: <1225700028.25081.26.camel@jp-pc> (raw)
In-Reply-To: <gehm16$r12$3@ger.gmane.org>
>
> > Does it work to invoke each function with the universal argument C-u ?
>
> Probably not, `C-h f grep' says:
No universal arg doesn't work.
Got it made a function to rename the buffer by appending the directory
(defun comp-buffer-name (maj-mode)
(concat "*" (downcase maj-mode) " " default-directory "*"))
(setq compilation-buffer-name-function
comp-buffer-name)
Could do all sorts of stuff, like add the
grep command line if the mode is grep etc etc
this will do me for now.
Thanks folks
--
JP
next prev parent reply other threads:[~2008-11-03 8:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-31 10:23 Multiple *compilation* buffers John Paul Foster
2008-10-31 14:52 ` Peter Dyballa
2008-11-01 13:36 ` Kevin Rodgers
2008-11-03 8:13 ` John Paul Foster [this message]
[not found] ` <mailman.2629.1225547112.25473.help-gnu-emacs@gnu.org>
2008-12-01 3:03 ` David Combs
2008-11-01 13:35 ` Kevin Rodgers
[not found] <mailman.2567.1225462677.25473.help-gnu-emacs@gnu.org>
2008-10-31 14:46 ` Dmitry Dzhus
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=1225700028.25081.26.camel@jp-pc \
--to=jaypee@jaypee.org.uk \
--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).