GNU bug report logs - #32051
26.1; grep-regexp-alist on windows

Previous Next

Package: emacs;

Reported by: Dan Harms <Dan.Harms <at> xrtrading.com>

Date: Wed, 4 Jul 2018 15:48:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 26.1

Fixed in version 26.2

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dan Harms <Dan.Harms <at> xrtrading.com>
Cc: 32051 <at> debbugs.gnu.org
Subject: bug#32051: 26.1; grep-regexp-alist on windows
Date: Wed, 04 Jul 2018 19:26:27 +0300
> From: Dan Harms <Dan.Harms <at> xrtrading.com>
> Date: Wed, 4 Jul 2018 12:14:41 +0000
> 
> Starting in emacsc 26.1, the grep-regexp-alist stopped matching grep
> hits that have a colon in them, which breaks on windows for me, since
> the file paths always have a drive letter prepended.
>  
> For example,
>  
> the grep hit:
>  
> c:/Users/my.name/src/project\src\kbhit.hpp:29:#include <termios.h>
>  
> used to be matched by prior versions of emacs, but as of 26.1, the
> colon in the second character prevents this from being recognized as a
> grep match.

I don't think I can reproduce this.  I've just ran a Grep command
whose hits look like this:

  d:/gnu/emacs/branch/src/callproc.c:214:#ifdef DOS_NT

and they seem to exhibit all the traits of a Grep hit.

What exactly do you mean by "prevents from being recognized as a grep
match"?  What doesn't happen that you expected to happen and that was
happening with prior versions of Emacs?  Also, does the problem go
away if you invoke Emacs as "emacs -Q"?




This bug report was last modified 6 years and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.