GNU bug report logs - #34489
25.2; pdb fails if directory contains '++'

Previous Next

Package: emacs;

Reported by: a.soroa <at> ehu.eus (a.soroa)

Date: Fri, 15 Feb 2019 16:02:01 UTC

Severity: normal

Tags: patch

Found in version 25.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: a.soroa <at> ehu.eus, 34489 <at> debbugs.gnu.org
Subject: bug#34489: 25.2; pdb fails if directory contains '++'
Date: Tue, 2 Jul 2019 21:42:31 +0200
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

> Hmm... I wonder why the code bothers specifying the allowed characters
> explicitly, and in particular why it only allows ASCII characters.
>
> Does the code work if the directory has non-ASCII characters instead
> of "++"?

No, it breaks.  For now, I've attached a patch to use "[:alnum:]",
which fixes that use case for me.

Regarding your first question, I'm not exactly sure why.  Maybe we
could go as far as just doing "[[:print:]]*" for that part - or
simply ".*".  What do you think?

Thanks,
Stefan Kangas
[0001-Make-M-x-pdb-handle-more-valid-file-names.patch (text/x-patch, attachment)]

This bug report was last modified 5 years and 318 days ago.

Previous Next


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