Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Rasmus <ras...@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.
The patch is definitely dodgy. E.g. if I have rules for both en-gb and en the smart quote would depend on the order of ‘org-export-smart-quotes-alist’. So a better patch is needed, indeed. Thanks for the reference to the oc function. I will check it ASAP. Thanks, Rasmus -- I feel emotional landscapes they puzzle me