[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30208: M-x pdb breaks if certain characters are in the file's path
From: |
Andreas Schwab |
Subject: |
bug#30208: M-x pdb breaks if certain characters are in the file's path |
Date: |
Fri, 26 Jan 2018 17:35:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) |
On Jan 26 2018, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Robin Allen <Robin.Allen@artsalliancemedia.com>
>> Date: Mon, 22 Jan 2018 11:35:09 +0000
>>
>> WORKAROUND
>> This is caused by GUD choking on the @ character in the file path. I worked
>> around it by putting this in .emacs:
>> (setq gud-pdb-marker-regexp
>> "^> \\([-a-zA-Z0-9_/.:\\@
>> ]*\\|<string>\\)(\\([0-9]+\\))\\([a-zA-Z0-9_]*\\|\\?\\|<module>\\)()\\(->[^\n\r]*\\)?[\n\r]")
>>
>> This is the default value, with @ (and space, for good measure) inserted in
>> the first group.
>
> Thanks, I made that change. But why did you need to escape the @
> character? It isn't a special character in Emacs regular expressions,
> AFAIK.
@ isn't escaped, it just happends to follow \ in the set of characters.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."