Comments (2)
The issue was most likely introduced by 6dcafc4 at this line.
I honestly don't understand why this is happening on your box. Are you not using evil?
If you look into the code that introduced the error:
(when org-ol-tree-packages--evil-p
(evil-define-key '(normal) org-ol-tree-mode-map
"h" #'org-ol-tree-navigation--collapse-current
"l" #'org-ol-tree-navigation--expand-current
(kbd "<left>") #'org-ol-tree-navigation--collapse-current
(kbd "<right>") #'org-ol-tree-navigation--expand-current
))
You can see that I only use the evil-define-key
if org-ol-tree-packages--evil-p
is not nil
. And here is how I populate org-ol-tree-packages--evil-p
:
(defconst org-ol-tree-packages--evil-p (require 'evil-core nil 'noerror)
"Constant indicating if package evil is installed.")
As far as I understood from the lisp documentation, when calling require
with 'noerror
, if Emacs can't load the requested feature, it returns nil
. So, in theory, the use of evil-define-key
should only happen if evil-core
is loaded (which is the feature that defines evil-define-key
).
I'll try to use fboundp
on the check to see if this gets any better on the next patch.
from org-ol-tree.
This is working now. I do use evil so I have no idea what was happening either
from org-ol-tree.
Related Issues (15)
- Allow user to rename a heading from within the outline window
- Allow move heading from within the outline window HOT 1
- Allow user to configure window position
- Allow user to configure the outline node icons
- Allow user to configure the outline initial expand/collapse state HOT 2
- Add a proper keymap variable for the outline
- Make the outline cursor follow buffer cursor HOT 1
- Title is using file name full path when there is no `#+TITLE:` on the file HOT 4
- Behavior is inconsistent with split windows HOT 1
- error: failed to define function org-ol-tree/display-sections HOT 2
- Org mode links in headlines appear as unformatted/raw links
- error when starting or saving in narrow buffer HOT 1
- Compatibility with Treemacs v3
- Use-package error on instilation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org-ol-tree.