From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4MdaDPL6eGH2rwAAgWs5BA (envelope-from ) for ; Wed, 27 Oct 2021 09:08:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id LbDkB/L6eGFOUAAAbx9fmQ (envelope-from ) for ; Wed, 27 Oct 2021 07:08:34 +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 861AC2D9D0 for ; Wed, 27 Oct 2021 09:08:33 +0200 (CEST) Received: from localhost ([::1]:33772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfd32-0005AC-26 for larch@yhetil.org; Wed, 27 Oct 2021 03:08:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfd1e-000593-Lp for emacs-orgmode@gnu.org; Wed, 27 Oct 2021 03:07:06 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:40600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfd1d-0001ws-9d for emacs-orgmode@gnu.org; Wed, 27 Oct 2021 03:07:06 -0400 Received: by mail-pj1-x1036.google.com with SMTP id n36-20020a17090a5aa700b0019fa884ab85so4337396pji.5 for ; Wed, 27 Oct 2021 00:07:04 -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=gnba19zj3fnBDxmW4DbBhUMi1Wd4vRek9sRfezmuRZQ=; b=bAX7tYB3IQ6vjgSOJ5HyD2gj9ZDdMfPABsspzgsZX6BOr9GAJf1H4VrEYlIwZFX/vj eIu9rU8DDsH+Vdz/yH7cMoN2WijGp+BpCke9TXjdtFhfhHFz2XQgeEMCJDBVMzY5Nt/x nb30AjXIYW9t3loiu7qOSco6VhnKc49zMMRSeFiMIMGDZh0Ii+BqwXAqMjtkQ/d4NCj5 RyNORjaxMcebQy0PD4Z/4IXIWoSQ/1CaEjDA5FwspfSg8YjISD3baoXZTrNerb7wR/Vy OXFK89sISKYiCuip5RBkoFlnbsqdqVAVbQMw6sWZhL4AY7KOHKRIDGmsR/TgUpCtq0mM 44oA== 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=gnba19zj3fnBDxmW4DbBhUMi1Wd4vRek9sRfezmuRZQ=; b=uR1AMyra8yofBEizG7AzONEDYWmh8zuz0i86ELuTyKN892EcyJ9UX+luX9e2ZvUMMC LvE0oXmVHN1tKRXD73UPcGv5uAZcpI7gIsUHgiKChXUtHgK1AtUbfitaLRUyd/ooznNE wjKxk/l54Y+QzEBGXv1luMhU+0OKIakH1/1EtcaeSKofFCrxmLp0Pu8i4XJT1v2fwyYD TdfxFurDcgbBnpFdGZhn0i0nSXMIo0fG/Brbi4U/ZSx0KT3yE5suPxuhZIn/cm0uI6XD dQ4QkLuhEaCadKYe6WEvoAyLTI7iXVI///dMRbzKSxqEhtbtOoyYPSG7yDMhEtgLZPwz dQWQ== X-Gm-Message-State: AOAM533QZq59A0HeP+rXBo1RS4d+0p30bQma7l+aq4anja18PijW4z2M DbD8oEMsA0L2oI/ewAl6oPA= X-Google-Smtp-Source: ABdhPJwWaGtsq4jZcSq3zofsa6BkVc2zr9FheWWa63kcuBhzkMciCi/GYuZCa0Pf6cgzMB9ETTKpaw== X-Received: by 2002:a17:90a:a598:: with SMTP id b24mr3980581pjq.214.1635318423522; Wed, 27 Oct 2021 00:07:03 -0700 (PDT) Received: from localhost ([103.125.234.161]) by smtp.gmail.com with ESMTPSA id qe17sm3462975pjb.39.2021.10.27.00.07.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 00:07:03 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Subject: (Reopened) Bug: font-lock error with - in code-mode In-Reply-To: References: <87fsujp7mc.fsf@web.de> <87lf3d3w6n.fsf@localhost> <87o888oxog.fsf@gnu.org> <87ee94yqnl.fsf@localhost> <87v92gnhsv.fsf@bzg.fr> <87r1c99s8a.fsf@localhost> <87bl3dggbp.fsf@gnu.org> X-Woof-Bug: yes Date: Wed, 27 Oct 2021 15:08:30 +0800 Message-ID: <87v91jx7v5.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=1635318513; 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=gnba19zj3fnBDxmW4DbBhUMi1Wd4vRek9sRfezmuRZQ=; b=A0t6fvcWfG7qri0uVsR1lxGwcwYZEyfEnLQ1UXhz+jRno5epxX7RLy83lsrcn4OXrG44pq fR81Blia4JPcXmVHsSZiLgKVLusqIQT2Dch1oJbN4h/4V1TfW0JGna6g+F1pusXmVxTWiC TljM1FL+RZB8XjMdzO/HQAGlP7Pu4w2B8wX5ealQfZFa5qDmztgZC+X3HkrSL/YmdE1hGu Li7aYjEsXFTKR3g1aQwqCIl5bwOt45hfDtOih6TohtVscc5jNNRy03v+Mf2hsr1issPMGB xhHE5K9Rn4foe54YaltDDCm484/2/8WBCV8kXwvTsxTsw90vdetnOhgTCjODnQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635318513; a=rsa-sha256; cv=none; b=C8ls91oKNRGF9txUMsx/m7U3K2IZcws/NcInghIvCWRgd1wAhj9gsR5jJ8rCL6UPMwenDL plFpbvV/+CEOVoELVQxPg5e6irQhDu+7jfXN/sq6XQb6u63RgbmDVTwQQU61rvtG+98QhH Sx/k5Whij08XywMchK6y10ZeKzEPlruqmv2AHLXHg6fPpPfLOW01xtp9lvUM3ZVx01emEL dgjnWFTgWV+/qJN+F/cQqdlBkRVp25nfNOCjZXjiA1juxIpK3Bo0ImBzbw3yhpGEJCPy4h r6wjprpSTMmwVzZ/0hQHU8K96Igxi/ADbJv3K7c2mThOyXg3BnshP0mttARmug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bAX7tYB3; 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: -1.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bAX7tYB3; 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: 861AC2D9D0 X-Spam-Score: -1.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: Lf2eGEmBD0Ul We need to fix the problem (see the first message in the thread) in some other way. I currently cannot think anything better than using org-element parser (which may be slow) to avoid treating closing emphasis marker as a new opening marker. Max Nikulin writes: > Would not it be enough to just add X-Woof-Bug header to the message? > Maybe even with "(Reopened)" suffix to the title to warn other people > that it is not a forgotten bug, even if they remember that some patch > was committed. It is a wild guess, I did not looked into the "Woof!" > code. I just assume that logic inside is not overcomplicated. Trying it now in this message. I was mostly confused by the new Woof! docs in https://github.com/bzg/woof/blob/master/resources/md/howto.md Best, Ihor