[Top][All Lists]

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

Re: Converting from compile-internal to compilation-start

From: Kevin Rodgers
Subject: Re: Converting from compile-internal to compilation-start
Date: Fri, 09 Jan 2009 20:04:44 -0700
User-agent: Thunderbird (Macintosh/20081209)

kidologie wrote:
Hmm had problems:
compilation-buffer-name: Wrong number of arguments: #[nil "À‡" ["rt-
nits"] 1 "rt-nits"], 1

I did:

  (compilation-start (concat "/auto/eigrp/bin/nits -emacs " command)
                    nil #'(lambda (mode-name) "*rt-nits*"))

And that worked fine - I just pulled it as an example from the emacs
source - without understanding why it's happy.

Oops, sorry for forgetting the mode-name argument.

Which brings me to another point with the new compilation-start - why
am I forced to enter a mode - as in your example - 'grep-mode? In my
cases I'm just kicking off a unix script under the covers and it
doesn't below to any particular mode..

The mode defines the regexp-alist used to match errors/hits/whatever you
want to navigate to via C-x `.

Kevin Rodgers
Denver, Colorado, USA

reply via email to

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