emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] org-agenda-skip fails in batch mode because comment-start-skip


From: Ihor Radchenko
Subject: Re: [BUG] org-agenda-skip fails in batch mode because comment-start-skip is nil
Date: Thu, 23 Jun 2022 21:13:56 +0800

Asilata Bapat <asilata@gmail.com> writes:

> Ihor Radchenko <yantar92@gmail.com> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]