emacs-orgmode
[Top][All Lists]
Advanced

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

Bug: Following a link to a #+NAME causes '(wrong-type-argument stringp n


From: Dima Kogan
Subject: Bug: Following a link to a #+NAME causes '(wrong-type-argument stringp nil)' [9.3 (release_9.3 @ /usr/share/emacs/28.0.50/lisp/org/)]
Date: Sun, 22 Nov 2020 12:44:28 -0800

Hi. I'm using the org included with a recent build from emacs git. I
have this tst.org:




[[name][link]]

* heading
#+NAME: name

text




I open it with 'emacs -Q'. I move the point to the link at the top, and
C-c C-o to follow the link. This doesn't work:

  Debugger entered--Lisp error: (wrong-type-argument stringp nil)
    string-match("[ \f\11\n\15\13]+" nil 0)
    split-string(nil)
    org-link-search("name" 3)
    org-link-open((link (:type "fuzzy" :path "name" :format bracket :raw-link 
"name" :application nil :search-option nil :begin 1 :end 15 :contents-begin 9 
:contents-end 13 :post-blank 0 :parent (paragraph (:begin 1 :end 17 
:contents-begin 1 :contents-end 16 :post-blank 1 :post-affiliated 1 :parent 
nil)))) nil)
    org-open-at-point(nil)
    funcall-interactively(org-open-at-point nil)

Apparently org doesn't like the empty line right after the #+NAME tag.
Removing that empty line makes it work.

Thanks!
 

Emacs  : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, 
cairo version 1.16.0)
 of 2020-09-29, unofficial emacs-snapshot build: http://emacs.secretsauce.net
Package: Org mode version 9.3 (release_9.3 @ /usr/share/emacs/28.0.50/lisp/org/)



reply via email to

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