all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: compile.el does not find errors in numeric filenames
Date: Sun, 06 Feb 2005 10:55:31 -0500	[thread overview]
Message-ID: <87ekftu1oe.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <9bec9e400502052133670b229c@mail.gmail.com> (Rajsekar Manokaran's message of "Sun, 6 Feb 2005 11:03:22 +0530")

> diff -Naur old/compile.el new/compile.el
> --- old/compile.el      2005-02-04 11:18:41.148180000 +0530
> +++ new/compile.el      2005-02-04 11:18:13.099444056 +0530
> @@ -214,7 +214,7 @@

>     (gnu
>      "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\
> -\\([/.]*[a-zA-Z]:?[^ \t\n:]*\\|{standard input}\\): ?\
> +\\([/.]*[[:alnum:]]:?[^ \t\n:]*\\|{standard input}\\): ?\
> \\([0-9]+\\)\\([.:]?\\)\\([0-9]+\\)?\
> \\(?:-\\(?:\\([0-9]+\\)\\3\\)?\\.?\\([0-9]+\\)?\\)?:\
> \\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\

Since the [a-zA-Z]:? is really mean to allow a ":" at the precise spot where
it tends to appear (after the drive letter in W32 paths), it might be better
to use \([a-zA-Z]:\)? so we don't allow drive letters to be digits or
accented chars.  But in the grand scheme of things, I think either way will
be fine.



        Stefan

      parent reply	other threads:[~2005-02-06 15:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-04  4:59 compile.el does not find errors in numeric filenames Rajsekar Manokaran
2005-02-04  5:50 ` Rajsekar Manokaran
2005-02-05 14:50 ` Fwd: " Rajsekar Manokaran
2005-02-06  5:33   ` Rajsekar Manokaran
2005-02-06 12:42     ` Richard Stallman
2005-02-06 13:39       ` Rajsekar Manokaran
2005-02-06 15:41         ` Andreas Schwab
2005-02-06 19:12           ` Rajsekar Manokaran
2005-02-06 20:29             ` Rajsekar Manokaran
2005-02-06 20:53               ` Andreas Schwab
2005-02-07  9:18                 ` Richard Stallman
2005-02-07 10:19                   ` Andreas Schwab
2005-02-07 14:37                 ` Rajsekar
2005-02-07 20:16                   ` Eli Zaretskii
2005-02-07 21:07                     ` Rajsekar
2005-02-08 11:46                   ` Richard Stallman
2005-02-09 21:46                     ` Rajsekar
2005-02-06 15:55     ` Stefan Monnier [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=87ekftu1oe.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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.