[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smart quotes and languages like en-gb
From: |
Nicolas Goaziou |
Subject: |
Re: smart quotes and languages like en-gb |
Date: |
Sun, 28 Nov 2021 19:12:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Rasmus <rasmus@gmx.us> 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.
WDYT?
Regards,
--
Nicolas Goaziou