From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] Org linting library Date: Sun, 26 Apr 2015 14:50:21 +0200 Message-ID: <87fv7nrr3m.fsf@nicolasgoaziou.fr> References: <87a8y4fdmv.fsf@nicolasgoaziou.fr> <87zj60c6a5.fsf@nicolasgoaziou.fr> <86383qolqz.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmLzl-0006Q7-GO for emacs-orgmode@gnu.org; Sun, 26 Apr 2015 08:49:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmLzh-0007B3-Fh for emacs-orgmode@gnu.org; Sun, 26 Apr 2015 08:49:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:51195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmLzh-0007AA-8X for emacs-orgmode@gnu.org; Sun, 26 Apr 2015 08:49:09 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YmLze-0003Zg-Hz for emacs-orgmode@gnu.org; Sun, 26 Apr 2015 14:49:06 +0200 In-Reply-To: <86383qolqz.fsf@example.com> (Sebastien Vauban's message of "Thu, 23 Apr 2015 18:25:08 +0200") 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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Sebastien Vauban writes: > Could `org-lint' return a success/fail indication, so that we could > write something along in an export hook: > > (if (org-lint) > ... continue with export ... > ... stop with message or display the lint buffer ...) > > As well, could the buffer be hidden (or killed) if it's empty? When called non-interactively `org-lint' returns the reports, as an alist or nil, so it can be used as a predicate. Regards,