Skip to content

Instantly share code, notes, and snippets.

maikol-solis / # kf5-kxmlgui - 2021-11-05_13-57-45.txt
Created Nov 5, 2021
kf5-kxmlgui (kde-mac/kde/kf5-kxmlgui) on macOS 11.6 - Homebrew build logs
View # kf5-kxmlgui - 2021-11-05_13-57-45.txt
Homebrew build logs for kde-mac/kde/kf5-kxmlgui on macOS 11.6
Build date: 2021-11-05 13:57:45
maikol-solis / # kf5-kxmlgui - 2021-11-04_13-44-32.txt
Created Nov 4, 2021
kf5-kxmlgui (kde-mac/kde/kf5-kxmlgui) on macOS 11 - Homebrew build logs
View # kf5-kxmlgui - 2021-11-04_13-44-32.txt
Homebrew build logs for kde-mac/kde/kf5-kxmlgui on macOS 11
Build date: 2021-11-04 13:44:32
maikol-solis / org-roam-insert-footnote
Last active Dec 28, 2020
Insert org-roam link using a footnote style
View org-roam-insert-footnote
;; First implementation by lejon
(defun footnote/org-roam-insert (&optional lowercase completions filter-fn description link-type)
"Find an Org-roam file, and insert a relative org link to it at point.
Return selected file if it exists.
If LOWERCASE is non-nil, downcase the link description.
LINK-TYPE is the type of link to be created. It defaults to \"file\".
COMPLETIONS is a list of completions to be used instead of
FILTER-FN is the name of a function to apply on the candidates
View gist:47aa20ab7c07737322bd17c146b1aa97
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
(progn (insert-file-contents bibfile) (bibtex-set-dialect (parsebib-find-bibtex-dialect) t) (bibtex-search-entry key) (bibtex-autokey-get-field "url"))
(unwind-protect (progn (insert-file-contents bibfile) (bibtex-set-dialect (parsebib-find-bibtex-dialect) t) (bibtex-search-entry key) (bibtex-autokey-get-field "url")) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert-file-contents bibfile) (bibtex-set-dialect (parsebib-find-bibtex-dialect) t) (bibtex-search-entry key) (bibtex-autokey-get-field "url")) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert-file-contents bibfile) (bibtex-set-dialect (parsebib-find-bibtex-dialect) t) (bibtex-search-entry key) (bibtex-autokey-get-field "url")) (and