[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: org-wikinodes: Failed to add wikinodes to `org-font-lock-extra-
From: |
Scott Campbell |
Subject: |
[O] Bug: org-wikinodes: Failed to add wikinodes to `org-font-lock-extra-keywords'. [8.2.10 (8.2.10-30-gca21b7-elpa @ /home/scott/.emacs.d/elpa/org-20150202/)] |
Date: |
Tue, 3 Feb 2015 10:09:40 -0500 |
Hello.
I started testing org-wikinodes, and although the functionality seems to
work (C-c C-o links from CamelCase words to headlines, with new
headlines created as necessary), I can't get the face to change to match
plain links. When I load an org file with CamelCase words/headlines, I
get an error:
"Failed to add wikinodes to `org-font-lock-extra-keywords'"
I've done what I can to isolate what's going on, trying various
combinations of running without my init file, without site-lisp, and so
on. The only way I can get it to work is if I explicitly exclude
everything except the org-wikinodes library. So, if I start with:
$emacs -Q -l .emacs.d/elpa/org-plus-contrib-201401026/org-wikinodes.el ORGFILE
then it works. But the org version is 7.9.3f, which is presumably what
ships with ubuntu 14.10. I've tried starting with an empty .emacs file,
so that it only pulls in the site-lisp, and then it fails again. I
couldn't see a difference between org-set-font-lock-defaults in org.el
version 8.2.10 and 7.9.3f, so I don't know why or what might be going on
here. Other plain links work fine (ie: http://google.com, bib:testentry,
etc). Enclosing the CamelCase in brackets (ie: [[TestLink]]) is fine.
I've included my org setup below, excepting org-agenda-files, which I
removed for privacy reasons.
If anyone has as suggestions for getting to the bottom of this, I'd be
grateful. I used to use emacs-wiki.el, way back over a decade ago and
wanted to get back into something similar. The org-wikinodes package
seemed to fit the bill, but this is a bit of a stumbling block.
Are there packages known to cause problems with faces/font-locking in
org-wikinodes? Is there another way to get wikinodes added to
org-set-font-lock-defaults? Is there anything else I could do or provide
to make debugging easier?
Thanks!
Scott
------------------------------------------------------------------------
Emacs : GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.9)
of 2014-06-06 on brownie, modified by Debian
Package: Org-mode version 8.2.10 (8.2.10-30-gca21b7-elpa @
/home/scott/.emacs.d/elpa/org-20150202/)
current state:
==============
(setq
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-icalendar-combined-agenda-file "/tmp/org-caldav-3722Nit"
org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-html-format-drawer-function '(lambda (name contents) contents)
org-latex-format-inlinetask-function 'ignore
org-clock-mode-line-total 'today
org-confirm-shell-link-function 'yes-or-no-p
org-columns-default-format "%40ITEM(task) %3PRIORITY %6Effort{:}
%CLOCKSUM_T{:} %CLOCKSUM{:}"
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-clock-idle-time 10
org-startup-folded 'nofold
org-export-date-timestamp-format "%Y-%m-%d"
org-link-search-must-match-exact-headline nil
org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" .
default)
("\\.pdf\\'" . "/usr/bin/evince %s"))
org-emphasis-alist '(("_" (:background "spring green")) ("*" bold) ("/"
italic) ("_" underline)
("=" org-verbatim verbatim) ("~" org-code verbatim) ("+"
(:strike-through t)))
org-agenda-skip-scheduled-if-done t
org-return-follows-link t
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-default-notes-file "~/doc/org/notes.org"
org-export-define-heading-targets-headline-hook
'(org-wikinodes-set-wiki-targets-during-export)
org-capture-templates '(("t" "Todo" entry (file+headline "~/doc/org/notes.org"
"Tasks") "* TODO %?\n %i\n %a")
("c" "calfw2org" entry (file nil) "* %?\n
%(cfw:org-capture-day)"))
org-icalendar-use-scheduled '(todo-start event-if-not-todo)
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-latex-format-drawer-function '(lambda (name contents) contents)
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
org-font-lock-set-keywords-hook '(org-wikinodes-add-to-font-lock-keywords)
org-global-properties '(("Effort_ALL" . "0 0:05 0:15 0:30 1:00 2:00 3:00
4:00"))
org-export-copy-to-kill-ring t
org-mode-hook '(org-clock-load
#[nil "\300\301\302\303\304$\207"
[org-add-hook change-major-mode-hook org-show-block-all
append local] 5]
#[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-refile-targets '((nil :maxlevel . 1) (org-agenda-files :maxlevel . 1))
org-export-with-tags 'not-in-toc
org-agenda-sorting-strategy '((agenda time-up priority-down effort-up) (todo
priority-down category-up) (tags)
(search))
org-ascii-format-drawer-function '(lambda (name contents width) contents)
org-clock-persist 'history
org-ctrl-c-ctrl-c-hook '(org-wikinodes-clear-cache-when-on-target
org-babel-hash-at-point
org-babel-execute-safely-maybe)
org-directory "~/doc/org"
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-archive-location "~/doc/org/archive.org::* from %s"
org-agenda-use-time-grid nil
org-export-with-drawers nil
org-modules '(org-bibtex org-docview org-gnus org-w3m org-wikinodes)
org-catch-invisible-edits 'smart
org-deadline-warning-days 1
org-ctrl-k-protect-subtree t
org-confirm-elisp-link-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-log-into-drawer t
org-agenda-skip-deadline-if-done t
org-html-format-headline-function 'ignore
org-export-preprocess-after-radio-targets-hook
'(org-wikinodes-process-links-for-export)
org-completion-use-iswitchb t
org-html-format-inlinetask-function 'ignore
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-agenda-skip-scheduled-if-deadline-is-shown 'repeated-after-deadline
)
- [O] Bug: org-wikinodes: Failed to add wikinodes to `org-font-lock-extra-keywords'. [8.2.10 (8.2.10-30-gca21b7-elpa @ /home/scott/.emacs.d/elpa/org-20150202/)],
Scott Campbell <=