all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-capture broken? [latest org master build]
@ 2016-06-27 15:16 Kaushal Modi
  2016-06-27 16:18 ` Kaushal Modi
  0 siblings, 1 reply; 2+ messages in thread
From: Kaushal Modi @ 2016-06-27 15:16 UTC (permalink / raw)
  To: Emacs developers

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

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

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

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

end of thread, other threads:[~2016-06-27 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-27 15:16 org-capture broken? [latest org master build] Kaushal Modi
2016-06-27 16:18 ` Kaushal Modi

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.