From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YLGhBnNMzmQ0tgAASxT56A (envelope-from ) for ; Sat, 05 Aug 2023 15:19:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EFxlBnNMzmRDIwEA9RJhRA (envelope-from ) for ; Sat, 05 Aug 2023 15:19:47 +0200 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 B23F95F044 for ; Sat, 5 Aug 2023 15:19:46 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ni5PZ+Ec; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691241586; 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=oLv5dC3YnAh7biZnLAcfehagvmdyBMsrB7KMAB4xSnA=; b=hjhrBAZzTvDPIqmB2t67F59dpkVIuTDs0iE+qZKdPHlw4MJyxiKQ8JCYNJvRKoE4A+4ZPB rkt7gd54QaNEf3QpO0WSz2As3d1g7YRN7oW6S/O3kz7p92h1oJn7Ahy2+APgNEmAaPFfAj VoTkIaZMJWQ8LnwLHmMIKAzdThVDEkGctXDi1K+cBZnxIWwfJJWK8a2VWU7oQ+Xxava/4u 0slIq7H00Nz5KILDzVA/l/eIgEpggvizZTSEXCJZ4GijApwIvprZNTetD6tYzPfU1pRTAt 0yJbePAyB4BBx24UHrlsonm+ttAsUbcQR6DMBRbk4GNv5VHxASCKhoqJwQ+QOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691241586; a=rsa-sha256; cv=none; b=TVfwPk/gRNDr7xfjYwSUJghwfrLKKNO0VXItNbvYNRnZ850t0JQEmJVXPCr4ULfXS6SQEB 8w13kNFSpQo24kVm+dn0NHARaUMWdPiOvn5eoEiuulMKIdJeEEyz2ZeLVa9+6V1IsiYIpj 1MvTdtRyDhtPuKlKd7JYl9EfqQdhzDfOBfHVTiYbBozUXjJS8+YkpgSFtYu3ES3nDtnALD 2F0RzzvontO1Xb7NxyB+kDWtVz4yNKwfZDGmqwYSY8/VAqE8r2V7aN4eVoHIymrm8N6RVP rXJR8Oddu8oYN8/FCFhF/ArHwg4rnLTfpiDBKdDx5EixK8S27wrfVrRsmUwOqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ni5PZ+Ec; 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"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSHBa-0002Yz-36; Sat, 05 Aug 2023 09:19:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSHBQ-0002WT-AZ for emacs-orgmode@gnu.org; Sat, 05 Aug 2023 09:19:05 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSHBN-00030R-Va for emacs-orgmode@gnu.org; Sat, 05 Aug 2023 09:19:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 16E4F240027 for ; Sat, 5 Aug 2023 15:18:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691241539; bh=5hgWUygehB3B+A+CgaUXXKGcct+oE5KkgQhzP0Mcegw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=Ni5PZ+EcsytAd8DfnJnSJQskSuYvP0ZqyWiyF3BC9AUdE2XydVYUe2YHeHX2hK3ee UXZsh3Lm0yul2YpIqxz+x73pYgyyP4TUlL9Fhyt3qzhctiRe0/ZSeNnAkAlxrL6Lrh HhCjQw20/TmFpSe0JefFx9NQZ5dVPA293numHeBE8zMPLof1LJdwAwPF3PpqUVC+bP D4q73q6BtIcWaw0ompB9Gq8vXPsC5eL29nSLrz7CwQ6mRRZNsYKNsjKJedz0ZbNX9c bE6a/e/4kwJGLMZV7s7F/PFiFAG5lQBMJNTPl/0LQ5QQojaVD9+GKLvPysYMh12FaC c5pSQPddY3mhA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RJ37k2x7Xz6tw9; Sat, 5 Aug 2023 15:18:58 +0200 (CEST) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode Subject: Re: [patch] Fix inner smart quotes in French In-Reply-To: <87bkfl7of2.fsf@posteo.net> References: <87fs4zxo9s.fsf@posteo.net> <87wmyaynid.fsf@localhost> <87bkfl7of2.fsf@posteo.net> Date: Sat, 05 Aug 2023 13:19:23 +0000 Message-ID: <87o7jlk4o4.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: B23F95F044 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -7.12 X-Spam-Score: -7.12 X-TUID: H5NXM/CI7A6N Juan Manuel Mac=C3=ADas writes: >> And it looks like at least on of the test conditions is not trivial to >> fix without knowing French. May you or somebody familiar with French >> punctuation take a look? > > I'm afraid I'm not very familiar with the syntax and usage of tests, so > I have to study that part. I've been looking at > `test-org-export/activate-smart-quotes', and I have a question: does it > only include tests for English and French cases? Yes, currently. > First level quotes for French are =C2=AB=C2=BB with spaces, and second le= vel ones > (if I'm not mistaken) should be =E2=80=9C=E2=80=9D, without spaces (my pa= tch fix). > Therefore, I understand that a line like: > > (equal '( "=C2=AB=C2=A0outer =C2=AB=C2=A0inner=C2=A0=C2=BB outer=C2=A0= =C2=BB") > > should it be changed like this > > (equal '( "=C2=AB=C2=A0outer =E2=80=9Cinner=E2=80=9D outer=C2=A0=C2=BB= ") > > ? That was exactly the piece of information I was missing. I have no notion of "inner" quotes being different from "outer" in the languages I am familiar with. I now managed to fix the tests. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3De4f127437 --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at