emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Markus Heller <hellerm2@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Clock setup stopped working after update
Date: Wed, 1 Mar 2017 12:52:28 -0800	[thread overview]
Message-ID: <CAGmJdZRZHphR4MaP7iTtdBN8RQ11U+zExpkB+R-nsT0XqLq5vQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2747 bytes --]

Hello,

I just updated emacs to GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-09-21
and orgmode to Org mode version 9.0.5 (9.0.5-elpa @
c:/Users/mheller/AppData/Roaming/.emacs.d/elpa/org-20170210/).

I've been using Bernt Hansen's clock setup for over a year now, without
issues.  I realize that this is not readily reproduced, but I'm hoping that
somebody will be able to spot what's going on based on experience.  So,
now, after this update, punching in after starting emacs results in an
error:

org-back-to-heading: Before first headline at position 1121 in buffer
*Messages*

Debugger:

Debugger entered--Lisp error: (error "Before first headline at position 71
in buffer *GNU Emacs*")
  signal(error ("Before first headline at position 71 in buffer *GNU
Emacs*"))
  error("Before first headline at position %d in buffer %s" 71 #<buffer
*GNU Emacs*>)
  org-back-to-heading(t)
  org-clock-mark-default-task()
  org-clock-in((16))
  (save-restriction (widen) (goto-char (or --mpom (point))) (org-clock-in
(quote (16))))
  (save-excursion (save-restriction (widen) (goto-char (or --mpom (point)))
(org-clock-in (quote (16)))))
  (save-excursion (if (markerp --mpom) (set-buffer (marker-buffer --mpom)))
(save-excursion (save-restriction (widen) (goto-char (or --mpom (point)))
(org-clock-in (quote (16))))))
  (let ((--mpom (org-id-find bh/organization-task-id (quote marker))))
(save-excursion (if (markerp --mpom) (set-buffer (marker-buffer --mpom)))
(save-excursion (save-restriction (widen) (goto-char (or --mpom (point)))
(org-clock-in (quote (16)))))))
  bh/clock-in-organization-task-as-default()
  (if (and (equal major-mode (quote org-mode)) (not
(org-before-first-heading-p)) (eq arg 4)) (org-clock-in (quote (16)))
(bh/clock-in-organization-task-as-default))
  (save-restriction (widen) (if (and (equal major-mode (quote org-mode))
(not (org-before-first-heading-p)) (eq arg 4)) (org-clock-in (quote (16)))
(bh/clock-in-organization-task-as-default)))
  (if (equal major-mode (quote org-agenda-mode)) (let* ((marker
(org-get-at-bol (quote org-hd-marker))) (tags (let ((--mpom marker))
(save-excursion (if (markerp --mpom) (set-buffer ...)) (save-excursion
(save-restriction ... ... ...)))))) (if (and (eq arg 4) tags)
(org-agenda-clock-in (quote (16))) (bh/clock-in-organization-task-as-default)))
(save-restriction (widen) (if (and (equal major-mode (quote org-mode)) (not
(org-before-first-heading-p)) (eq arg 4)) (org-clock-in (quote (16)))
(bh/clock-in-organization-task-as-default))))
  bh/punch-in(1)
  funcall-interactively(bh/punch-in 1)
  call-interactively(bh/punch-in nil nil)
  command-execute(bh/punch-in)

I did not change anything in my .emacs.  Is somebody able to give me a hint
as to what's going on?

Thanks
Markus

[-- Attachment #2: Type: text/html, Size: 3658 bytes --]

             reply	other threads:[~2017-03-01 20:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-01 20:52 Markus Heller [this message]
2017-03-02 20:44 ` Clock setup stopped working after update Nicolas Goaziou
2017-03-03 18:55   ` Markus Heller
2017-03-03 22:01     ` Nick Dokos
2017-03-03 23:29       ` Markus Heller
2017-03-06 19:50         ` Markus Heller
2017-03-07  8:44           ` Nicolas Goaziou
2017-03-09 22:19             ` Markus Heller

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=CAGmJdZRZHphR4MaP7iTtdBN8RQ11U+zExpkB+R-nsT0XqLq5vQ@mail.gmail.com \
    --to=hellerm2@gmail.com \
    --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).