emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

org-capture broken? [latest org master build]


From: Kaushal Modi
Subject: org-capture broken? [latest org master build]
Date: Mon, 27 Jun 2016 15:16:19 +0000

Hi all,

My org version is

Org-mode version 8.3.4 (release_8.3.4-1019-gd44086 @ /home/kmodi/usr_local/apps/6/emacs/emacs-25/share/emacs/site-lisp/org/)

After doing M-x org-capture, when I pick one of my templates, I get:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  looking-at(nil)
  org-fix-position-after-promote()
  org-do-demote()
  org-datetree-insert-line(2016 6 nil nil)
  org-datetree--find-create("^\\*+[ ]+%d-\\([01][0-9]\\) \\w+$" 2016 6)
  org-datetree-find-date-create((6 27 2016))
  org-capture-set-target-location()
  org-capture(nil)
  funcall-interactively(org-capture nil)
  call-interactively(org-capture nil nil)
  command-execute(org-capture)

Looking at 

(defun org-fix-position-after-promote ()
  "Fix cursor position and indentation after demoting/promoting."
  (let ((pos (point)))
    (when (save-excursion
   (beginning-of-line 1)
   (looking-at org-todo-line-regexp)
   (or (equal pos (match-end 1)) (equal pos (match-end 2))))
      (cond ((eobp) (insert " "))
   ((eolp) (insert " "))
   ((equal (char-after) ?\ ) (forward-char 1))))))

I see that the value of org-todo-line-regexp is nil.

Is anyone else seeing that?

Thanks.
--

--
Kaushal Modi


reply via email to

[Prev in Thread] Current Thread [Next in Thread]