From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2BPzEXl+pmGORQAAgWs5BA (envelope-from ) for ; Tue, 30 Nov 2021 20:41:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2DJ0DXl+pmGvLwAAB5/wlQ (envelope-from ) for ; Tue, 30 Nov 2021 19:41:45 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8CE4729ED9 for ; Tue, 30 Nov 2021 20:41:44 +0100 (CET) Received: from localhost ([::1]:56462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms90Z-00067s-K2 for larch@yhetil.org; Tue, 30 Nov 2021 14:41:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms8wM-0003A5-5z for emacs-orgmode@gnu.org; Tue, 30 Nov 2021 14:37:22 -0500 Received: from mout.gmx.net ([212.227.17.21]:46151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms8wK-0006t6-LD for emacs-orgmode@gnu.org; Tue, 30 Nov 2021 14:37:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1638301037; bh=aXoxSe64VT4rw6ioW1quH3443effbmkkImpSgywDnUY=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=XyAxS19UNhNM88PZX0Fl1v9h0UJddroeu2k4SC0AwhaeYROwccxvuw5FtC//Ar4/K HmxXYTb2sOQE7M4czvRPnfO83I1XJfWV0NaN6olFG8sRwIIMTQn6taKHuyZJtGQASk cukwN/igwxWdDgDyIuGAQujkSfIO+SI0+a8wbjWk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from X260 ([185.107.13.3]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MTABT-1n1eUs2yIp-00UZ2H; Tue, 30 Nov 2021 20:37:17 +0100 From: Rasmus To: mail@nicolasgoaziou.fr Subject: Re: smart quotes and languages like en-gb References: <87ilwcuq9w.fsf@gmx.us> <87bl24p2sp.fsf@nicolasgoaziou.fr> Date: Tue, 30 Nov 2021 20:37:17 +0100 In-Reply-To: <87bl24p2sp.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 28 Nov 2021 19:12:38 +0100") Message-ID: <87pmqhwi36.fsf@gmx.us> User-Agent: Emacs Gnus MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:4vvHYNbrSfZIXJ+tJMH1Z1ndHxJ2/KJTUAz+MF4gidJg4YiUr8h yy/qPILNRMU7aPyEZTN0JihytcdIijqxGfH9/cTxEUfEPP8ydPFi0FIN+hLDULaij8LEVNR JuqLMZDxWNAoJJ1W+FAjolKbMtS5l/BfLVbh8dudOO5NdaGibwW9WWxMGU3czJJCEkLwBqr EQWPaPQwG+qc3mO1caO5g== X-UI-Out-Filterresults: notjunk:1;V03:K0:mk29hxsB+SE=:F+Oi0EX7xUNx1HEpuR/f/K jStZwpahoJ4TbSyOzuJFJfZCdxbIksZ4bECOzGqwrKZ2oiQyrZK//YZn3an9j2FviD2ORviEY tC1z5oxtMdx+yfj75oaOojhOK9eOtB6mqW7CUMav2g2hVUCKeerUyC1Rs8XUyNSrIp4Q0QnQ8 TD+XzuON3HzcwabwZpw4XOJ6jix9mYjHiASCt66cjbCQRmVbD4zUjjq2c5tc0MWsY0hr7Z3qj ySX3EICKTE21Fz29c4vdXk6H+dbs9CQ3pg0Ck83UA6o7jnmdOM+rScZlUYQ6wWQkkvpwu9WpL dBSGEGzxFb9ZQTlZk492rk21pbiT7tbl9FZtRlkQlitN7UCHJuS8x9MG6sjE7kCSKi3wi1ahl 8pK+AJI3MGaE6Xrf0y2HjNnsTQC50+XGy62gHZGnnt+Vwu7zHckz1AnqGwcm9IuMjtj8+Y5Zc HWE24mG5mzn8+muk2lwB8BjAHDIj/NAXgJYDOcRRg0Siel+KIvUsFXfkSeCeAxObskKNh4+8K jlAg8u8hlJR7KzGUSYA9MgY3vOCdbLh2QQ6McDGG/NRBoQe4OTaF1WnaxXVe2QD9QDBFxpaAX E3ymYoJDf5Dhe5df2LmVuVuzCXr+IdE+I6dzkS/jC7LoBoh1R2QUbG5VHgTSPqTMQkFKxsvtK vJD4W7YUFbyZD8axIluMAcxCclb9pNKIUxPpfXUf4NIYseo6IKQd2MWsg2UYmmsdB1sIeSe4B DjedMQFlAfXcxrLG+yXibTiIc+UrATTvcFlXqcUW72QK0kpYDsclxMvXoywNm6rDftpyfBFpD yH7YbdpXiI5sZcqQOUaLiUJcUHiQcvE4A3MmJ+suyyJ578MQreVWVgnLiI92ihD9AV+OjXjsu Gy9okkEU0nmpbFJNGFyDf301Xg+IhNtrrywMgYLlFoadRn6WLz7oqeZZ0j5aNKZIgFQ+upXjW +fe94toWX3IZtGht8oszWyCpscEpfn6kRvd+udT7/RiTV1IOMQykGL10BitppvRBE/bkVcPnP o7Dqc9cMdRtmXDPrZ9moQcq8bYBqpDRx0pNG/joYGFuyGxcg+F4ZlVXDMIh6pvRTsovWCbrlk XQ4OhP/Pgwhkjs= Received-SPF: pass client-ip=212.227.17.21; envelope-from=rasmus@gmx.us; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638301304; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=CtecIntzVcq+okGPbspw7t3R6G7LkCgQ8uSJOKskfSk=; b=bxFuGKUH18Ou3kAGlTza9B5FNs3h3P9Am9TEbtDXg30Ylbndd4cXbKqbDAI4He3ZbrCUOR lCiNSqGMYCgF22mBwt2i7JyIaUiN5IW1a4IOrrCSbqREEMAqgHUQtktCEbpW62SXsmBq7m bFwaTW4hko7EWjg2OE+HPqmCi+zKg9ASiG9dThyXzVgMqz/7kfFXKxGFKVCln0CollG147 lFCeD2aao65VcUOfA+lWDCUwOv779lFOwsDIjRLhotd+reDTOTqmLatevogb0qQ5cMvsya W1we7+ilpTXOMkQhMvK6VyXy+W9smh8MMs7qZuSuEiSPs5oJ5kz59rwekSFZuw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638301304; a=rsa-sha256; cv=none; b=MiighSJybpd5fkCToUJXWlcy44jEC4rBPyQjy8usF2IslyZMHapumjdrsfpG9aZa6R2MkR u0wBKmiH3BbxmGv6fm1fuFahAE9m/QdmJkCvGD68A4QaeJBktX2ElKOHyKo5ZELyPNxF3u Bikgfx6nvfodamWrpjjcAXuMLxeof35B3Twf+dlBN4rV3YvKqXFsRm2ZWYdlGVsOdJMgwe BSS4SRKgOuO/EeYlYPhgpcGrN6f5C/fca3cL/dpmuIM2Zc/6RvYhapdMo8YD0K7dGPFIBT MIOdL6nTfki5bkbhyMk8J/fgXoFkmHxdc7Pe0pq1hqtiyJMfik7cU5Qvcl/+Rg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=XyAxS19U; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmx.us (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.38 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=XyAxS19U; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmx.us (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8CE4729ED9 X-Spam-Score: -0.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: s0ghfXcokuqh Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> I have noticed that smart quotes are not picked up for =E2=80=9Clong=E2= =80=9D languages, >> like =E2=80=9Cen-gb=E2=80=9D, since smart quotes are defined for =E2=80= =9Cshort=E2=80=9D languages, like >> =E2=80=9Cen=E2=80=9D, in org-export-smart-quotes-alist. >> >> The attached patch is an attempt at remedying this. Not sure if it is t= he >> best fix, though... > > IMO, this is a bit of a kludge.=20 > > "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 =E2=80=98org-export-smart-quot= es-alist=E2=80=99. So a better patch is needed, indeed. Thanks for the reference to the oc function. I will check it ASAP. Thanks, Rasmus --=20 I feel emotional landscapes they puzzle me