From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IBKpJF3JJ2VPlQAAG6o9tA:P1 (envelope-from ) for ; Thu, 12 Oct 2023 12:24:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IBKpJF3JJ2VPlQAAG6o9tA (envelope-from ) for ; Thu, 12 Oct 2023 12:24:29 +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 530EE6418B for ; Thu, 12 Oct 2023 12:24:29 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=MbUFVrre; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697106269; a=rsa-sha256; cv=none; b=DzqJ3/w+lSiedFSDcDh8QmcBVcsSomQKGsFa4/raioAe6bvqvglC3yWyzDQoZK2vddeoGJ GPLAFXIGKxX9m/ymlUKmGJJT97iqHEic9vQM5iFnr308BWFwDMJh14NxAQaVvMHY3WdKIu TJMMfi/v5UmEYVkxNBwwLJPjWFZDQzXumSYiK170LUatCDA3xGmn0lscVgjKGOh6jvpbkq P26Tsn5adgtIJF+m3YlixnZuGAxlosHd255C8Kkf7pAqPhv2ImjAvy5teCs/9Pd9XzRmPY MWjxb++4ad+/OQG8q0i8WNplEPDN5hJFNeZzwZTfTYREy9HTmsLeDuVshRo9eQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=MbUFVrre; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697106269; 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=7HxMU9cuyZJfJwNR2rbG+g6UxbCAOBoUkRfCoU0GLI0=; b=XhPwCY9Ft16OvWx+fHCJyViJUnF1qXuHhaildlEplUT6fmxLHXbAXbACB2db9gKimfiRzj TC9kmnPMdNI4rAxr+qGgxjdmYHaq/Xlzyg1NOnyo5y/MAHhCyxxwnf+Vyk9TF2yMgE7pip RrODYxcYT97NYu1Ua5yS5nf+JwhDnPrkAg1485yJ4mRkcRpwrWNQpvGBkKtLTzVCyOATDL v7Ntoggn70BpkDY5OEFQAg6NjGiOgsI9mLnjVpBV0BhjKVVYOz1xgO2cKucNJswkOY5UJu 8iiqaAHxLRBMa7s2SxPG9hGKHJCbRb9gsC3q4euHORPk4buqOdqKpFdxdEqdVg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqsqa-0000iz-T6; Thu, 12 Oct 2023 06:23:16 -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 1qqsqZ-0000iq-EJ for emacs-orgmode@gnu.org; Thu, 12 Oct 2023 06:23:15 -0400 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqsqX-0006Iq-P6 for emacs-orgmode@gnu.org; Thu, 12 Oct 2023 06:23:15 -0400 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2c296e6543fso10456051fa.3 for ; Thu, 12 Oct 2023 03:23:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697106191; x=1697710991; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=7HxMU9cuyZJfJwNR2rbG+g6UxbCAOBoUkRfCoU0GLI0=; b=MbUFVrree4UzfiF+u69Lw95YUBj1FzJxvKo8e5MLMp5RcXkCCK52rzl53bWhWvLa9W s/c3430AFCcWQ6ARO/6NUv85UhT8bmsDOzEbxBCLhcvzo3OQ66L/VEokNIsD+Sy7VyBf yYlxgjixv+w0951atfAJaen4xNKaAOHdbDZsVZy+vAH4G+VKbvFy9c02HPj3prifBMQ7 4YJXpdHBCruXBLX0TqxeT266VTQuup+tn3VuGYOSpogkAAhSYnuWtY1h6/q6v2Yt0cSP 21b2AViO0pcQs4nbJmlQ0Yus9DzzqwltqlKLYOkKSUA8fixDTegRFnJIbcNMmHW9EdXH 7Kzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697106191; x=1697710991; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7HxMU9cuyZJfJwNR2rbG+g6UxbCAOBoUkRfCoU0GLI0=; b=R/DrdqDTQ88FkNrbAy7h8mM1Tomfno3O5RtR7ugTZjdJ2jMLh5wz3APOdESfp0j0SX bVaU1L/PFGU5hShBmovr5Z1UGUyeekmBeT1pl2tbRtbvzhd39kXobwbbBAaMuNoMvQ8T sJaO0445QdnPsJzt13ooE71GXWhie2eKPq6Jl1i3kPyviJSmg7NwimfzyWd3DwMFTO7S qkgVoDjuXux7FS3aT5pULU3UaF8Ae5OrsfFd+dEsf4XNMWWvOvhv55fcGl1m+risARxq wzetWytfAnnZUFIW9H9BEgpfX9E0zvZ7DbvLhlXOSm4PU4Do577v65m0G+fULzSho5Cz hwbw== X-Gm-Message-State: AOJu0YwJDM0MFLW3Acf6KTodrqefxhybXa6SaysGNBChmPwnOzk2c8iW BSiYY3Dj+F1busXLDsBAX2VfVN2BjGH7jA== X-Google-Smtp-Source: AGHT+IFv7a66WpoCyi976kDlofcLpcjQqWgOp8NJ2NQBFHkSheFlDGyGXcOBlEYsnTKXOkd88LgYFQ== X-Received: by 2002:ac2:4e87:0:b0:503:3816:c42c with SMTP id o7-20020ac24e87000000b005033816c42cmr17183062lfr.41.1697106190961; Thu, 12 Oct 2023 03:23:10 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id d30-20020ac25ede000000b005033948f108sm2735728lfq.272.2023.10.12.03.23.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Oct 2023 03:23:10 -0700 (PDT) Message-ID: <86526a29-7792-4703-9961-243ebdbaa9fb@gmail.com> Date: Thu, 12 Oct 2023 17:23:09 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Inconsistent text markup handling when double-nesting markers Content-Language: en-US, ru-RU To: Ihor Radchenko Cc: Tom Alexander , emacs-orgmode@gnu.org References: <8734yiadey.fsf@localhost> <2909a6ed-3a34-4aa1-a7bc-586169248029@gmail.com> <87wmvt7c5k.fsf@localhost> <87ttqx73ay.fsf@localhost> From: Max Nikulin Mail-Followup-To: Ihor Radchenko , Tom Alexander , emacs-orgmode@gnu.org In-Reply-To: <87ttqx73ay.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=manikulin@gmail.com; helo=mail-lj1-x22c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: 5.79 X-Spam-Score: 5.79 X-Migadu-Queue-Id: 530EE6418B X-TUID: rEKsQhld3BJJ On 11/10/2023 19:26, Ihor Radchenko wrote: > Max Nikulin writes: > >> P.S. Juan Manuel at certain moment discovered that pandoc allows nesting >> for *b1 *b2* b3*. > > Which is a bug in pandoc. > > I think we discussed this topic a number of times in the past - our > markup is a compromise between simplicity for users and simplicity of > the parser. This works in many simple cases, but edge cases become > problematic. I have no intention to raise discussions of changing patterns to recognize beginning and end of objects or extending of syntax. My guess is that pandoc may use bottom-up, not top-down approach. I admit, my opinion may be biased by reading complains concerning unexpected behavior of current implementation. Perhaps besides advantages pandoc parser has downsides. I would not be surprised if bottom up parser is unbearable without some tool that generates code for provided rules. By the way, is it explicitly specified that within an element namely top-down strategy must be used to recognize objects?