From: "Göktuğ Kayaalp" <self@gkayaalp.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: eliz@gnu.org, emacs-devel@gnu.org
Subject: Re: [PATCH] Enable customisation for electric-quote-mode chars
Date: Fri, 02 Sep 2016 00:13:04 +0300 [thread overview]
Message-ID: <87r393iasf.fsf@xi.bootis> (raw)
In-Reply-To: <3ccdad07-2723-0456-c4fa-e22cd252a0f3@cs.ucla.edu> (message from Paul Eggert on Thu, 1 Sep 2016 12:15:53 -0700)
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: 2016-09-01 12:15:53 PM -0700
> Paul Eggert wrote:
>
> Göktuğ Kayaalp wrote:
>> +-------------------+---------+
>> | label | quotes |
>> +-------------------+---------+
>> | curved69 | “‘’” |
>> | curved99 | ”’’” |
>> | guillemets | «‹›» |
>> | guillemets+curved | «“”» |
>> | guillemets+lo9hi6 | «„“» |
>> | reverseguillemets | »›‹« |
>> | lo9hi6 | „‚‘“ |
>> | lo9hi9 | „‚’” |
>> | japan | 「『』」 |
>> | korean | 《〈〉》 |
>> +-------------------+---------+
>
> Thanks for cataloging these, but why bother with inventing names? Just use the
> "quotes" column as the label. That's more intuitive.
Fair. I was thinking of an alist
(defvar electric-quotes-predefined-styles '((label . (quotes))...))
in my head. I also think of renaming the variable
‘electric-quotes-chars’ to ‘electric-quotes-style’, as that's a bit more
intuitive. Comments?
> If we must use names I suggest "angle" over "guillemets" as it's too easy to
> misspell "guillemets".
>
> The "japan" entry has single- and double-quotes interchanged.
Sure? I got that straight out of the linked wiki page. Though I'm
quite unfamiliar with Japanese.
> I would avoid labels like "japan" or "korean". In Korea the abovementioned
> quotation style is not common (and the common style differs in North vs South
> Korea -- we really don't want to get into that mess!).
Avoiding labels altogether would solve this.
> Not sure what to do about require spaces in some languages; perhaps an
> independent setting?
I don't think the space count as part of the quotation, but it be a
different part of general punctuation. So I believe it's out of the
scope of this minor mode. However maybe we can have a separate
‘electric-punctuation-mode’ which would add these NBSP to where it may
be required according to a defined style, as their use is not
limited to quotation:
,----
| It is [...] required for big punctuation in French, [...] (before
| " ; ? ! » › " and after " « ‹ "; today often also before " : ") and
| Russian (before " — "), and in German between multi-part abbreviations
| (z. B., d. h., v. l. n. r.).
`---- https://en.wikipedia.org/wiki/Non-breaking_space
>> maybe
>> they're unnecessary if the respective keyboards for the languages allow
>> typing them easily (IDK, please comment)
>
> Typically CJK keyboards do not contain those sorts of quote characters. I assume
> they can be entered more-awkwardly via input methods but do not know the details.
By the shallow research that I can do now, that seems right, dumb quotes
and the backtick are there only. I think we should have them then.
Best,
-gk.
--
İ. Göktuğ Kayaalp.
http://gkayaalp.com/
next prev parent reply other threads:[~2016-09-01 21:13 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-27 14:22 [PATCH] Enable customisation for electric-quote-mode chars Göktuğ Kayaalp
2016-08-27 14:38 ` Eli Zaretskii
2016-08-27 15:23 ` Göktuğ Kayaalp
2016-08-27 19:16 ` Paul Eggert
2016-08-28 1:00 ` Göktuğ Kayaalp
2016-08-29 1:55 ` Paul Eggert
2016-08-29 5:28 ` Göktuğ Kayaalp
2016-08-29 6:14 ` Paul Eggert
2016-10-05 18:53 ` Göktuğ Kayaalp
2016-10-05 19:06 ` Paul Eggert
2016-10-06 6:40 ` Eli Zaretskii
2016-10-06 21:31 ` Paul Eggert
2016-10-07 18:33 ` Göktuğ Kayaalp
2016-10-10 3:57 ` Paul Eggert
2016-10-13 18:28 ` Göktuğ Kayaalp
2016-10-13 18:35 ` Paul Eggert
2016-10-22 14:00 ` Göktuğ Kayaalp
2016-10-23 10:25 ` Paul Eggert
2016-10-23 15:09 ` Göktuğ Kayaalp
2016-10-27 15:12 ` Paul Eggert
2016-10-27 17:21 ` Göktuğ Kayaalp
2016-08-29 15:08 ` Eli Zaretskii
2016-08-29 15:54 ` Yuri Khan
2016-08-29 16:23 ` Eli Zaretskii
2016-08-29 16:27 ` Göktuğ Kayaalp
2016-08-29 16:39 ` Eli Zaretskii
2016-08-29 17:19 ` Göktuğ Kayaalp
2016-08-29 17:30 ` Paul Eggert
2016-08-29 17:44 ` Eli Zaretskii
2016-08-29 18:43 ` Paul Eggert
2016-08-29 19:30 ` Eli Zaretskii
2016-08-30 17:38 ` Paul Eggert
2016-08-30 17:49 ` Eli Zaretskii
2016-08-31 11:08 ` Richard Stallman
2016-09-01 18:56 ` Göktuğ Kayaalp
2016-09-01 19:15 ` Paul Eggert
2016-09-01 21:13 ` Göktuğ Kayaalp [this message]
2016-09-01 21:30 ` Paul Eggert
2016-09-02 5:06 ` Yuri Khan
2016-09-02 7:30 ` Eli Zaretskii
2016-09-02 10:37 ` Yuri Khan
2016-09-02 13:24 ` Göktuğ Kayaalp
2016-08-29 16:15 ` tarball builds (was: [PATCH] Enable customisation for electric-quote-mode chars) Stefan Monnier
2016-08-30 15:14 ` Eli Zaretskii
2016-08-30 15:53 ` tarball builds Stefan Monnier
2016-08-30 15:59 ` Paul Eggert
2016-08-30 17:00 ` Stefan Monnier
2016-08-30 17:58 ` Paul Eggert
2016-08-29 2:33 ` [PATCH] Enable customisation for electric-quote-mode chars Eli Zaretskii
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=87r393iasf.fsf@xi.bootis \
--to=self@gkayaalp.com \
--cc=eggert@cs.ucla.edu \
--cc=eliz@gnu.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 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.