Open declantsien opened 2 years ago
Hi,
I have the same behavior, apparently it occurs also for md files. A minimal working example would be given by the following init.el
file in the mwe
folder :
(require 'package)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
("elpa" . "https://elpa.gnu.org/packages/")))
(package-initialize)
(unless package-archive-contents
(package-refresh-contents))
(unless (package-installed-p 'quelpa)
(with-temp-buffer
(url-insert-file-contents "https://raw.githubusercontent.com/quelpa/quelpa/master/quelpa.el")
(eval-buffer)
(quelpa-self-upgrade)))
(quelpa
'(quelpa-use-package
:fetcher git
:url "https://github.com/quelpa/quelpa-use-package.git"))
(require 'quelpa-use-package)
(require 'use-package)
(setq use-package-always-ensure t)
(use-package org)
(quelpa '(org-pandoc-import
:fetcher git
:url "https://github.com/tecosaur/org-pandoc-import"
:files ("*.el" "filters" "preprocessors")))
(org-pandoc-import-transient-mode)
(find-file "~/test.md")
Then executing emacs --init-directory=~/mwe/ --debug-init
leads to :
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
file-truename(nil)
find-file-noselect-1(#<buffer test.org+md> "~/.opi-transient/test.org+md" nil nil "~/.opi-transient/test.org+md" (3303139 66309))
find-file-noselect("~/test.md" nil nil nil)
find-file("~/test.md")
eval-buffer(#<buffer *load*> nil "/home/marzi/Bureau/test/init.el" nil t) ; Reading at buffer position 867
load-with-code-conversion("/home/marzi/Bureau/test/init.el" "/home/marzi/Bureau/test/init.el" t t)
load("/home/marzi/Bureau/test/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode -0x9e62c5e7af306da>) #f(compiled-function () #<bytecode -0x14138425312aaec>) t)
command-line()
normal-top-level()
Any ideas about what's going on ?
Trying to open a file which opened before using
org-pandoc-import-transient-mode