From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Cross Subject: Re: Bug? SCHEDULED lines treated differently when text precedes them Date: Fri, 06 Sep 2019 10:52:00 +1000 Message-ID: <87pnkeb61b.fsf@gmail.com> References: <874l1q9a9x.fsf@neron> <877e6mew38.fsf@nicolasgoaziou.fr> <87zhjiamo2.fsf@neron> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39947) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i62Tz-00060d-G9 for emacs-orgmode@gnu.org; Thu, 05 Sep 2019 20:52:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i62Ty-0008CF-AQ for emacs-orgmode@gnu.org; Thu, 05 Sep 2019 20:52:11 -0400 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]:34983) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i62Tx-0008AC-HO for emacs-orgmode@gnu.org; Thu, 05 Sep 2019 20:52:09 -0400 Received: by mail-pl1-x643.google.com with SMTP id gn20so2231425plb.2 for ; Thu, 05 Sep 2019 17:52:08 -0700 (PDT) In-reply-to: <87zhjiamo2.fsf@neron> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Cc: Nicolas Goaziou You may also find the command M-x org-lint useful. I regularly run it on my larger org files after an org release to spot problems in my org files (either due to my error or changes in orgmode) Tim Christoph Groth writes: > Nicolas Goaziou wrote: > >> Planning information (SCHEDULED, DEADLINE and CLOSED keywords) must >> appear right after the headline, per Org syntax. This is specified at >> the first paragraph in (info "(org) Deadlines and Scheduling"). >> >> Elswhere, only the timestamp is meaningful to Org. > > Thanks for the quick clarification! I didn't see the relevant line in > the documentation since my Emacs from Debian shows only the info > documentation for the (outdated) Org that is bundled with Emacs [1]. > > I understand now that Org does what it should. However, I find this > behavior quite dangerous. It caught me after more than 10 years of > using Org. If there's a list of long-term issues with Org somewhere, > this problem may deserve being added to it. > > Cheers > Christoph > > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725408 -- Tim Cross