From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: Paul Eggert <eggert@cs.ucla.edu>, David Kastrup <dak@gnu.org>,
Oleh Krehel <ohwoeowho@gmail.com>,
emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/international and lisp/leim
Date: Thu, 03 Sep 2015 10:50:49 -0400 [thread overview]
Message-ID: <jwv8u8npnx0.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <55E82D67.4000607@yandex.ru> (Dmitry Gutov's message of "Thu, 3 Sep 2015 14:22:15 +0300")
>> Cut and paste can still work: just add a `quote-last-yank' command and/or
>> `quote-region' command.
> But it's not always that you'll want to quote the pasted string, is it?
That's why he's recommending a command. You'd first yank and then (if
you needed) run the quote command, which quotes what you just yanked.
That's would be kind of like a "postfix argument".
>> An issue that I have with \\= escaping syntax is that it's ugly.
> It looks a bit odd, but we're unlikely to get rid of it, since it's been
> supported for ages.
It's been supported for ages, yes, but until recently it was *very*
rarely needed. IOW the need to write
(add-hook \\='find-file-hook \\='auto-insert)
is brand new in Emacs-25, and it sucks.
I don't intend to get rid of the \= escaping syntax (tho I do find it
hideous), but I don't want to have to use it, except for those very
limited use cases that are as old as the \= syntax itself.
>> This variable is used when the function `auto-insert' is called, e.g.
>> when you do ``(add-hook 'find-file-hook 'auto-insert)''.
> Looks fine to me.
Yes, I could live with it (and I could accept the use of "'\\='" for
those very rare cases where we need to have "''" inside the "...").
BTW, re-using existing quoting syntaxes from other systems (e.g.
markdown/org) is a good idea, when applicable. E.g. it would be
desirable to be able to take a docstring and easily convert it to
a valid org/markdown document. Of course, that needs to be balanced
with the needs specific to docstrings (among other things, to
accommodate pre-existing practice).
> Either way, it would be weird to quote symbol references with ` ', but use
> `` `` for code expressions.
I don't see why.
Stefan
next prev parent reply other threads:[~2015-09-03 14:50 UTC|newest]
Thread overview: 80+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150831061236.27796.57762@vcs.savannah.gnu.org>
[not found] ` <E1ZWIKb-0007FR-Kk@vcs.savannah.gnu.org>
2015-08-31 6:26 ` [Emacs-diffs] master b533552 2/5: Documentation fixes re quotes Dmitry Gutov
2015-08-31 6:39 ` Paul Eggert
2015-08-31 6:47 ` Dmitry Gutov
2015-08-31 6:53 ` Paul Eggert
2015-08-31 7:00 ` Dmitry Gutov
2015-08-31 7:13 ` Paul Eggert
2015-09-01 0:03 ` Richard Stallman
2015-09-02 1:05 ` Paul Eggert
2015-09-02 1:27 ` David Kastrup
2015-09-02 1:30 ` Paul Eggert
2015-09-02 5:19 ` David Kastrup
2015-09-02 5:30 ` Paul Eggert
2015-09-02 15:40 ` Richard Stallman
2015-09-02 16:32 ` David Kastrup
2015-09-03 15:38 ` Dmitry Gutov
2015-09-03 17:42 ` Paul Eggert
2015-09-03 18:49 ` Dmitry Gutov
2015-09-03 21:50 ` Paul Eggert
2015-09-03 22:08 ` Dmitry Gutov
2015-09-03 22:47 ` Paul Eggert
2015-09-03 22:59 ` Dmitry Gutov
2015-09-07 1:28 ` Richard Stallman
[not found] ` <E1ZWIKd-0007Fs-15@vcs.savannah.gnu.org>
2015-08-31 6:29 ` [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/international and lisp/leim Dmitry Gutov
2015-08-31 6:38 ` Paul Eggert
2015-08-31 17:34 ` Stefan Monnier
2015-08-31 18:40 ` Dmitry Gutov
2015-08-31 18:48 ` Paul Eggert
2015-09-01 7:35 ` David Kastrup
2015-08-31 17:40 ` Stefan Monnier
2015-08-31 18:03 ` Paul Eggert
2015-09-01 1:55 ` Stephen J. Turnbull
2015-09-01 3:40 ` Stefan Monnier
2015-09-01 6:29 ` Paul Eggert
2015-09-01 10:45 ` Oleh Krehel
2015-09-01 10:53 ` Andreas Schwab
2015-09-01 11:22 ` David Kastrup
2015-09-01 11:40 ` Oleh Krehel
2015-09-01 11:42 ` Dmitry Gutov
2015-09-01 12:06 ` David Kastrup
2015-09-01 14:20 ` Dmitry Gutov
2015-09-03 10:16 ` Oleh Krehel
2015-09-03 11:22 ` Dmitry Gutov
2015-09-03 14:50 ` Stefan Monnier [this message]
2015-09-03 15:04 ` Dmitry Gutov
2015-09-01 13:31 ` Paul Eggert
2015-09-01 14:15 ` David Kastrup
2015-09-01 15:39 ` Stefan Monnier
2015-09-01 19:00 ` Alan Mackenzie
2015-09-02 4:07 ` Stefan Monnier
2015-09-02 5:28 ` David Kastrup
2015-09-02 10:02 ` Alan Mackenzie
2015-09-02 11:22 ` Dmitry Gutov
2015-09-02 15:41 ` Richard Stallman
2015-09-02 15:53 ` Dmitry Gutov
2015-09-02 16:38 ` Paul Eggert
2015-09-03 15:37 ` Richard Stallman
2015-09-03 17:26 ` Paul Eggert
2015-09-02 16:32 ` Paul Eggert
2015-09-02 17:23 ` Alan Mackenzie
2015-09-02 17:43 ` David Kastrup
2015-09-02 22:25 ` Paul Eggert
2015-09-03 10:48 ` David Kastrup
2015-09-03 12:45 ` Andreas Schwab
2015-09-03 14:46 ` Eli Zaretskii
2015-09-02 22:13 ` Paul Eggert
2015-09-03 12:22 ` Alan Mackenzie
2015-09-03 14:56 ` Paul Eggert
2015-09-04 13:22 ` Alan Mackenzie
2015-09-02 20:14 ` Stefan Monnier
2015-09-01 19:25 ` Paul Eggert
2015-09-07 1:28 ` Richard Stallman
2015-09-01 19:33 ` Dmitry Gutov
2015-09-02 2:34 ` Stefan Monnier
2015-09-02 5:23 ` David Kastrup
2015-09-02 11:16 ` Dmitry Gutov
2015-09-02 11:52 ` Quoting yank/diff prefixes (was: [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/international and lisp/leim) David Kastrup
2015-09-03 14:34 ` [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/international and lisp/leim Stefan Monnier
2015-09-01 22:57 ` Richard Stallman
2015-09-01 0:03 ` Richard Stallman
2015-09-01 1:20 ` Paul Eggert
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv8u8npnx0.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dak@gnu.org \
--cc=dgutov@yandex.ru \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=ohwoeowho@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.