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
t
doesn't mark TODO in org-mode
#8640
Comments
I get similar issues. Its as if the org keymap doesn't get loaded when you load an org-file |
I get similar issues. And I wander if there is any way to fix this issue temporarily. |
It seems that this line should be |
Thanks for bringing this to my attention. In develop, |
I think this is a bug since https://github.com/syl20bnr/spacemacs/blob/develop/layers/%2Bemacs/org/README.org |
Thanks, somehow I didn't expect to find todo bindings under “tree”. So many bindings there that don't belong. Removed it. |
@TheBB as for me, |
As you said it's easy to customize though. I find it difficult to believe that so many people need to do this so often that we have to have a one key shortcut for it, but I'm open to listening. |
I agree that I use it I find it to be one of those things that I didn't know I was missing until I had it. A user new to emacs might not know how to use What's the value in removing this keybinding? Can we trace back to who added it originally and figure out what value they saw in adding it? I don't want to bike shed this if you feel it's not important. It's just that to me it's a really useful feature and I think others might like it and not know it's going away 😃 |
100 times daily corresponds to once every six minutes, assuming you're at the computer for 10 hours. If that is true you are probably far north of the average user, let alone hundreds of times daily. I can add a layer variable though if you feel so strongly about it. |
Would it be a good idea to bind C-t to org-todo in Spacemacs? By the way, each of the following key combinations can also be used to change the TODO status:
|
First of all, I'm trying to be constructive. If anything in this post seams offensive, it wasn't intended (blame my english). Thanks for layer variable. It solves problem for me because I spent hour and half finding where the problem is and then going through commits and issues, solving it myself, reporting and then finding there is the solution. Unfortunately I think there are many ppl for which this will remain problem because they are not able to find the solution. I suppose this is not right place to discuss this but main problem is that bindings shouldn't be changed at all if possible. And definitely not as often as in org layer in last months. It is extremely inconvenient for users. I think I can understand most reasons to change something, but this is ... saying politely... "not smart". I can accept that something breaks - it comes with using develop. But then I realize that somebody break smart shortcut intentionally and that is something I don't think we should accept. Please suggest where it is best place to discuss/solve this (again, probably not in this issue) but at least think about:
And most importantly please if there is a change:
It is really totally insane to introduce such change in commit with subject "Use evil-org from MELPA". btw. C-t doesn't seam good idea to me as I'm evil user. S-right is for cycling through states, it doesn't offer popup with available states. |
Marking todo DONE with 3-4 keystrokes is insane. This was clearly done by someone who doesn't use org-mode a lot??? turns on option good day. |
Definitely makes it a bit more difficult to use. I just started using emacs just for org-mode and I think there are a lot of others out there like myself, org-mode seems to be the gateway drug. |
@Tiberriver256 There is the option org-want-todo-bindings to retrieve simplicity ;) |
Bumping this topic. I'm just another 'used-to-be-happy-with-former-t-in-org-mode' guy. If you truly use this mode for organising your agendas you will need marking subtrees with TODO statuses to be as efficient as possible. |
@adamczykm Could you tell more about the issue you're facing? This has been fixed in develop and you can enable the old functionality of marking todo states with |
It's not a good user experience since the default behavior was changed! It doesn't make any sense for the user to adjust the config to bring back the old (and useful) behavior. I spent ~15 minutes to fix my config(set org-want-todo-bindings t) and I think many org users may waste their time doing the same fix... |
The following will remove the old binding: (spacemacs/set-leader-keys-for-major-mode 'org-mode "Cp" nil) |
@Miciah unfortunately, these don't work... Update: it works after several times of restarts. Thanks. 2nd Update: it only works in org mode, but I woud like it to work in agenda as well. |
I agree this change was a bit of a surprise. I had to spend time just to enable an option to bring things back to what they were. In org mode I often move items between different states, so using |
Since I upgrade spacemacs to developer version 't' key doesn't work at all even with variable set. Spent more than hour to find what's the problem. |
In my case, it was caused by ipython-notebook layer, I commented out ipython-notebook layer, and there was no problem anymore. |
Please don't change the default keybindings. I understand you're the maintainer and it's up to you, but as a user I'm telling you: it's killing the magic of spacemacs for me. |
Excuse me for sounding a bit peeved, but I've just spent a couple of weeks wondering why Org mode in Spacemacs doesn't work properly. Cycle TODO is listed in Org Mode Basics as the first keyboard shortcut.
It also is one of only 15 one key shortcuts in the Spacemacs manual. You'll also find that it's referred to in countless third party "Getting started with Org Mode in Spacemacs" videos. So why would you remove a key feature, and seemingly on a whim? This looks like a mistake, particularly when it seems that the "T" (org-insert-todo-heading nil) to make a new heading shortcut seems to have disappeared as well. |
This seems to have been why it was changed:
source: Use evil-org from MELPA #9041 (comment) |
I can see the merit in this argument, but surely demoting it to three levels deep - and without changing the docs to alert develop branch users - is pretty unhelpful. Particularly when there are so many resources out there that refer to the original behaviour. Going back to the Org Mode documentation the developers there obviously regard 'Make heading', 'Cycle TODO status' , 'promote/demote' and 'move' as core Org Mode functions. IMO Spacemacs should treat them as such. As 't' and 'T' both have underlying Vim editing functions they are probably not a good choice but "SPC m TT" is agonisingly slow for something which should be as easy as switching between 'normal' and 'insert'. The alternatives all have their problems too:
|
I don't know if it's how it's usually done, but: |
I think there is an important issue buried here.
and with |
I was watching a tutorial this morning in which the author demonstrated that Keeping in mind that tl;dr |
This issue is first link when you google "org mode can't find t todo" so i'm going to write here: |
@blackdev1l |
Chalk me up as another person who spent an hour figuring out why this binding went away. |
I discovered that I need to add this under |
You can set it directly when setting layer. Instead of adding only org to (org :variables
org-want-todo-bindings t) |
Thanks for the clarification, i'm going to look into it as soon as possible! |
Hi, new user here. I'm learning both spacemacs and org mode and figured there's got to be a better way than ', T T'. I appreciate that 'org-want-todo-bindings' provides me a way to get the one-key behavior, but I am certain that the current default (org-want-todo-bindings f) is wrong. To see why, we need to look at the principals of spacemacs (mnemonic based editing) and org mode (where TODOs are a primary purpose for its existence). I appreciate that binding 't' can seem like a binding land grab, but in this case it is justified. Org mode is going to be something that spacemacs users will want to try very quickly and if it doesn't have a short binding for such a common operation, then I think it'll hurt adoption. Here's another way of looking at it, if (org-want-todo-bindings t) is the default, how many will switch it to (org-want-todo-bindings f)? I would venture to guess many fewer people care about having the vim 't' binding in org mode than those who care about having a fast TODO marker in org mode. Lets not let ideology get in the way of pragmatism here. |
As a new user (long time emacs user), I followed the installation instructions for the plain spacemacs installation. I read the org mode readme page, and found out that my keyboard shortcuts don't work. This has lead me to a 4 year old post that says that the documentation is out of date. Is spacemacs a dead project? Whether or not the (not very) new key binding is a good idea, I think docs should be updated when changing them, otherwise it is very confusing for new users. Considering the amount of backlash about this particular change, mentioning the flag in the readme to be able to use those shortcuts would be pretty helpful |
There hasn't been a release in quite some time, but the develop branch is fairly lively. See https://develop.spacemacs.org/ the develop branch's documentation; https://develop.spacemacs.org/layers/+emacs/org/README.html#org-with-evil-org-mode documents the |
@Miciah ah I understand now, I didn't realise I should be using the develop documentation page. Thanks very much! |
The I ended up remapping the
I'm a newbie. I think this only works if you're using Evil mode. There are probably other commands if you don't use Evil. |
@shiki |
Hi @lebensterben! Without the mapping that I shared above (#8640 (comment)), this is the result of But if I apply the mapping, this is the result: Here is my current |
This doesn't make any sense. In your config you've set So this evaluates to When Specifically, https://github.com/Somelauw/evil-org-mode/blob/80ef38fb378541937f6ddfe836809e76eda1e355/evil-org.el#L731-L732 is equivalent to |
This comment has been minimized.
This comment has been minimized.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Description
t
in org-mode (or evil-org-mode) no longer marks header as TODO. Not sure ifthis is an upstream problem, feel free to close if so.
Reproduction guide 🪲
t
Observed behaviour: 👀 💔
Expected behaviour: ❤️ 😄
TODO
System Info 💻
Backtrace 🐾
The text was updated successfully, but these errors were encountered: