org-store-link fails inside org-git-link if org-git-link is enabled with
(require 'org-git-link)
From what I can tell in the debugger, the code walks up the directory tree
looking for .git files in a parent directory. However, when I am inside
e.g. "~/foo.el", at some point the code will execute (org-git-split-dirpath
"~/") (org-git-link.el line 129), which evaluates to (nil, "~"). dir will
subsequently be set to nil on line 132, which results in an error.
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
http://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------
Emacs : GNU Emacs 26.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version
3.18.9)
of 2017-03-20
Package: Org mode version 9.0.5 (release_9.0.5 @
/home/leo/.emacs.d/elisp/org-mode.git/lisp/)
current state:
==============
(setq
org-babel-results-keyword "results"
org-src-mode-hook '((lambda nil (auto-save-mode t)) (lambda nil
(define-key org-src-mode-map " @" (quote
org-src-do-key-sequence-at-code-block)))
org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-edit-src-content-indentation 0
org-src-tab-acts-natively t
org-agenda-files '("~/My Dropbox/notes.org/memos.txt")
org-shiftup-final-hook '(windmove-up)
org-cycle-include-plain-lists nil
org-mode-hook '(er/add-org-mode-expansions turn-on-font-lock flyspell-mode
(lambda nil (auto-fill-mode t) (setq adaptive-fill-regexp
nil) (setq comment-start nil))
(closure
(org-inlinetask-min-level org-mode-abbrev-table
org-mode-syntax-table buffer-face-mode-face org-mode-map org-tbl-menu
org-org-menu
org-struct-menu org-entities org-last-state
org-id-track-globally org-clock-start-time texmathp-why remember-data-file
org-agenda-tags-todo-honor-ignore-options
iswitchb-temp-buflist calc-embedded-open-mode calc-embedded-open-formula
calc-embedded-close-formula align-mode-rules-list
org-emphasis-alist org-emphasis-regexp-components
org-export-registered-backends
org-modules org-babel-load-languages t)
nil (add-hook (quote change-major-mode-hook) (quote
org-show-block-all) (quote append) (quote local)))
(closure
(org-bracket-link-regexp org-src-window-setup *this*
org-babel-confirm-evaluate-answer-no org-src-preserve-indentation
org-src-lang-modes
org-edit-src-content-indentation
org-babel-library-of-babel t)
nil (add-hook (quote change-major-mode-hook) (quote
org-babel-show-result-all) (quote append) (quote local)))
org-babel-result-hide-spec org-babel-hide-all-hashes)
org-outline-path-complete-in-steps nil
org-archive-hook '(org-attach-archive-delete-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-shiftdown-final-hook '(windmove-down)
org-babel-pre-tangle-hook '(save-buffer)
org-file-apps '(("\\.nb\\'" .
"/opt/Wolfram/Mathematica/8.0/Executables/Mathematica %s") ("\\.xoj\\'" .
"xournal %s") ("\\.pdf\\'" . "evince %s")
(" \\.pdf::\\([0-9]+\\)\\'" . "evince %s -p %1")
(auto-mode . emacs) ("\\.x?html?\\'" . default) ("\\.nb\\'" . "mathematica
%s"))
org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-hide-leading-stars t
org-babel-load-languages '((R . t) (shell . t) (python . t) (perl . t) (C
. t) (matlab . t) (latex . t) (scheme . t) (scala . t) (ruby . t) (sqlite .
t)
(java . t) (js . t) (elasticsearch . t))
org-shiftright-final-hook '(windmove-right)
org-occur-hook '(org-first-headline-recenter)
outline-minor-mode-hook '(th-outline-minor-mode-init
(lambda nil (define-key outline-minor-mode-map
(kbd "TAB") (quote org-cycle))
(define-key outline-minor-mode-map [(tab)]
(quote org-cycle))
(define-key outline-minor-mode-map [(shift
tab)] (quote org-global-cycle))
(define-key outline-minor-mode-map [backtab]
(quote org-global-cycle)))
)
org-structure-template-alist '(("s" "#+begin_src ?\n\n#+end_src" "\n?\n
") ("v" "#+begin_verse\n?\n#+end_verse"
"