From: Nicolas Goaziou <firstname.lastname@example.org>
To: Rasmus <email@example.com>
Subject: Re: smart quotes and languages like en-gb
Date: Sun, 28 Nov 2021 19:12:38 +0100 [thread overview]
Message-ID: <firstname.lastname@example.org> (raw)
In-Reply-To: <email@example.com> (firstname.lastname@example.org's message of "Sun, 28 Nov 2021 18:46:35 +0100")
Rasmus <email@example.com> writes:
> I have noticed that smart quotes are not picked up for “long” languages,
> like “en-gb”, since smart quotes are defined for “short” languages, like
> “en”, in org-export-smart-quotes-alist.
> The attached patch is an attempt at remedying this. Not sure if it is the
> best fix, though...
IMO, this is a bit of a kludge.
"oc.el" parses language-region tags already, although it has not been
factored out as an independent function yet. See
`org-cite--get-note-rule'. Maybe moving this part to "org-macs.el" would
be a better solution.
next prev parent reply other threads:[~2021-11-28 18:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-28 17:46 smart quotes and languages like en-gb Rasmus
2021-11-28 18:12 ` Nicolas Goaziou [this message]
2021-11-30 19:37 ` Rasmus
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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
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).