emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Logbook not working?
Date: Thu, 23 Feb 2017 14:41:43 -0500	[thread overview]
Message-ID: <CAFAhFSXNNQ29AtFsqas9d9iBTrZsmeeCnxSJviQNPB+awpE_FQ@mail.gmail.com> (raw)
In-Reply-To: <874lzketr8.fsf@nicolasgoaziou.fr>

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

I set `debug-on-error` to `t` and went through creating a log entry:

Debugger entered--Lisp error: (error "Before first headline at position
1151 in buffer test3.org")
  signal(error ("Before first headline at position 1151 in buffer test3.org
"))
  error("Before first headline at position %d in buffer %s" 1151 #<buffer
test3.org>)
  org-back-to-heading(t)
  org-end-of-meta-data(nil)
  org-log-beginning(t)
  org-store-log-note()
  org-ctrl-c-ctrl-c(nil)
  funcall-interactively(org-ctrl-c-ctrl-c nil)
  #<subr call-interactively>(org-ctrl-c-ctrl-c nil nil)
  ad-Advice-call-interactively(#<subr call-interactively> org-ctrl-c-ctrl-c
nil nil)
  apply(ad-Advice-call-interactively #<subr call-interactively>
(org-ctrl-c-ctrl-c nil nil))
  call-interactively(org-ctrl-c-ctrl-c nil nil)
  command-execute(org-ctrl-c-ctrl-c)

Here's ECM, which only contains all my (kudgy, inefficient, wrong?) header
stuff:

#+TITLE: \zwnj^{147}Pm
#+AUTHOR: 147Pm
#+EMAIL: borgauf@sdf.org
#+DATE: 2017-02-08T14:26:12
#+Filetags: :CompleteReWrite:
#+LANGUAGE:  en
# #+INFOJS_OPT: view:showall ltoc:t mouse:underline path:
http://orgmode.org/org-info.js
#+HTML_HEAD: <link rel="stylesheet" href="../../data/stylesheet.css"
type="text/css">
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+OPTIONS: H:15 num:15 toc:nil \n:nil @:t ::t |:t _:{} *:t ^:{} prop:t
#+OPTIONS: prop:t
# This makes MathJax not work
# #+OPTIONS: tex:imagemagick
# this makes MathJax work
#+OPTIONS: tex:t
#+LATEX_CLASS: article
#+LATEX_CLASS_OPTIONS: [american]
# Setup tikz package for both LaTeX and HTML export:
#+LATEX_HEADER: \usepackage{tikz}
#+LATEX_HEADER: \usepackage{commath}
#+LaTeX_HEADER: \usepackage{pgfplots}
#+LaTeX_HEADER: \usepackage{sansmath}
#+LaTeX_HEADER: \usepackage{mathtools}
# #+HTML_MATHJAX: align: left indent: 5em tagside: left font: Neo-Euler
#+PROPERTY: header-args:latex+ :packages '(("" "tikz"))
#
#+PROPERTY: header-args:latex+ :exports results :fit yes
#
#+STARTUP: showall
#+STARTUP: align
#+STARTUP: indent
#+STARTUP: entitiespretty
#+STARTUP: logdrawer

* Test

-----

I'm on Emacs 25.1.1 and Org mode version 9.0.5 (9.0.5-elpaplus @
.../.emacs.d/elpa/org-plus-contrib-20170210/)




On Thu, Feb 23, 2017 at 11:50 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Lawrence Bottorff <borgauf@gmail.com> writes:
>
> > I'm trying to create Logbook entries with C-c C-z -- which has worked
> fine
> > in the past. But now whenever I try I get
> >
> > org-back-to-heading: Before first headline at position 1151 in buffer
> > current.org
> >
> > . . . i.e., my entry doesn't show up anywhere. What have I inadvertently
> > messed up?
>
> Could you paste a full backtrace, or, better, an ECM?
>
> Regards,
>
> --
> Nicolas Goaziou
>

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

  reply	other threads:[~2017-02-23 19:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23 16:47 Logbook not working? Lawrence Bottorff
2017-02-23 16:50 ` Nicolas Goaziou
2017-02-23 19:41   ` Lawrence Bottorff [this message]
2017-02-23 19:55     ` Nicolas Goaziou
2017-02-24  1:46       ` Lawrence Bottorff

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=CAFAhFSXNNQ29AtFsqas9d9iBTrZsmeeCnxSJviQNPB+awpE_FQ@mail.gmail.com \
    --to=borgauf@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).