emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Mitchell <wence@gmx.li>
To: emacs-orgmode@gnu.org
Subject: Re: Table formula not returning an error
Date: Fri, 07 Oct 2011 10:09:37 +0100	[thread overview]
Message-ID: <8762k1b226.fsf@gmx.li> (raw)
In-Reply-To: 80mxdeciau.fsf@somewhere.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 <wence@gmx.li>

      reply	other threads:[~2011-10-07  9:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-06 14:21 Table formula not returning an error Sebastien Vauban
2011-10-07  9:09 ` Lawrence Mitchell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8762k1b226.fsf@gmx.li \
    --to=wence@gmx.li \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).