From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: Logbook not working? Date: Thu, 23 Feb 2017 20:46:08 -0500 Message-ID: References: <874lzketr8.fsf@nicolasgoaziou.fr> <87shn4d6mn.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113da1e8ccd71005493ce48b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ch4xX-0000ml-IY for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 20:46:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ch4xW-0001IC-1l for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 20:46:11 -0500 Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]:34828) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ch4xV-0001Hg-QL for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 20:46:09 -0500 Received: by mail-oi0-x232.google.com with SMTP id 62so4455929oih.2 for ; Thu, 23 Feb 2017 17:46:09 -0800 (PST) In-Reply-To: <87shn4d6mn.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode Mailinglist --001a113da1e8ccd71005493ce48b Content-Type: text/plain; charset=UTF-8 Aaaag! I have every confidence that someday I'll stop making a fool of myself to you good people. . . . On Thu, Feb 23, 2017 at 2:55 PM, Nicolas Goaziou wrote: > 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 > --001a113da1e8ccd71005493ce48b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Aaaag! I have every confidence that someday I'll stop = making a fool of myself to you good people. . . .

On Thu, Feb 23, 2017 at 2:55 PM, Nico= las Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

Lawrence Bottorff <borgauf@gmail.co= m> writes:

> I set `debug-on-error` to `t` and went t= hrough creating a log entry:
>
> Debugger entered--Lisp error: (error "Before first headline at po= sition
> 1151 in buffer test3.org")
>=C2=A0 =C2=A0signal(error ("Before first headline at position 1151= in buffer test3.org
> "))
>=C2=A0 =C2=A0error("Before first headline at position %d in buffer= %s" 1151 #<buffer
> test= 3.org>)
>=C2=A0 =C2=A0org-back-to-heading(t)
>=C2=A0 =C2=A0org-end-of-meta-data(nil)
>=C2=A0 =C2=A0org-log-beginning(t)
>=C2=A0 =C2=A0org-store-log-note()
>=C2=A0 =C2=A0org-ctrl-c-ctrl-c(nil)
>=C2=A0 =C2=A0funcall-interactively(org-ctrl-c-ctrl-c nil)
>=C2=A0 =C2=A0#<subr call-interactively>(org-ctrl-c-ctrl-c ni= l nil)
>=C2=A0 =C2=A0ad-Advice-call-interactively(#<subr call-interacti= vely> org-ctrl-c-ctrl-c
> nil nil)
>=C2=A0 =C2=A0apply(ad-Advice-call-interactively #<subr call-int= eractively>
> (org-ctrl-c-ctrl-c nil nil))
>=C2=A0 =C2=A0call-interactively(org-ctrl-c-ctrl-c nil nil)
>=C2=A0 =C2=A0command-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:=C2=A0 en
>
> # #+INFOJS_OPT: view:showall ltoc:t mouse:underline path:
> http://orgmode.org/org-info.js
> #+HTML_HEAD: <link rel=3D"stylesheet" href=3D"../../= data/stylesheet.css"
> type=3D"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-Eule= r
>
> #+PROPERTY: header-args:latex+ :packages '(("" "tik= z"))
> #
>
> #+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

--001a113da1e8ccd71005493ce48b--