From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Converting from compile-internal to compilation-start
Date: Fri, 09 Jan 2009 20:04:44 -0700 [thread overview]
Message-ID: <gk937a$713$1@ger.gmane.org> (raw)
In-Reply-To: <6aed703c-e4b2-4d29-b0c1-39566f33196f@n33g2000pri.googlegroups.com>
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
prev parent reply other threads:[~2009-01-10 3:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-07 21:13 Converting from compile-internal to compilation-start kidologie
2009-01-08 15:18 ` kidologie
2009-01-08 15:24 ` Kevin Rodgers
[not found] ` <mailman.4338.1231428224.26697.help-gnu-emacs@gnu.org>
2009-01-08 20:38 ` kidologie
2009-01-10 3:04 ` Kevin Rodgers [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='gk937a$713$1@ger.gmane.org' \
--to=kevin.d.rodgers@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.