emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Backslash-escaped brackets in string literals


From: Mattias Engdegård
Subject: Re: Backslash-escaped brackets in string literals
Date: Fri, 24 Jan 2020 23:22:54 +0100

Eli and Stefan, thanks for explaining.

24 jan. 2020 kl. 18.36 skrev Stefan Monnier <address@hidden>:

> Yes and no.  We have started to remove dependence on this, but there's
> still some ways to go.  Eli mentioned `C-x 4 a` but there are others.

Actually, I tried to provoke C-x 4 a into a fit but failed. Perhaps I just 
didn't have enough patience.

>  Those that occur within "normal strings" would benefit from
> being fixed (i.e. removing the backslash).  Those that apply to
> something else than an open paren probably should be fixed as well.

What I've done now is to remove (or, in some cases, double) redundant 
backslashes except \( in doc strings. We probably could do away with more of 
them, but I tweaked the tool to ignore the rest so it's good enough for now.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]