From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 qEo7HZXPM2M4oAAAbAwnHQ (envelope-from ) for ; Wed, 28 Sep 2022 06:37:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iF9vHJXPM2MYlgAAG6o9tA (envelope-from ) for ; Wed, 28 Sep 2022 06:37:41 +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 158832B3B5 for ; Wed, 28 Sep 2022 06:37:41 +0200 (CEST) Received: from localhost ([::1]:35592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odOpI-0008O9-4C for larch@yhetil.org; Wed, 28 Sep 2022 00:37:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odOmv-0008KT-Ov for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 00:35:13 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:35679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odOmt-0000zU-VX for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 00:35:13 -0400 Received: by mail-pf1-x42b.google.com with SMTP id i6so7305524pfb.2 for ; Tue, 27 Sep 2022 21:35:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=SepCVVxyRGhkYH36TvbnxeFtudUb0x7liTEEpg5FGgc=; b=d893iJqtb5G8eCETnCRXxO4Xm5hUMbyjSGJCjk2Nwq0fH7xkCnBEogipIxP5oXrSyG umgbfUuGWjDHFGk3kRmLMQjPxnvW/wU6mdN29Y252a9oEGEsDom63nOJv0Tg6iw/LArY SuprZXPKtJD0/nW92ucajIuYeKis8eBcShobrumZItnrvEMcwk3U1m2HAFvkiu5reTaC bmKfTl8k3gb6HO03j+PwpA/XJXRjU41HqvRl1cOBberXQCPocOHGmsMjztR6uR/fBzgu U0lUgPSCMACdtu92LJawfD26zuMeJNl/cERd99h2hzNjWUbhzTf8U1gg7GxIj2g85Sg/ /Yjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=SepCVVxyRGhkYH36TvbnxeFtudUb0x7liTEEpg5FGgc=; b=XWxQujLh/v0mD2pp+h6EMERaS79Guvf1rC2kbu8kUXLnzwZWoA6pwb+5yLdoqjAOLW 1xHtko/D5U3TYduElWr4//af1VfB8LzLt1vL297UPG+zpZ8Hgh/BQqBAgejpki57tQGm 0cCPcrzSbdiS/R+jbe9k/anFOZwJF1AtNDnfVURAVW27vyLA5DDtyakO820fnE0aw2aF u20ru66S06RwB+gBuXLb/Jo0qtANFG2N2ugHkjebiXkloSsVyeIfR6TBLxe4cgNlt3sf yCzLzKCxJkU85wI7DsiL9XWqRCYxYePfHyOAG/HRCGhqvz2Gsm4FUyF8EVBInSa1F4oJ zJww== X-Gm-Message-State: ACrzQf0nRkzBLM9ehvOFEHCd7MaGCp5t3HRwcu6QJBHdTEZ7DQl0kZnV hY6H68vD6dUkqgRmLbLI9k+6LD1kuc6WOrOI X-Google-Smtp-Source: AMsMyM7Tfyoey25BDtY2h03tkHdHIJWpR+PAdmk5tEp8d0jonkNSUC2WfmzAu+MNY7O2oQIfEV3Kyw== X-Received: by 2002:a63:e352:0:b0:42b:dc03:cc38 with SMTP id o18-20020a63e352000000b0042bdc03cc38mr26706147pgj.545.1664339710692; Tue, 27 Sep 2022 21:35:10 -0700 (PDT) Received: from localhost ([2409:8970:a80:3a4:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id b8-20020aa79508000000b005363bc65bafsm2721229pfp.57.2022.09.27.21.35.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 21:35:10 -0700 (PDT) From: Ihor Radchenko To: Asilata Bapat Cc: emacs-orgmode@gnu.org, Timothy Subject: Re: [BUG] org-agenda-skip fails in batch mode because comment-start-skip is nil In-Reply-To: <87h74ba5ez.fsf@localhost> References: <87fsk5955a.fsf@gmail.com> <87edzl4e6t.fsf@localhost> <87pmj2hj51.fsf@gmail.com> <87h74ba5ez.fsf@localhost> Date: Wed, 28 Sep 2022 12:35:57 +0800 Message-ID: <87edvwf74i.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42b.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.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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664339861; 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=SepCVVxyRGhkYH36TvbnxeFtudUb0x7liTEEpg5FGgc=; b=qdSlr9QMWTh3wPdip1oUyJglOGABHiS0+qP1VvTUUIdv/HwRqGXYUG0SNX12N02Z6wjxVr UAKK5uP+DRWf9oPMJE0B6IkBPOuSy2GLibzMkQz36o2J8vK8v2Srsviqe9YdJMPyUbs7XZ Sne6Xewv9LwV4KT4z6pV0A33tw6SZUvHxTgjjR4zJBzujkApX0FkCsLXPp3ynP9D7DCL6D h3SPepv5zfxT7yaEHVcJPydbRi7EH4NxrpdwzO3RiMd26nKsunVSQF6g8QhHxdzAtvvISr bFU5dQevxppuzcFSRhIpzrZb9U43FQrUxJk7VXwmUlJZoQCVVIF8GgTT6oOg4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664339861; a=rsa-sha256; cv=none; b=kXpMMgGAFqiJfELrNKfpA27dXnH0/dCEXFZJyDlmzp3Dx8efV4Q9JPLZlZ5QsW6Wc2L3HF xCTqv8JZLiyABen4jZlqcWCJt5QGwQx6s0ZuyDKt/FdQ5LVHQEgFjfJa26tEF86Le1fbUR s9gS8+R3Y2x/qkvcXc1PZCmE2+SlpdWDHdIW7LXh73gHB93Err/h3BhRzLlgvMFWfKuD6o a8ACojWeh++yC8hMTKS+8814paRZoE1LbAc+Fi+EWeCMF5E+Nsi9HEMxSd0YDm2oeHNOYc AxJ/RPsKgmNjXwLSQ/6VvvWC/OsSWfJJlDEFYcS/O+4EEMH89rY8ig8RS7vmzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=d893iJqt; 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: -3.35 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=d893iJqt; 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: 158832B3B5 X-Spam-Score: -3.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: pMspZqR+Q/wD Ihor Radchenko writes: > Asilata Bapat writes: > >> Ihor Radchenko writes: >>> Could you please provide a detailed reproducer? >> >> Sure. I have attached the files "mwe-data.org" and "mwe-export.org". >> >> To reproduce, save both files in the same directory. Then open mwe-export.org, navigate to the "Export script" heading, and evaluate (Ctrl-C Ctrl-C) the shell source block. > > Thanks! > > The offending commit is ec6d1df9bc. > The author of the commit claims that we never ever need to activate > major mode inside export: > > https://list.orgmode.org/874kfmbc1l.fsf@gmail.com/ Fixed on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d7a55bbd537314d2776b082bd92a1a08b3edc84e -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92