unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mattias Engdegård" <mattiase@acm.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>, Eli Zaretskii <eliz@gnu.org>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Backslash-escaped brackets in string literals
Date: Fri, 24 Jan 2020 23:22:54 +0100	[thread overview]
Message-ID: <64ECD2AB-962B-4781-BFBA-6357277C9599@acm.org> (raw)
In-Reply-To: <jwvblqs4v84.fsf-monnier+emacs@gnu.org>

Eli and Stefan, thanks for explaining.

24 jan. 2020 kl. 18.36 skrev Stefan Monnier <monnier@iro.umontreal.ca>:

> 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	other threads:[~2020-01-24 22:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-24 15:12 Backslash-escaped brackets in string literals Mattias Engdegård
2020-01-24 15:39 ` Eli Zaretskii
2020-01-24 17:36 ` Stefan Monnier
2020-01-24 22:22   ` Mattias Engdegård [this message]
2020-01-25  7:44     ` Eli Zaretskii
2020-01-25 10:34       ` Mattias Engdegård
2020-01-25 13:33         ` Eli Zaretskii
2020-01-25 15:32           ` Mattias Engdegård
2020-01-25 17:15             ` Eli Zaretskii
2020-01-26 11:24               ` Mattias Engdegård
2020-01-26 16:00                 ` Eli Zaretskii
2020-01-25 17:16             ` Drew Adams

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=64ECD2AB-962B-4781-BFBA-6357277C9599@acm.org \
    --to=mattiase@acm.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).