emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: Org errors while building agenda: (void-function org-hh:mm-string-to-minutes)
Date: Fri, 19 Aug 2011 17:39:44 +0200	[thread overview]
Message-ID: <8762ltwgu7.fsf@tsdh.uni-koblenz.de> (raw)

Hi,

it seems commit

commit 8c3ecbe39a0c99e3724246d1eb460495a53721b6
Author: Bastien Guerry <bzg@altern.org>
Date:   Wed Aug 17 16:08:02 2011 +0200

    Move three functions and add appropriate require/declarations.
    
    * org-clock.el (org-duration-string-to-minutes)
    (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
    Move from org.el.

has broken my agenda.  I get

Debugger entered--Lisp error: (void-function org-hh:mm-string-to-minutes)
  org-hh:mm-string-to-minutes("16:30")
  org-format-agenda-item(...)

because that function has been moved to org-clock.el, which I don't
use.  If I require that, the agenda works again.

org-agenda.el contains `declare-function' statements for the three moved
functions to silence the byte compiler, but it does not require
org-clock in `org-format-agenda-item' nor do the three functions have
autoload cookies.

BTW: What's the original intention of the move?  I don't see why those
functions are specific to org-clock...

Bye,
Tassilo

             reply	other threads:[~2011-08-19 15:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19 15:39 Tassilo Horn [this message]
2011-08-19 20:12 ` Org errors while building agenda: (void-function org-hh:mm-string-to-minutes) Bastien
2011-08-21 19:06   ` Tassilo Horn

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=8762ltwgu7.fsf@tsdh.uni-koblenz.de \
    --to=tassilo@member.fsf.org \
    --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).