From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs 22.3.1 igrep issue
Date: Wed, 24 Mar 2010 18:53:47 -0600 [thread overview]
Message-ID: <hoec6s$osn$1@dough.gmane.org> (raw)
In-Reply-To: <OF22942420.E280A4DD-ON852576F0.00081B01-852576F0.00087AF9@us.ibm.com>
Kenneth Goldman wrote:
> Lennart Borgman <lennart.borgman@gmail.com> wrote on 03/23/2010 05:49:54 PM:
...
> > > 1 - The first few lines of output look like this, which means I can't
> > > immediately start
> > > stepping through. I have to click on the igrep frame first.
> >
> > I can't understand what you mean. What did you expect?
>
> Those 3 lines (the ones with the mode, the date, and the blank)
> confuse next-error.
>
> >
> > > -*- mode: igrep; default-directory: "f:/emacs/" -*-
> > > Igrep started at Tue Mar 23 15:33:32
> > >
> > > grep -n -i -e copy f:/emacs/*.el NUL
> > > ... and then the matches ...
Ah, I see the same thing in 22.3. For some reason, Emacs identifies the
"Igrep started at ..." line as a grep hit:
There are text properties here:
face (compilation-info underline)
help-echo "mouse-2: visit this file and line"
keymap compilation-button-map
message [Show]
mouse-face highlight
Here's where igrep hands over control to Emacs:
(if (fboundp 'compilation-start) ; Emacs 22
(let ((compilation-process-setup-function 'grep-process-setup))
(or (fboundp 'igrep-mode)
(define-derived-mode igrep-mode grep-mode "Igrep"))
(compilation-start command
'igrep-mode
nil
(cond ((eq compilation-highlight-regexp t))
(compilation-highlight-regexp
(if (eq program "fgrep")
(regexp-quote regex)
regex)))))
(compile-internal command (format "No more %s matches" program)
"Igrep" nil grep-regexp-alist))
--
Kevin Rodgers
Denver, Colorado, USA
next prev parent reply other threads:[~2010-03-25 0:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-23 19:50 emacs 22.3.1 igrep issue Kenneth Goldman
2010-03-23 21:49 ` Lennart Borgman
2010-03-24 1:32 ` Kenneth Goldman
2010-03-24 1:57 ` Lennart Borgman
2010-03-25 0:53 ` Kevin Rodgers [this message]
2010-03-26 14:37 ` Richard Riley
2010-03-24 5:04 ` Kevin Rodgers
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='hoec6s$osn$1@dough.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.