From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Logbook not working? Date: Thu, 23 Feb 2017 20:55:28 +0100 Message-ID: <87shn4d6mn.fsf@nicolasgoaziou.fr> References: <874lzketr8.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgzUA-0003E0-OV for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 14:55:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgzU9-0001LA-PY for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 14:55:30 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:50968) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cgzU9-0001Km-JI for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 14:55:29 -0500 In-Reply-To: (Lawrence Bottorff's message of "Thu, 23 Feb 2017 14:41:43 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Lawrence Bottorff Cc: emacs-orgmode Mailinglist Hello, Lawrence Bottorff 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 # 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) > #(org-ctrl-c-ctrl-c nil nil) > ad-Advice-call-interactively(# org-ctrl-c-ctrl-c > nil nil) > apply(ad-Advice-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: 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