From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6OZOBZhntGL0sQAAbAwnHQ (envelope-from ) for ; Thu, 23 Jun 2022 15:16:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EBBUBJhntGK0vAAAG6o9tA (envelope-from ) for ; Thu, 23 Jun 2022 15:16:08 +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 A8BE38D2F for ; Thu, 23 Jun 2022 15:16:07 +0200 (CEST) Received: from localhost ([::1]:55378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4Mgo-00077L-Gs for larch@yhetil.org; Thu, 23 Jun 2022 09:16:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4Mdf-0004hk-Ac for emacs-orgmode@gnu.org; Thu, 23 Jun 2022 09:12:53 -0400 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]:35340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4Mda-0002dG-Kp for emacs-orgmode@gnu.org; Thu, 23 Jun 2022 09:12:50 -0400 Received: by mail-ot1-x333.google.com with SMTP id t26-20020a9d775a000000b006168f7563daso2650680otl.2 for ; Thu, 23 Jun 2022 06:12:46 -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=aRi4gWbRFSlm8weRGWvlwhvMp7y7k2vyKCN3HGTW9hU=; b=YciSWyxkAyVGeniNofOQXX9pmqKfA0LnPHd7sz3U+XSQRL78KDFNxq5yKcLKVKSLNm jdJr94IA4sZbE8N8hI1m8yAdAFfKOfiWePZlBQ4xRhmJ/FHr7edLz3+mriNWn0CIutxk gjpJEZyJM2c7xyUmUF0WBtcRrmVxlO1jcz1N+xnQBeg5UPyXTG04jLjtleNzuc57fJix Iyc3eXEIT5BC37q1Ca+FBcG8Hpx/i0rpJIs7YZveSgW2uzOaGOq2WFXCIjt7qSZzrLHV 4VhStBcbJQBEv558+6MdHn5Q3EM8WMmmSH1Ma8RK8yVV+94MtyhsxtatC4O7Wk+LBkRa /Uvg== 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=aRi4gWbRFSlm8weRGWvlwhvMp7y7k2vyKCN3HGTW9hU=; b=1NFRxawLxEx7rBbqn4P0OP9mK2Bpx5EvPEq9lH8Mcp5HEczPpVAGp+2UztFFYHDpvK UBYPSYoM8gS97BENFBb91TNxek/A7OxtslczeFhCakaSucizA1+N9aXGEomuRznzBVD0 zFLhWlIq1z0PUfCt3WG2s9ovGVk5Giync+vIOYV/19RzeoNFEbhp3DbVKtXbFO0/YNPv JbZulipkwwb0L5KqPAdLE5IZ/pjVQK7W/oA+cNfppr4i+cK4a0B7MhSl3NtNOPQdOE2X GpZH9VkLd1YTXmHiUPen3tqNy6nzbbObz0M2qFFtKUwx5ZfL5WMxf4go1PyS4uMypTgv UPYA== X-Gm-Message-State: AJIora9CEpy6FgTWTRn2jV7U/tY1Zz7oujPAA1fOosGz4KCjZ1qkQyZm ios4pNEY5hM7HIIcfaMqfPY= X-Google-Smtp-Source: AGRyM1td83rwp7pvZWyMl5Euad3JxrAbCzHVzeO16wsOgvgr0stl6Yb4tqX0X8G/2ARlnYQ5NKGMrQ== X-Received: by 2002:a05:6830:6518:b0:614:d060:d790 with SMTP id cm24-20020a056830651800b00614d060d790mr3689019otb.363.1655989965311; Thu, 23 Jun 2022 06:12:45 -0700 (PDT) Received: from localhost ([207.126.88.10]) by smtp.gmail.com with ESMTPSA id i13-20020a056808054d00b003289f51c2d7sm1249946oig.34.2022.06.23.06.12.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jun 2022 06:12:44 -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: <87pmj2hj51.fsf@gmail.com> References: <87fsk5955a.fsf@gmail.com> <87edzl4e6t.fsf@localhost> <87pmj2hj51.fsf@gmail.com> Date: Thu, 23 Jun 2022 21:13:56 +0800 Message-ID: <87h74ba5ez.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::333; envelope-from=yantar92@gmail.com; helo=mail-ot1-x333.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=1655990167; 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=aRi4gWbRFSlm8weRGWvlwhvMp7y7k2vyKCN3HGTW9hU=; b=szwy9/ybBGobH2zZ+trRFUwNfH81+nfGwB+APshb70GgMiccetcDvg+O/IaDzYh8wz9wmA h7LyRi/7RjiNxVWIXCri49sHrFjSyffaKcpOwRPZcNyXn9EQIl6hVaxb/zm0S+/6jKBLS7 Ll7+tqOiql/pKJJQZYW61bLoQOCIhDcm1O2Y4ub0ohkFezIgJmsp5akPY88aPOfHp08/jP IAU0BcLM6+RfynLpR/n5eCDidyLwBxhVYsjxTCAJFC+wG7q5r+dkLPPVlFXtYhCSJkzCqT 7cuikl5txx/1hZUM/HBY8h+XUJ/yUHpIOAtT4EgaojiZivwGNFBdo+dzM35okA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655990167; a=rsa-sha256; cv=none; b=YWj08edHeAUp8Zs3k+z2XMbmbvDj4J+MoiuwtMxsDe0EiwmHqhIRiYwgj9uQpTWEw9DAkw wy7CSjf16J0TH5m+sIhGGcrxhqoXymCnhr5fzlFWE3WjL0AG9pBpEOtVvMWz2JpAVkc6cz JjzNNF0ZdH5Y7+V4bSCJvqmGT20cXiFulazKz7Fv1UTCo06nvPfjT4hcTIsVkGsC/GP0QK KVZasPUhdszGJWOMQrm/qXodpJcF23jBxmUj0HiwBrJdfsc7w2xzqBRmkZ1n72xUBnmjeF yB7X+ohjFV9oKOZ/WKSorEv1FL71gqH9pi44WpASEerMCHQlSLL+JQMrf0pJjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YciSWyxk; 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: -8.76 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YciSWyxk; 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: A8BE38D2F X-Spam-Score: -8.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: Md8ZYgonU63V 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/ >> > I'm still unsure the patch is correct: what if people *need* major >> > mode initialization before any contents is exported to a file? >> >> I haven't responded to this concern, because I haven't been able to >> conceive of a single situation where loading the normal-mode for the >> exported file could be desirable. So, we do have the situations where initialization of major mode is required during export. Timothy, do you have any comments? I am inclined to revert ec6d1df9bc. Best, Ihor