From mboxrd@z Thu Jan 1 00:00:00 1970 From: deepak subramanian Subject: Bug: Insert org headline errors out [8.0.2 (release_8.0.2-68-g40635b @ /home/dsubramanian/.emacs.d/thirdparty/org-mode/lisp/)] Date: Fri, 3 May 2013 10:43:22 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec52c66319f441e04dbd3e526 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYK1h-0006dG-Da for emacs-orgmode@gnu.org; Fri, 03 May 2013 13:44:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYK1d-0004lw-NA for emacs-orgmode@gnu.org; Fri, 03 May 2013 13:44:09 -0400 Received: from mail-bk0-x22e.google.com ([2a00:1450:4008:c01::22e]:63514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYK1d-0004kb-CI for emacs-orgmode@gnu.org; Fri, 03 May 2013 13:44:05 -0400 Received: by mail-bk0-f46.google.com with SMTP id w5so833243bku.33 for ; Fri, 03 May 2013 10:44:04 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --bcaec52c66319f441e04dbd3e526 Content-Type: text/plain; charset=ISO-8859-1 I am getting the below error when inserting a headline in org mode using Ctrl-Enter or M-Enter System : Ubuntu 10.04 Debugger entered--Lisp error: (wrong-type-argument stringp nil) looking-at(nil) (and (looking-at org-complex-heading-regexp) (match-beginning 4) (> p (match-beginning 4))) (let ((p ...)) (goto-char (point-at-bol)) (and (looking-at org-complex-heading-regexp) (match-beginning 4) (> p ...))) (save-excursion (let (...) (goto-char ...) (and ... ... ...))) (and (org-get-alist-option org-M-RET-may-split-line (quote headline)) (save-excursion (let ... ... ...))) (let ((split ...) tags pos) (cond (... ...) (org-insert-heading-respect-content ... ... ... ... ...) (... ... ... ... ... ... ... ... ... ... ...) (t ... ...))) (if (and (bolp) (org-at-heading-p) (not eops) (or ... ...)) (open-line (if blank 2 1)) (save-excursion (setq previous-pos ...) (end-of-line) (setq hide-previous ...)) (and org-insert-heading-respect-content (save-excursion ...)) (let (... tags pos) (cond ... ... ... ...))) (let* ((empty-line-p nil) (eops ...) (org-insert-heading-respect-content ...) (level nil) (on-heading ...) (fix-level ...) (on-empty-line ...) (head ...) (blank-a ...) (blank ...) pos hide-previous previous-pos) (if (and ... ... ... ...) (open-line ...) (save-excursion ... ... ...) (and org-insert-heading-respect-content ...) (let ... ...)) (insert head) (just-one-space) (setq pos (point)) (end-of-line 1) (unless (= ... pos) (just-one-space) (backward-delete-char 1)) (when (and org-insert-heading-respect-content hide-previous) (save-excursion ... ...)) (when (and begn endn) (narrow-to-region ... ...)) (run-hooks (quote org-insert-heading-hook))) (let (begn endn) (when (org-buffer-narrowed-p) (setq begn ... endn ...) (widen)) (let* (... ... ... ... ... ... ... ... ... ... pos hide-previous previous-pos) (if ... ... ... ... ...) (insert head) (just-one-space) (setq pos ...) (end-of-line 1) (unless ... ... ...) (when ... ...) (when ... ...) (run-hooks ...))) (cond ((or ... ...) (insert ... ...) (run-hooks ...)) ((or arg ... ...) (let ... ... ...))) (let ((itemp ...)) (cond (... ... ...) (... ...))) org-insert-heading(nil nil) (let ((org-insert-heading-respect-content t)) (org-insert-heading arg invisible-ok)) org-insert-heading-respect-content(nil) call-interactively(org-insert-heading-respect-content nil nil) Emacs : GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2012-05-18 on batsu, modified by Debian Package: Org-mode version 8.0.2 (release_8.0.2-68-g40635b @ /home/dsubramanian/.emacs.d/thirdparty/org-mode/lisp/) current state: ============== (setq org-log-done 'time org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-todo-keywords '(sequence "TODO" "INPROGRESS" "|" "DONE") org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local)) ) #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-insert-heading-respect-content t org-occur-hook '(org-first-headline-recenter) org-from-is-user-regexp nil org-metadown-hook '(org-babel-pop-to-session-maybe) ) --bcaec52c66319f441e04dbd3e526 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I am getting the below error when inserting a headline in org mod= e using Ctrl-Enter or M-Enter
System : Ubuntu 10.04
Debugger entered--Lisp error: (wrong-type-argument stringp nil)=
=A0 looking-at(nil)
=A0 (and (looking-at org-complex-heading= -regexp) (match-beginning 4) (> p (match-beginning 4)))
=A0 (l= et ((p ...)) (goto-char (point-at-bol)) (and (looking-at org-complex-headin= g-regexp) (match-beginning 4) (> p ...)))
=A0 (save-excursion (let (...) (goto-char ...) (and ... ... ...)))
=A0 (and (org-get-alist-option org-M-RET-may-split-line (quote headl= ine)) (save-excursion (let ... ... ...)))
=A0 (let ((split ...) t= ags pos) (cond (... ...) (org-insert-heading-respect-content ... ... ... ..= . ...) (... ... ... ... ... ... ... ... ... ... ...) (t ... ...)))
=A0 (if (and (bolp) (org-at-heading-p) (not eops) (or ... ...)) (open-= line (if blank 2 1)) (save-excursion (setq previous-pos ...) (end-of-line) = (setq hide-previous ...)) (and org-insert-heading-respect-content (save-exc= ursion ...)) (let (... tags pos) (cond ... ... ... ...)))
=A0 (let* ((empty-line-p nil) (eops ...) (org-insert-heading-respect-c= ontent ...) (level nil) (on-heading ...) (fix-level ...) (on-empty-line ...= ) (head ...) (blank-a ...) (blank ...) pos hide-previous previous-pos) (if = (and ... ... ... ...) (open-line ...) (save-excursion ... ... ...) (and org= -insert-heading-respect-content ...) (let ... ...)) (insert head) (just-one= -space) (setq pos (point)) (end-of-line 1) (unless (=3D ... pos) (just-one-= space) (backward-delete-char 1)) (when (and org-insert-heading-respect-cont= ent hide-previous) (save-excursion ... ...)) (when (and begn endn) (narrow-= to-region ... ...)) (run-hooks (quote org-insert-heading-hook)))
=A0 (let (begn endn) (when (org-buffer-narrowed-p) (setq begn ... endn= ...) (widen)) (let* (... ... ... ... ... ... ... ... ... ... pos hide-prev= ious previous-pos) (if ... ... ... ... ...) (insert head) (just-one-space) = (setq pos ...) (end-of-line 1) (unless ... ... ...) (when ... ...) (when ..= . ...) (run-hooks ...)))
=A0 (cond ((or ... ...) (insert ... ...) (run-hooks ...)) ((or arg ...= ...) (let ... ... ...)))
=A0 (let ((itemp ...)) (cond (... ... .= ..) (... ...)))
=A0 org-insert-heading(nil nil)
=A0 (le= t ((org-insert-heading-respect-content t)) (org-insert-heading arg invisibl= e-ok))
=A0 org-insert-heading-respect-content(nil)
=A0 call-interac= tively(org-insert-heading-respect-content nil nil)


Emacs =A0: GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Vers= ion 2.20.1)
=A0of 2012-05-18 on batsu, modified by Debian
Package: Org-m= ode version 8.0.2 (release_8.0.2-68-g40635b @ /home/dsubramanian/.emacs.d/t= hirdparty/org-mode/lisp/)

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
=A0org= -log-done 'time
=A0org-speed-command-hook '(org-speed-com= mand-default-hook org-babel-speed-command-hook)
=A0org-metaup-hoo= k '(org-babel-load-in-session-maybe)
=A0org-after-todo-state-change-hook '(org-clock-out-if-current)
=A0org-tab-first-hook '(org-hide-block-toggle-maybe org-src-nat= ive-tab-command-maybe
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
=A0org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src= -mode-configure-edit-buffer)
=A0org-confirm-shell-link-function &= #39;yes-or-no-p
=A0org-todo-keywords '(sequence "TODO&qu= ot; "INPROGRESS" "|" "DONE")
=A0org-agenda-before-write-hook '(org-agenda-add-entry-text)
=
=A0org-babel-pre-tangle-hook '(save-buffer)
=A0org-cycle= -hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 org-cycle-hide-inline-tasks org-cycle-s= how-empty-lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 org-optimize-= window-after-visibility-change)
=A0org-mode-hook '((lambda ni= l
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (org-add-hook (quote change= -major-mode-hook) (quote org-show-block-all)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(quote append) (quote local))
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 )
=A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0#[nil "\300\301\302\303\304$\207"
= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[org-add-hook change-major-mode-hook= org-babel-show-result-all append
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 local]
=A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A05]
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= org-babel-result-hide-spec org-babel-hide-all-hashes)
=A0org-ctrl= -c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe= )
=A0org-confirm-elisp-link-function 'yes-or-no-p
=A0org-c= lock-out-hook '(org-clock-remove-empty-clock-drawer)
=A0org-i= nsert-heading-respect-content t
=A0org-occur-hook '(org-first= -headline-recenter)
=A0org-from-is-user-regexp nil
=A0org-metadown-hook '(or= g-babel-pop-to-session-maybe)
=A0)


<= br>
--bcaec52c66319f441e04dbd3e526--