help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple *compilation* buffers


From: John Paul Foster
Subject: Re: Multiple *compilation* buffers
Date: Mon, 03 Nov 2008 08:13:48 +0000

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]