emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] ox.el: add smart quotes for Greek


From: Max Nikulin
Subject: Re: [PATCH] ox.el: add smart quotes for Greek
Date: Mon, 20 Sep 2021 21:54:32 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 19/09/2021 23:30, Juan Manuel Macías wrote:

I attach here a tiny patch to add Greek smart quotes. Finally, I apply
the second level quotation marks that Protesilaos Stavrou proposed in this
previous thread:
https://orgmode.org/list/87o89yv1mz.fsf@cnu407c2zx.nsn-intra.net/#r

Since the choice of secondary opening quote character was uncertain at first, I suppose, it would be nice to have this decision documented somewhere in Org source repository for the case that it might be revisited later. (Disclaimer: unsure that Org developers have the same opinion.)

I mean the citation and the reference to the paper by Yannis Haralambous to make clear that such variant was considered, the title of EU recommendations since nobody has provided more authoritative reference of Greek typography traditions.

Possible options:
- Add the note directly to the .el file. I am afraid, as inline comment it could be considered too long. - To a file in the "doc" directory dedicated to such decisions (there is no such file yet however) with a reference from the .el file. - Commit message. It is acceptable but not apparent for a person who reads the code that git log may provide detailed explanation of particular choice.

Mail archives are not permanent, e.g. web interface to Gmane was shut down due to some problems, the same might happen with public inbox mirrors. That is why, I think, a more detailed note should be added to Org sources.

By the way, Common Locale Data Repository https://cldr.unicode.org/
defines U+201C (“) and U+201D (”) characters as well

ag quotation common/main/el*
common/main/el.xml
1224:           <quotationStart>«</quotationStart>
1225:           <quotationEnd>»</quotationEnd>
1226:           <alternateQuotationStart>“</alternateQuotationStart>
1227:           <alternateQuotationEnd>”</alternateQuotationEnd>

Unfortunately this part of Unicode databases is not available form Emacs.



reply via email to

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