unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* compile.el regexp comments
@ 2004-03-24 22:27 Kevin Ryde
  2004-03-25  7:48 ` Richard Stallman
  2004-03-25 20:39 ` Daniel Pfeiffer
  0 siblings, 2 replies; 5+ messages in thread
From: Kevin Ryde @ 2004-03-24 22:27 UTC (permalink / raw)


Umm, have the comments with example error messages matched by the
various compilation-error-regexp's quietly disappeared in the new
compile.el?

No doubt wizards can tell just at a glance what a regexp matches (and
is supposed to match), but I thought the samples were a good crib for
mere mortals.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile.el regexp comments
  2004-03-24 22:27 compile.el regexp comments Kevin Ryde
@ 2004-03-25  7:48 ` Richard Stallman
  2004-03-25 10:14   ` Kim F. Storm
  2004-03-25 20:39 ` Daniel Pfeiffer
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2004-03-25  7:48 UTC (permalink / raw)
  Cc: emacs-devel

    Umm, have the comments with example error messages matched by the
    various compilation-error-regexp's quietly disappeared in the new
    compile.el?

    No doubt wizards can tell just at a glance what a regexp matches (and
    is supposed to match), but I thought the samples were a good crib for
    mere mortals.

I found those comments extremely valuable in the past--I hope someone
will bring them back.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile.el regexp comments
  2004-03-25  7:48 ` Richard Stallman
@ 2004-03-25 10:14   ` Kim F. Storm
  2004-03-25 22:01     ` Kevin Ryde
  0 siblings, 1 reply; 5+ messages in thread
From: Kim F. Storm @ 2004-03-25 10:14 UTC (permalink / raw)
  Cc: Kevin Ryde, emacs-devel

Richard Stallman <rms@gnu.org> writes:

>     Umm, have the comments with example error messages matched by the
>     various compilation-error-regexp's quietly disappeared in the new
>     compile.el?
> 
>     No doubt wizards can tell just at a glance what a regexp matches (and
>     is supposed to match), but I thought the samples were a good crib for
>     mere mortals.
> 
> I found those comments extremely valuable in the past--I hope someone
> will bring them back.

They are now in etc/compilation.txt.

The really cool thing about this is that when you open that file in
emacs, the error messages are decorated by the new compile...

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile.el regexp comments
  2004-03-24 22:27 compile.el regexp comments Kevin Ryde
  2004-03-25  7:48 ` Richard Stallman
@ 2004-03-25 20:39 ` Daniel Pfeiffer
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Pfeiffer @ 2004-03-25 20:39 UTC (permalink / raw)
  Cc: emacs-devel

Saluton Kevin,

Kevin Ryde <user42@zip.com.au> skribis:

> Umm, have the comments with example error messages matched by the
> various compilation-error-regexp's quietly disappeared in the new
> compile.el?
> 
> No doubt wizards can tell just at a glance what a regexp matches (and
> is supposed to match), but I thought the samples were a good crib for
> mere mortals.

Mere mortals should look at etc/compilation.txt which shows not only what is
matched, but also how it is matched.

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- 
lerne / learn / apprends / läramå / ucz się    Esperanto:
                              http://lernu.net/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile.el regexp comments
  2004-03-25 10:14   ` Kim F. Storm
@ 2004-03-25 22:01     ` Kevin Ryde
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Ryde @ 2004-03-25 22:01 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

storm@cua.dk (Kim F. Storm) writes:
>
> They are now in etc/compilation.txt.

Oops, and there's even a link to it.  I was looking at just the
alist-alist bit.  Perhaps a couple of words like:


[-- Attachment #2: compile.el.diff --]
[-- Type: text/plain, Size: 566 bytes --]

*** compile.el.~1.287.~	Thu Mar 25 08:12:04 2004
--- compile.el	Fri Mar 26 08:01:45 2004
*************** (defvar compilation-arguments nil
*** 147,152 ****
--- 147,156 ----
  (defvar compilation-num-errors-found)
  
  (defconst compilation-error-regexp-alist-alist
+ 
+   ;; etc/compilation.txt contains sample messages matched by these regexps
+   ;; (see compilation-error-regexp-alist docstring below)
+ 
    '((absoft
       "^\\(?:[Ee]rror on \\|[Ww]arning on\\( \\)\\)?[Ll]ine[ \t]+\\([0-9]+\\)[ \t]+\
  of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))

[-- Attachment #3: Type: text/plain, Size: 141 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-25 22:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-24 22:27 compile.el regexp comments Kevin Ryde
2004-03-25  7:48 ` Richard Stallman
2004-03-25 10:14   ` Kim F. Storm
2004-03-25 22:01     ` Kevin Ryde
2004-03-25 20:39 ` Daniel Pfeiffer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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