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 SApgIHeWY2HYHwAAgWs5BA (envelope-from ) for ; Mon, 11 Oct 2021 03:42:15 +0200 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 qLcgG3eWY2EJUAAA1q6Kng (envelope-from ) for ; Mon, 11 Oct 2021 01:42:15 +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 AD4AC320D6 for ; Mon, 11 Oct 2021 03:42:14 +0200 (CEST) Received: from localhost ([::1]:44718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZkKT-0007D0-L4 for larch@yhetil.org; Sun, 10 Oct 2021 21:42:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZkK1-0007Cd-Nl for emacs-orgmode@gnu.org; Sun, 10 Oct 2021 21:41:45 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:42611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZkK0-00086W-1d for emacs-orgmode@gnu.org; Sun, 10 Oct 2021 21:41:45 -0400 Received: by mail-pj1-x1036.google.com with SMTP id nn3-20020a17090b38c300b001a03bb6c4ebso9790199pjb.1 for ; Sun, 10 Oct 2021 18:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=FLfvxdpvnWBcZS3UQnNWAItkQjEmRWnJcWsocnTd+Zk=; b=POXZcEWKTXGixTpz+MI2hfSvH6/a+R8lUEb7xxcZPuEixt3+g+u3/n9pujaRZ7/NQw HCYhBX8T/EDt8usmqltpdrP7d7A9vYyORhFKSjO+Pgyq4/0FBC9cQKWHvflneltrDluY wfNPj0MrrQ3l1mnMVpj2I5fTm5oabIuqBig3rEYhkrnzvsOpbXHCokeUZyHLMZcQzPuX R4Y41BStcEzR4sjCYbW7UAKtR0G81OmwFHfSrxe601TPhDZRlW9usRZGpL9eF1f1Mo2W q5sUWEhbGP5KOzqC36Mi5gRu+cnWtgk8QZj9PpMuvNjj++roWWmr6thxA7OkgUQbpo0B yNVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=FLfvxdpvnWBcZS3UQnNWAItkQjEmRWnJcWsocnTd+Zk=; b=v6o2vb2ngs6D7kEoII7p0B8jeaAG62bDN7Lfbyx47d+Cr0m/20yk14mjJVc5X6ySCQ E3mJLF0T6EbebJpVMWcvP/CoeFiyZe3DipV6f/js+MiLKZWBGmptNQK7OHdlUXePb3Nd 8sOjc/AAtN9npr1mqfjikjWZRrSzEDDCAUOb7+Q2UIlm9FrNqGiqrn1JXM9ywJLf9ph3 Lr8AAu4ibRj+RFSFwJtRdAdc13KJE6xEQVCMkErs+Aumq/MYOSUiyZC8ey6kLC/Lm+Ed DffACAo5+f9XpD+FLly5raywhTTfRFm8QlE366n5X8CAvLd75Ory8smLLZgLfQR+ElYZ uw5w== X-Gm-Message-State: AOAM533SXuCfihyc7K1Zd7oOIlekXeg+ucQtl/57uQ0gDD0yLbQcVzzo lXi/dW4hBB4K1ALlPfz/0qQ= X-Google-Smtp-Source: ABdhPJypB5LCrhFy73Hpb1nVAblNpMi1up8ugRRAqoQqIp/fnyK98Os4BwYjsURzHJOmffa1nklGhg== X-Received: by 2002:a17:90a:bf82:: with SMTP id d2mr27394782pjs.201.1633916502090; Sun, 10 Oct 2021 18:41:42 -0700 (PDT) Received: from localhost (211-22-147-226.hinet-ip.hinet.net. [211.22.147.226]) by smtp.gmail.com with ESMTPSA id k190sm5575615pfd.211.2021.10.10.18.41.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Oct 2021 18:41:41 -0700 (PDT) From: Ihor Radchenko To: Joseph Peterson Subject: Re: [BUG] Consecutive emphasis markers only work every other time [9.5 (9.5-??-cc2490a70 @ /home/joe/.emacs.d/.local/straight/build-27.1/org/)] In-Reply-To: References: X-Woof-Bug: confirmed Date: Mon, 11 Oct 2021 09:43:01 +0800 Message-ID: <875yu4pc9m.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1036.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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.23 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=1633916534; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FLfvxdpvnWBcZS3UQnNWAItkQjEmRWnJcWsocnTd+Zk=; b=kM9oibylBijPMblpsO4qwXc4JhhJV4vUzzzjVqb/YF2KfTKrFQwriEIXY+iI3yT9NRzMIN /yXMNgfA1esBXBBKpiAa8gegetjujwliKAb4a4xJB7jPTOx5vgowZG6jTNjxAho8hUw0P/ XRxbMYkVy069WQjGaoEBSQe6dvQunaeQR8AjquyipxwWRoZ/ChDOODnyuSX6dz3V78mR/b aaj+Xmm+cJfSgIddU3K8QjMli0PM3mJKa6il9ljdcGK3WGUA5Pr7vww+qZkFQLwRWo4nr5 cDQMeXSIRBOv7awK1B2nTDPMb8TFJ8aQtVUuwvlGBegG7NQC6yZoPV+GeUaVvQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633916534; a=rsa-sha256; cv=none; b=WmXbz9GQNrP19Cj28/0zgHIk5b3XVIf7eCy/5orkVdMBWd95777GY3G+DCO5UHQKsM3uyu OB/iN+Fugmxuz1DdBGSj0IZxYquNME+XWuzSZIF+r3czZ3GfDChgygbOSxgzUmslILH1hf ZbB6vQPez2vir0lhwXqRAcnloWyxIhx4WXmBxNrkZwYrJ7SdwbapNxUKB6VDMiWUEWIfYJ PcD+xyRa3RPMcHRjbGlXSnVIQTPyxE8NmARmY/hgKLAc8p5KPK7JrJLTDcrF/cggCI4Yz0 uCl3kwp7sJC4+/vIVjokIknc2Cqw7NKx9BfplYLr1t+5udSB2n3A3MlCZwjLSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=POXZcEWK; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=POXZcEWK; dmarc=pass (policy=none) header.from=gmail.com; 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: AD4AC320D6 X-Spam-Score: -2.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: jcyyx7/P7whZ Joseph Peterson writes: > ------------------------------------------------------------------------ > > Steps to reproduce: > Enter org mode (I am on cc2490a7061955395c4f5a1a23a088044554a2f7) > Type *bold* *bold* *bold* > Notice that the second instance is not bolded while the first and third > are. Confirmed. Thanks for reporting! The problem was introduced in fa315986a. This particular issues can be fixed by - (goto-char (match-end 0)) + (goto-char (match-beginning 5)) However, I afraid that the whole fa315986a idea may not be useful. Moving to the end of emphasis upon fontification will break any kind of nesting (like *bold /italic end bold* end italic/). This is probably more severe compared to arcane scenario in https://orgmode.org/list/87fsujp7mc.fsf@web.de Best, Ihor