unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Robin Allen <Robin.Allen@artsalliancemedia.com>
Cc: 30208-done@debbugs.gnu.org
Subject: bug#30208: M-x pdb breaks if certain characters are in the file's path
Date: Fri, 26 Jan 2018 12:20:22 +0200	[thread overview]
Message-ID: <83r2qcly55.fsf@gnu.org> (raw)
In-Reply-To: <49E150E265ED694F872EDD5DA5137F90E3938A@ex-04.aam.local> (message from Robin Allen on Mon, 22 Jan 2018 11:35:09 +0000)

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





  reply	other threads:[~2018-01-26 10:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-22 11:35 bug#30208: M-x pdb breaks if certain characters are in the file's path Robin Allen
2018-01-26 10:20 ` Eli Zaretskii [this message]
2018-01-26 16:35   ` Andreas Schwab
2018-01-26 19:02     ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r2qcly55.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=30208-done@debbugs.gnu.org \
    --cc=Robin.Allen@artsalliancemedia.com \
    /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 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).