From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Daniel Colascione <dancol@dancol.org>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Proposal: make up-list escape strings
Date: Tue, 08 Apr 2014 23:56:06 -0400 [thread overview]
Message-ID: <jwvtxa3xim9.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <5344A698.6080201@dancol.org> (Daniel Colascione's message of "Tue, 08 Apr 2014 18:47:04 -0700")
>> Why limit this to strings? It makes just as much sense to do it for
>> comments, doesn't it?
> It's a bit harder to implement for comments (as in, rewrite up-list
> using parse-partial-sexp), and I'm not sure it's as useful. Probably not
> too bad though.
I don't follow you. It doesn't seem hard: just use forward-comment to
skip over the comment instead of forward-sexp to skip over the string.
Otherwise, the code should be pretty much identical for comments as
for strings.
Stefan
next prev parent reply other threads:[~2014-04-09 3:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-08 23:14 Proposal: make up-list escape strings Daniel Colascione
2014-04-09 1:11 ` Stefan Monnier
2014-04-09 1:47 ` Daniel Colascione
2014-04-09 3:54 ` Stefan Monnier
2014-04-09 3:56 ` Stefan Monnier [this message]
2014-04-09 4:12 ` Daniel Colascione
2014-04-09 6:30 ` Daniel Colascione
2014-04-09 12:41 ` Stefan Monnier
2014-04-09 16:09 ` Daniel Colascione
2014-04-09 6:17 ` Andreas Röhler
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=jwvtxa3xim9.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dancol@dancol.org \
--cc=emacs-devel@gnu.org \
/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).