From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sBiHFJdrLGDnXAAA0tVLHw (envelope-from ) for ; Wed, 17 Feb 2021 01:04:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +KpbEJdrLGDEbQAA1q6Kng (envelope-from ) for ; Wed, 17 Feb 2021 01:04:23 +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 9E74216B0D for ; Wed, 17 Feb 2021 02:04:22 +0100 (CET) Received: from localhost ([::1]:58552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCBGP-0008Mf-OW for larch@yhetil.org; Tue, 16 Feb 2021 20:04:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCBDm-00079Z-1E for emacs-orgmode@gnu.org; Tue, 16 Feb 2021 20:01:39 -0500 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:44172) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCBDj-0003Oj-8z for emacs-orgmode@gnu.org; Tue, 16 Feb 2021 20:01:37 -0500 Received: by mail-lj1-x22c.google.com with SMTP id t4so356997ljh.11 for ; Tue, 16 Feb 2021 17:01:34 -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=gxN3EAf6+ZrRt8I8YEdVBg+xyxV2NnYKKXBd4VnEtkU=; b=QApiVpHQMQTi00lJmAs2FFZ7x5CzIOtEXDSIajdY+X/oDMlo7wpAEhNjG92EYJ6gNT p4RtdYFTNbIEffKFSf0hYPobXGbyr/gAzSWzwSgllH/Ld/oyvwjhjca+NCU98u8m+ge9 zA0gUOdEZrhy3Z2e6H6AeoFcLaahHjV60YdvX99Bfuq0F0UbmV4+U0y/U5Wc15RUFFL1 aMHGkmAyVo9rJh9Xi7MvUrKJgg5UPUJ8Zn0UD1jcCMVZsyhZ2Qy3xfj6IboUNIKjm1DV UtjXh6ZH8Ags+eZ2QqTC/k186prDDsQRIjysJAYmS4tbrXoBaO4yAqS8snCEK9SCT7Mr kD/g== 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=gxN3EAf6+ZrRt8I8YEdVBg+xyxV2NnYKKXBd4VnEtkU=; b=bxdwEkJbyuMTXaRY1UgtbwX5w3o467DGQkbHX4KPy9nbEaPUts0idrYsMneeg/V/O7 DUsVQffXXmX4CZtol+/mGV5/lfwhkNp/qdp4xpvWfAuH00NmOIUWbDvpk++CO907bS/4 ONJ9IuJhki//CNCKHhT6E0A4j3cGc3vKlVT+/kgZI/DyFCCaVy0DUHCgyYcEYOvClTPW cZ/9u4FZ4N3U9+1p5gtKFq0xXMpKIIpCx9y6SjYFry6tCU2XGiC4PAEX8FisseV+JJW6 xLb+LV4nldlocd88/HiXuLb2pigtAiiwm9uo9tAXRlLC1lUj0efeOPrZMXgg9KnctjAy CShw== X-Gm-Message-State: AOAM531p8nr0yAX07HE6QiNz0JFSUZwioh76dauCTLtoIoPNGSuv+z2z zI362/Ah1ghFYKKdhEoSKWt9SzaWhf/ocCiWfWa6aoRd5fc= X-Google-Smtp-Source: ABdhPJzhVQtZ4puscOwESIYqRXSZnIs5GVeJwJ3HGLNKejVWSlv6E6wPN1I3FtePI+XrpoMOLsYWOYk84tgH/bbFDlo= X-Received: by 2002:a2e:760d:: with SMTP id r13mr5794814ljc.223.1613523692654; Tue, 16 Feb 2021 17:01:32 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6504:40c8:0:0:0:0 with HTTP; Tue, 16 Feb 2021 17:01:32 -0800 (PST) In-Reply-To: References: <87tuqbpq1s.fsf@gmail.com> <87czwzpmyp.fsf@gmail.com> From: Samuel Wales Date: Tue, 16 Feb 2021 18:01:32 -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::22c; envelope-from=samologist@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.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=QApiVpHQ; 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: 9E74216B0D X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4sukLgDNXjd1 to understant, perahsp try to look at the op and remove the line that says *hi*? On 2/16/21, Samuel Wales wrote: > hi tim, > > tanks for your replies. > > 1. the same problem occurs without any * in the buffer. > > 2. the emphasis regexps are supposed to be limited to a few lines. > > 3. they are also supposed to not try to match dissimilar delimiiters. > > 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 am limited in coputer ue and will have to stop. > > tahnks for your replies. > > > On 2/16/21, Tim Cross wrote: >> >> Samuel Wales writes: >> >>> to answer your question: i expected it to just skip the non-emphasis. >>> not emphasizing the rest of the buffer seemed quite unusual. >>> >> >> I guess the problem is the same - how does org know when it is just a * >> and when it is the beginning of some emphasis text? We could make it >> that such markup only works on words, allowing the code to only consider >> two * as emphasis if there are no spaces, otherwise treat as just a *, >> but that would be inconvenient when you want to emphasis a phrase or a >> couple of words. We could change the regexp to only consider it an >> emphasis block if both markers are on the same line, but again, >> potentially inconvenient and it would fail for those who use visual-line >> mode where there paragraphs are just 1 long line. >> >> In short, can understand what your saying, but not sure there is a >> viable fix which doesn't have a heap of other consequences. Basically, >> if you want to use the 'markup' characters as normal characters, you >> need to either escape them or put them inside a verbatim directive. >> >> -- >> Tim Cross >> > > > -- > The Kafka Pandemic > > Please learn what misopathy is. > https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html