From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Mitchell Subject: Re: Table formula not returning an error Date: Fri, 07 Oct 2011 10:09:37 +0100 Message-ID: <8762k1b226.fsf@gmx.li> References: <80mxdeciau.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RC6RF-0006ir-Ef for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 05:09:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RC6RE-0007iu-F8 for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 05:09:53 -0400 Received: from lo.gmane.org ([80.91.229.12]:36072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RC6RE-0007ip-A0 for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 05:09:52 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RC6RC-0000Nb-TR for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 11:09:50 +0200 Received: from e4300lm.epcc.ed.ac.uk ([129.215.63.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Oct 2011 11:09:50 +0200 Received: from wence by e4300lm.epcc.ed.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Oct 2011 11:09:50 +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: emacs-orgmode@gnu.org Sebastien Vauban wrote: [...] > But I'm surprised I did not see any error reported. This is a feature of org-hh:mm-string-to-minutes: | Convert a string H:MM to a number of minutes. | If the string is just a number, interpret it as minutes. | In fact, the first hh:mm or number in the string will be taken, | there can be extra stuff in the string. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | If no number is found, the return value is 0. It's arguable that this is the best choice, but it is one. Lawrence -- Lawrence Mitchell