From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: cache and lint Date: Thu, 17 Dec 2015 14:38:41 +0000 Message-ID: References: <87d1u5rvt6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9Zi5-0007LY-5h for emacs-orgmode@gnu.org; Thu, 17 Dec 2015 09:39:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9Zi0-0006y2-3x for emacs-orgmode@gnu.org; Thu, 17 Dec 2015 09:39:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:58116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9Zhz-0006xe-TC for emacs-orgmode@gnu.org; Thu, 17 Dec 2015 09:39:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a9Zhm-0001XO-2r for emacs-orgmode@gnu.org; Thu, 17 Dec 2015 15:38:54 +0100 Received: from 193.63.221.204 ([193.63.221.204]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2015 15:38:54 +0100 Received: from andreas.leha by 193.63.221.204 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2015 15:38:54 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Nicolas, Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> I just had an error (something including "search" and "wrong side" ...) >> during org-lint. As it turned out this error went away after I ran >> `org-element-cache-reset'. Hence my question: Would it make sense to >> include running `org-element-cache-reset' into `org-lint'? > > I don't think this should be the default, no. This will delete useful > information. I know next to nothing about all the internals here, so I guess you are right. My motivation to write here was just to minimize the chance that org-lint reports errors that are not caused by the document itself. > > The cache bug leading to the error should be fixed, tho. I am sorry, that I cannot be of more help anymore. Luckily, the error is gone right now... Regards, Andreas