-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Category headers throw errors when major/minor leader key in Spacemacs is pressed #112
Comments
Hi Christian, 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. |
By the way, thanks for sharing the screenshot. I'm curious, where does that pushpin come from? Is it an emoji, or a composed-region, or...? |
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).") |
Can confirm that with
|
Yes, this works for me as well! |
Hi!
First of all, thank you for this great package! I am using it every day!
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.
,
causesuser-error: Command not allowed in this line
SPACE
orTAB
causescommand-execute: Wrong type argument: commandp, spacemacs-cmds
I was not able to find a fix for this, but would be happy to help!
Best,
Christian
The text was updated successfully, but these errors were encountered: