emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Logbook not working?
@ 2017-02-23 16:47 Lawrence Bottorff
  2017-02-23 16:50 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Lawrence Bottorff @ 2017-02-23 16:47 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

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

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?

LB

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Logbook not working?
  2017-02-23 16:47 Logbook not working? Lawrence Bottorff
@ 2017-02-23 16:50 ` Nicolas Goaziou
  2017-02-23 19:41   ` Lawrence Bottorff
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2017-02-23 16:50 UTC (permalink / raw)
  To: Lawrence Bottorff; +Cc: emacs-orgmode Mailinglist

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Logbook not working?
  2017-02-23 16:50 ` Nicolas Goaziou
@ 2017-02-23 19:41   ` Lawrence Bottorff
  2017-02-23 19:55     ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Lawrence Bottorff @ 2017-02-23 19:41 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode Mailinglist

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Logbook not working?
  2017-02-23 19:41   ` Lawrence Bottorff
@ 2017-02-23 19:55     ` Nicolas Goaziou
  2017-02-24  1:46       ` Lawrence Bottorff
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2017-02-23 19:55 UTC (permalink / raw)
  To: Lawrence Bottorff; +Cc: emacs-orgmode Mailinglist

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Logbook not working?
  2017-02-23 19:55     ` Nicolas Goaziou
@ 2017-02-24  1:46       ` Lawrence Bottorff
  0 siblings, 0 replies; 5+ messages in thread
From: Lawrence Bottorff @ 2017-02-24  1:46 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode Mailinglist

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

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 <mail@nicolasgoaziou.fr>
wrote:

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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-02-24  1:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2017-02-24  1:46       ` Lawrence Bottorff

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