From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id phr+Ki8DdmLPJgEAbAwnHQ (envelope-from ) for ; Sat, 07 May 2022 07:27:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gLv+KS8DdmKXJAEA9RJhRA (envelope-from ) for ; Sat, 07 May 2022 07:27:11 +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 4227717E6 for ; Sat, 7 May 2022 07:27:11 +0200 (CEST) Received: from localhost ([::1]:42650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnCyE-0007Ks-Dq for larch@yhetil.org; Sat, 07 May 2022 01:27:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnCxd-0007KU-JU for emacs-orgmode@gnu.org; Sat, 07 May 2022 01:26:34 -0400 Received: from mail-ot1-x32a.google.com ([2607:f8b0:4864:20::32a]:35644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnCxb-0008Kd-Vh for emacs-orgmode@gnu.org; Sat, 07 May 2022 01:26:33 -0400 Received: by mail-ot1-x32a.google.com with SMTP id z5-20020a9d62c5000000b00606041d11f1so6311198otk.2 for ; Fri, 06 May 2022 22:26:31 -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=RlB8DwjbsmyYAQ8A4xJq0D6xQXJKbgY5UxDguTH2Qbw=; b=LwRS+t3qVtzZKSTvKlcdcjcuEHzZ1IcAa+qxnxdFi33H0K5iPHw5t0PdwB8lRcMEtH tYxCQw/nZZDQjKJb1DQZq57No7GxlY4rvJZKnOFgeu8ctdihG+9lvJYEZjGnQjpT5jjz qkSwlCV7k+yKE7x6bHDyY12alHgtX1pmhm/Ix+P6JH1evDmhHnidt2qySXNuWD3NzoVq RwYkuylmhFLKT2Z6Dj0ZdN/h0+hk/EZvNAnZix2/jMbteio5v00ar2o/QKk1Zu7gVnB1 xI+lTv+6VBKTuVpnRwUj7Su5564HrjfiYtB4ce4eP5F2AMf1giDVAbliDMusNy2NQJSi TCOA== 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=RlB8DwjbsmyYAQ8A4xJq0D6xQXJKbgY5UxDguTH2Qbw=; b=cwWLBL19KO9pxcDIKCNdFGDOdmJPnWPI08t4EL2F0AxnPQiSaJ3cSIwNyAf6Z18Kjy xaOmJxx2l/ed3lWlKmJvxnMLm0+LCtF4mryKQN2KjFC3Kw5tRbiEZ5k37G4NAyY/vfkl KRjksuYXhOue1Wd2GfYIQyhgu20Qv1KlTcch1sSFqJKjy7vS49ZX9bFrMo7SRLqPU14R 0czYlnuBmPT2x/4FddMVAMvlSAZ/WPPKcaQwxbUv/hJJmw2UNmwG+q7Cifl76k0q9s3O Xqg4NXxvBkVILHWh76v+0vFBAl8g4dXD56VJr4Qnwx9tT5qz7gmEWhLYTkG8w9w4i18+ JsWQ== X-Gm-Message-State: AOAM530HT36/aRWKEuyeLRpH+SbQcvJs48INuhGDPo3OA6Y0l/cSPdbB CAjMRXZc1QpfUFWM2JSvLk4= X-Google-Smtp-Source: ABdhPJx6Ts2RvF4nYHwDAURNVBHnDghawmBKdfeD9XHeJSZrUGO5oQASanvHk0CnbQPFrzkeZpnDtw== X-Received: by 2002:a05:6830:20c5:b0:606:1826:406f with SMTP id z5-20020a05683020c500b006061826406fmr2221906otq.34.1651901188924; Fri, 06 May 2022 22:26:28 -0700 (PDT) Received: from localhost ([104.223.98.2]) by smtp.gmail.com with ESMTPSA id r12-20020a54488c000000b00325cda1ffbasm2333885oic.57.2022.05.06.22.26.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 May 2022 22:26:28 -0700 (PDT) From: Ihor Radchenko To: Ignacio Casso Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-complex-heading-regexp should consider COMMENT keywords [9.5.2 (release_9.5.2-25-gaf6f12 @ /home/ignacio/repos/emacs/lisp/org/)] In-Reply-To: References: <87fsln6iho.fsf@localhost> Date: Sat, 07 May 2022 13:27:11 +0800 Message-ID: <87v8uhyksw.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::32a; envelope-from=yantar92@gmail.com; helo=mail-ot1-x32a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651901231; 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=RlB8DwjbsmyYAQ8A4xJq0D6xQXJKbgY5UxDguTH2Qbw=; b=ZWvNo1LLKGaxbPPcAGgwwFkjM0NOQnLwXi0t7JHqDS0g9CFeVfH9xIojI5TxeYKig1tRRS TP1MiaVp4UfuQCOMv4plQj+3g6UrkbXmU+5mcop/FTUf/pYrVenKGh6RkzBQTxiwvBBHt8 6JX6Lg+f7rybfu/+EQWSSZbpmb7xIA/7BjvrI++Qorzh41ByFr6Rq9JIxf8XQXS0R8VzHL HVsHpr0LUwTH8xtchLE9x1lRTxscScQoMixsE/NJRE85DahXZLrOdZj+JtU0Asi7lFi0Mc FSsp8Yo9BA1TT3m8pwjxhxiFgjK04a6NfM1aD3J0haKfdcBlPtHXdaZ98WwoOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651901231; a=rsa-sha256; cv=none; b=L32Y4JfGfvPeeKT+MHIJtGO7wh5m5C3HV6tCy018zqoMjekx6feUu5XRxFiQPtqp6YYoVa gF9XFPwh6utysvoV47NLD86CG/s0Nr7EDABgemrgARX+Z48tgAC0GUFi9glOdItTRm0hih 3TSbAdRr5PgSExMiBhyZYgbJKU+m4epWItLNRlT5AH+LmfFGGjsBdJDEhfqeog03ES45Nl KJNCQsR4ef48V13wCjuar2Fe1TfwVGFeY1IeJboWY2FBFuVNENqQhiC3pm/Ug54i27fEl9 KXYJON+7aGSX3EmAQ+I1MfdwgW0pAy8bAE7ua1o5qGAs61yYbRqNDOiOIm/esg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LwRS+t3q; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -7.80 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LwRS+t3q; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 4227717E6 X-Spam-Score: -7.80 X-Migadu-Scanner: scn0.migadu.com X-TUID: bLdLwvvk3cU1 Ignacio Casso writes: >> Sounds reasonable. Could you prepare a patch? >> COMMENT should be inside a shy group and note that there might be an >> arbitrary number of space after COMMENT string. > > Here it is. Thanks! Could you also update the org-complex-heading-regexp-format docstring and make the commit massage conform with https://orgmode.org/worg/org-contribute.html#commit-messages (also see https://orgmode.org/list/87ilqz14ys.fsf@localhost)? Best, Ihor