From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id v6eLDsyCLGA4DgAA0tVLHw (envelope-from ) for ; Wed, 17 Feb 2021 02:43:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MM3fCcyCLGDZdgAAB5/wlQ (envelope-from ) for ; Wed, 17 Feb 2021 02:43:24 +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 63A3D18D27 for ; Wed, 17 Feb 2021 03:43:23 +0100 (CET) Received: from localhost ([::1]:55448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCCoE-0004J5-HE for larch@yhetil.org; Tue, 16 Feb 2021 21:43:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCCns-0004Iu-Bl for emacs-orgmode@gnu.org; Tue, 16 Feb 2021 21:43:00 -0500 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:40111) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCCnq-0005XL-NM for emacs-orgmode@gnu.org; Tue, 16 Feb 2021 21:43:00 -0500 Received: by mail-lj1-x22b.google.com with SMTP id g11so14367549ljj.7 for ; Tue, 16 Feb 2021 18:42:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SHLHpjVkpLRn3XSEWFNLxIku83o7MwcWsXWSYdlPOv8=; b=Trn860nqZlozl24UNrNTvKRXWANE+RlCwzOU/+daOpJbV3ISZBcuQ3CkQro1qhlXZ7 n2w5pj6nqK64QByieO4qiOU/EUBJU3VRYEzkiVoUDrtie5YS8ligQB52BpOn8vQr82ci rFVsUd2C21y7Cnyg+3aWvABB45pIke+fhsNVm1etZBs2dmMSGGhhrFWIvjwADKGIVxGi wRUJ7V0yvo5gJcgMsV6d3GVlOa2Wkx0kteAsPgCCn0h0Ne5FtMqdg3gqh6wL2jkR4c+R 2mVH6riaijQ705PDhRl9VI/zFFyqZQjxFzTktPjlthgBaY+oCcQH7QtQl59FLpWLH2+v 1yIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SHLHpjVkpLRn3XSEWFNLxIku83o7MwcWsXWSYdlPOv8=; b=l5UKvsTl77nSfyBmUDw7mlbpsylb2vVC7jRGv79stEASxW8J5BUMfZGvzVLQeXqMk+ vIHGJuZhVyIvaaM/BPk6FU42uS15gskir6jRA4MGrB5ZKPpc1RkHFfaVQShZHyX7Ekdq rMpj1UrLoHm12Bq+mOXx7W6djqR5eayJFt2lVJk0oBTe3PQLRmJDvmvI7ZUHKnH8zlbt hDJ1upRx9GZ1oaDFmoJNzWH1mMqjIFscLtQ7hb6gq7pKym0kZOUlifxqJgzly8c0Lisa pFsHZDWk9SugzhkV2QLkJPG5+zO+7Kgqjr6TtlZBFfAPgvCKLJlvlGkRyKLgBuBQtxpj 7aZg== X-Gm-Message-State: AOAM5315q8gb9RXBBaRhR5QyvRYg/NNtbjpMSFGKDOm5XJuwEfmpBpnN 3IGU8YlB4Xm+bLvV9eRNo6HpeQx6a0jaQtDIq60= X-Google-Smtp-Source: ABdhPJxUR+QF8EMcU7UWlZMDXQX/+ug0sZblzoB4ClzHhypF8ToaDPFmGp9x8g9FnfVEhCQeWF5dXly0c/B9deEsbDU= X-Received: by 2002:a2e:b533:: with SMTP id z19mr13411142ljm.451.1613529776435; Tue, 16 Feb 2021 18:42:56 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6504:40c8:0:0:0:0 with HTTP; Tue, 16 Feb 2021 18:42:55 -0800 (PST) In-Reply-To: <877dn7pjlc.fsf@gmail.com> References: <87tuqbpq1s.fsf@gmail.com> <87czwzpmyp.fsf@gmail.com> <877dn7pjlc.fsf@gmail.com> From: Samuel Wales Date: Tue, 16 Feb 2021 19:42:55 -0700 Message-ID: Subject: Re: [bug] org-do-emphasis-faces breaks with incomplete emphasis To: Tim Cross Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=samologist@gmail.com; helo=mail-lj1-x22b.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.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 X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Trn860nq; 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: 63A3D18D27 X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: DYZWWlaohOgH still not what i am saying. nefver mind. thanks. On 2/16/21, Tim Cross wrote: > > Samuel Wales writes: > >> hi tim, >> >> tanks for your replies. >> >> 1. the same problem occurs without any * in the buffer. > > It will occur with any of the markup special characters e.g. *, =, _, +, / > >> >> 2. the emphasis regexps are supposed to be limited to a few lines. > > Are they? What is 'a few'? This also won't work if you use > visual-line-mode and don't use auto-fill (as your paragraphs are then > just one long line). > >> >> 3. they are also supposed to not try to match dissimilar delimiiters. >> > > Not quite sure what you mean here. > >> the problem is that >> >> hi =something >> >> stops all emphasis of all types in the entire rest of hte bguffer even >> if the buyffer contains many lines. this sems unusual to me. >> >> it does not break anything befofre it. >> >> so i think your hypothesis of what i am talking about might possibly >> not match what i am talking about at all. >> > > I'm not disagreeing with what your saying. I think the reason the rest > of the file doesn't get parsed correctly is because the single markup > character has made the syntax inconsistent and broken. > > The problem is I don't think there is a good fix for this which doesn't > introduce other problems. If the regexp which does the matching is > supposed to limit its search to just a specific number of lines, then > perhaps it is broken. However, I'm not sure what 'a few lines' really > means (2?, 5?, 10?). I also know from past experience that trying to > define font-lock matches which work in such a way is complex, error > prone and often results in a considerable performance hit. > > Bottom line, if you want to use the characters reserved for markup > purposes as just plain characters, you have to somehow quote them or > mark them as being 'verbatim' characters. I do think it would be useful > to have something in the manual on this under the markup section. > > -- > Tim Cross > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html