Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Category headers throw errors when major/minor leader key in Spacemacs is pressed #112
I am not an Emacs expert, so I hope my explanation makes sense.
Most of my day, I use a super agenda with scheduled tasks for this day that looks like this:
The problem is that I can't use the spacemacs leader keys when the cursor is over a line that represents one of super agenda's generated category headers.
It is very irritating, because normally you can use these commands from every buffer. It also works with the single lines of the agenda entries or blank lines, only the category headers cause errors.
I was not able to find a fix for this, but would be happy to help!
I'm glad this package is useful to you.
I don't use Spacemacs or EVIL, so I can't offer specific support for them. Other users have mentioned similar problems, so you may find help by searching older issue reports here. Also, the package
In general, the issue is the keymaps, which you can adjust in your config. So, e.g. you could just set the header keymap in this package to nil.
Hi! Thank you for the hints, I am still not sure where the error originates from. It is kind of strange since this only happens for headlines generated by super-agenda, not by headlines in standalone agendas.
The pushpin is just an emoji! :) I basically only use one "work day" agenda that is described here.
The headers made by
(defvar org-super-agenda-header-map (copy-keymap org-agenda-mode-map) "Keymap applied to agenda group headers. This is initialized to a copy of `org-agenda-mode-map'; changes made to that map after this variable is defined will not be included. This map is useful for binding commands which apply only with point on the group headers (e.g. use `origami' to fold group headings by binding a key to `origami-toggle-node' in this map).")