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 uHr6Maiaq2EtAQEAgWs5BA (envelope-from ) for ; Sat, 04 Dec 2021 17:43:20 +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 yFi2Laiaq2H4MQAA1q6Kng (envelope-from ) for ; Sat, 04 Dec 2021 16:43:20 +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 62C1F37DBB for ; Sat, 4 Dec 2021 17:43:20 +0100 (CET) Received: from localhost ([::1]:46252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtY86-0007t0-Nq for larch@yhetil.org; Sat, 04 Dec 2021 11:43:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtY7N-0007sc-8q for emacs-orgmode@gnu.org; Sat, 04 Dec 2021 11:42:35 -0500 Received: from mout02.posteo.de ([185.67.36.66]:38541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtY7K-0006MZ-OC for emacs-orgmode@gnu.org; Sat, 04 Dec 2021 11:42:32 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id CF8D6240101 for ; Sat, 4 Dec 2021 17:42:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1638636142; bh=bZ4q7ijU/q8J8fK7PyzcZy/AlDAZEqi8npnUjjCZp74=; h=From:To:Cc:Subject:Date:From; b=lYKZIRn2ueHDh+d61BMhFAEXxn1KlE92LMbkkbx0pburUCicpvGv4WSg8VPK2jMdI vkTRdTSkpTcqQM/46CPEwSUPyjJ3iCuzgpCzMNNfjTRPcRtp0Msf7s4OycMFm3loOR vELfDUY7LE9O3rBXuQDf2pFj6Z5HsdDjhwCpCn8TAS8Kblz2cQJoVRFb1vGWcKbszR w+Ptadj9U6oqeWf0dMdj9cTJmOEyO4q7wIuWTaGMhohkIIB5OkiF7tA26QYuMOWINt epQEpsWXqIZUZWJgNOMtWz/uL3cTVTjcgPGgHTS6m5fBwPYg8uSvXwI132zmKbIWJG NZFKw0IZh8JRQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4J5wTT73zSz9rxV; Sat, 4 Dec 2021 17:42:21 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Max Nikulin Subject: Re: Org-syntax: emphasis and not English punctuation References: <4897bc60-b74f-ccfd-e13e-9b89a1194fdf@mailbox.org> <87fsrbp673.fsf@gmail.com> <1ef0e093-c165-2a5f-954d-6a33b64c8ee9@mailbox.org> <87r1avgnpi.fsf@localhost> <87czmekem4.fsf@posteo.net> Date: Sat, 04 Dec 2021 16:42:19 +0000 In-Reply-To: (Max Nikulin's message of "Sat, 4 Dec 2021 20:07:49 +0700") Message-ID: <87bl1wcoes.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.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_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: orgmode 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=1638636200; 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=bZ4q7ijU/q8J8fK7PyzcZy/AlDAZEqi8npnUjjCZp74=; b=evGkk3mN/th9Bjt7ILKgAViyK370SGz7INEWPvfSL4Wvzso7EUYeyigK/DJPsBrgBJFmSV kA20yketr+wHj7Mnsw3BOVAcJFfcUUl8wkf1P0gM5i8v0M3THgLwuYW26brJLMATFuNiwk EGQhbNnM/3QyXtM66THluMBOfhj93NwTNvIZGsf0Zz2+PdZNSgFMHUiZoiYBsJtHXUaGoR TEO9nvHbMS62SCNpbJ0d/LakFe3WZXkJaKIjy0p+ClMSnOpM3ZYG2h05GTIL9E407XDOL8 /QWdmKiR2+SMXSLxJGskb+u5I6LhPv6j1qOPqv1vNLcvwpNKqsHel+a7bWxlLg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638636200; a=rsa-sha256; cv=none; b=OwHNOfQipxaDfcRQ5p7i/zKw3dFndpskXg4V6hCbb/mtXh6IjXIdjK+uPL0HKiIu0QSdjx 8dMBGMomNTDL3evSWlxzuIW7iL5lGWav/RaCxkJjcbRs2aDPbaFlHDglcpt2TRy4xk0jAE LGJU/xq8tzZmvXxer35JnjY+8Y5c8QhzfU8OVrIj394Coz+IhCPbR3XXq87pzjhW3ijG/6 4jwvm2R6l282UbprgDHNoS45JAoWyQINCaxRT1apSoylSptnaN4NZH/d/7wsCIpEeXJFDY xMACJRH+8kdG3TDJLOHKt7ultPAE5pTgu+wefUcNrqDNzq+EQsbMam4w84Qg/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lYKZIRn2; dmarc=pass (policy=none) header.from=posteo.net; 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: -4.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lYKZIRn2; dmarc=pass (policy=none) header.from=posteo.net; 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: 62C1F37DBB X-Spam-Score: -4.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: Z7u853V9pHAV Max Nikulin writes: > Maybe this issue should be considered independently of itra-word emphasis. Yes I agree. Apologies for mixing up this topic in the discussion about intra-word emphasis... > Second and third examples looks like they should be supported. Ihor > mentioned treating punctuation in a more general way. It requires rich=20 > test set to estimate changes in heuristics. I suspect some problems > since start and end patterns are not symmetric and I have not found a=20 > way to specify in regexp only punctuation marks that normally appears > in front of words. Square brackets likely should be excluded somehow > as well since they are part of Org syntax. I am unsure if it is > possible to use just regexp without additional checks of candidates. Ihor's idea seems interesting to me, although I understand the possible problems you mention. By the way, I'm afraid of initial inverted punctuation (=C2=A1=C2=BF) are only used in Castilian Spanish and other lan= guages of Spain, such as Galician or Asturian, due to the Castilian influence (we go backwards from the rest of the world ;-): https://en.wikipedia.org/wiki/Inverted_question_and_exclamation_marks > Ihor Radchenko. [PATCH] Re: c47b535bb origin/main org-element: Remove > dependency on =E2=80=98org-emphasis-regexp-components=E2=80=99 > Sun, 21 Nov 2021 17:28:57 +0800. > https://list.orgmode.org/87v90lzwkm.fsf@localhost I see. I believe it's a sensible decision to get rid of the dependency on org-emphasis-regexp-components. I understand that now everything related to the structure of emphases is the competence of org-element? Best regards, Juan Manuel=20