From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MCUTBs/Go2GnuAAAgWs5BA (envelope-from ) for ; Sun, 28 Nov 2021 19:13:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yEGzAc/Go2EMMgAA1q6Kng (envelope-from ) for ; Sun, 28 Nov 2021 18:13:35 +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 B9F5CF292 for ; Sun, 28 Nov 2021 19:13:34 +0100 (CET) Received: from localhost ([::1]:45570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrOg9-0004qi-Un for larch@yhetil.org; Sun, 28 Nov 2021 13:13:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrOfS-0004qL-Ec for emacs-orgmode@gnu.org; Sun, 28 Nov 2021 13:12:50 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:35175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrOfK-0002rN-Jv for emacs-orgmode@gnu.org; Sun, 28 Nov 2021 13:12:50 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id B34F9FF808; Sun, 28 Nov 2021 18:12:39 +0000 (UTC) From: Nicolas Goaziou To: Rasmus Subject: Re: smart quotes and languages like en-gb References: <87ilwcuq9w.fsf@gmx.us> Date: Sun, 28 Nov 2021 19:12:38 +0100 In-Reply-To: <87ilwcuq9w.fsf@gmx.us> (rasmus@gmx.us's message of "Sun, 28 Nov 2021 18:46:35 +0100") Message-ID: <87bl24p2sp.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.199; envelope-from=mail@nicolasgoaziou.fr; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638123214; 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; bh=J3M71gzButMHiSmDumPckEyduoEcq4T1ZjISnNsODSc=; b=hIPhZKlvTAIBPlBqu5OMJMTBpkoUTZEiAUXZfHrRKSVGFwD4f58P8UsrFfar0Jjyd7BFf5 eGmkaJnk4UeIbk47rlskMCbB+JAVXkQyD1RyZpu04Bv2k9GKdmgMPAyQ8bTkSCvZGHXQpB unMGpzWi53wa+zCWbqQ9GLNNdTQ5CJ0j5huGIX/lSyHtpvruDfYlElyZ1erENn6maVxwYe vzgtz3CszGQzfgz+iliK8rodxd+N9Z8dWviO2GWYDzPzev9+1UbTRQ+rTpjB9zGRCUv4hY f+fCtCkZwtyEwCjxizcF8HW1ExsiWfraK9sRoGQHmfm6f5SYIu21T46Q3A15KQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638123214; a=rsa-sha256; cv=none; b=UtcLA8TQuyjJ3oHbDRIrhn8pdALFtpMnvZRSxC/ClgRAAKEw7zToZ6DfjjDW73TbLCX/tQ gr5ERgDz9/v0BbNEF9tqXKQb3a+3USCMAZzmgOlc4bzDew74kG3aQK1wApnM/2/WvuOTxS A1nmxmOmhr6leeIjEWB1VRQItvkTylyxndfqXqzM92t/vmUPhlngfXk82F7adGOtL5mRlW uFoyb3OI0jQhOj167JZIxWmECiF9nz/8QpsZO+WuP6x1mQmQFwAec0P/dF1NPe1lOq0CSN 7sOG2/fUKw1SfC9dNSASZm7aKKg0q+GczhQRCLAAZaDw2oQ+KMqY6Bc3Q1fFmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: 1.79 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: B9F5CF292 X-Spam-Score: 1.79 X-Migadu-Scanner: scn1.migadu.com X-TUID: M8yKM6sHHzLn 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 the > 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. WDYT? Regards, --=20 Nicolas Goaziou