From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs 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 Message-ID: <87fu6sy3vf.fsf@linux-m68k.org> References: <49E150E265ED694F872EDD5DA5137F90E3938A@ex-04.aam.local> <83r2qcly55.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1516984978 14469 195.159.176.226 (26 Jan 2018 16:42:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Jan 2018 16:42:58 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) Cc: Robin.Allen@artsalliancemedia.com To: 30208@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 26 17:42:54 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ef75P-0002o5-Ci for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jan 2018 17:42:43 +0100 Original-Received: from localhost ([::1]:37623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ef77Q-0003Ik-44 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jan 2018 11:44:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ef6yw-0005DI-RP for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 11:36:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ef6yv-0000mU-SM for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 11:36:02 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36065) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ef6yv-0000mQ-Oq for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 11:36:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ef6yv-0003py-Ik for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 11:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jan 2018 16:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30208 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30208-submit@debbugs.gnu.org id=B30208.151698455314732 (code B ref 30208); Fri, 26 Jan 2018 16:36:01 +0000 Original-Received: (at 30208) by debbugs.gnu.org; 26 Jan 2018 16:35:53 +0000 Original-Received: from localhost ([127.0.0.1]:43962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ef6yn-0003pY-7N for submit@debbugs.gnu.org; Fri, 26 Jan 2018 11:35:53 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:33606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ef6yl-0003pP-EQ for 30208@debbugs.gnu.org; Fri, 26 Jan 2018 11:35:51 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zSkzp1LpPz1qtG3; Fri, 26 Jan 2018 17:35:50 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zSkzp0lC1z1r3TG; Fri, 26 Jan 2018 17:35:50 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Xih_fQqCw07y; Fri, 26 Jan 2018 17:35:49 +0100 (CET) X-Auth-Info: PyqGUfjlpCZeyHdO04MXhkquGtUZVUhaGpyN1bNUh8k/vtoevKzaHUkfjFrUtL1/ Original-Received: from localhost (ppp-188-174-151-205.dynamic.mnet-online.de [188.174.151.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 26 Jan 2018 17:35:49 +0100 (CET) Original-Received: by localhost (Postfix, from userid 1000) id CE68C2C10F7; Fri, 26 Jan 2018 17:35:48 +0100 (CET) X-Yow: I'LL get it!! It's probably a FEW of my ITALIAN GIRL-FRIENDS!! In-Reply-To: <83r2qcly55.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Jan 2018 12:20:22 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142543 Archived-At: On Jan 26 2018, Eli Zaretskii wrote: >> From: Robin Allen >> 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_/.:\\@ ]*\\|\\)(\\([0-9]+\\))\\([a-zA-Z0-9_]*\\|\\?\\|\\)()\\(->[^\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."