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

Hello,

Lawrence Bottorff <borgauf@gmail.com> writes:

> 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
>
> -----

Is point at "* Test" or below when you use C-c C-z ? Position 1151 seems
to be above. You can only attach notes to headlines.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2017-02-23 19:55 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
2017-02-23 19:55     ` Nicolas Goaziou [this message]
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=87shn4d6mn.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=borgauf@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).