Cannot execute magit.status because there is no active text editor.
See original GitHub issueCurrently, if one opens a folder and runs “> Magit Status” without opening a text editor, the command will silently no-op, and the message Cannot execute magit.status because there is no active text editor.
will appear in the Extension Host output window.
The command should still work in this situation, or, if that’s not possible for some reason, show a user-visible warning that an editor needs to be open before running the command.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
magit-status' reports failed to provide feature 'with-editor' #86
After this, when I ran package-install for magit, there is the same error in the Compile-Log buffer. And the issue still exists. Leaving...
Read more >Magit: Is it possible to edit text directly in "Unstaged changes"?
You can not edit text directly in the Magit buffer, but when your cursor is on the changes you want to edit you...
Read more >magit/magit - Gitter
This isn't magit per se, but I'm trying to construct my own major-mode similar to magit's status buffer, where there's a bunch of...
Read more >1.2 - Magit User Manual
When magit-repo-dirs is not nil, it is treated as a list of directory names, and magit-status will find all Git repositories in those...
Read more >Magit User Manual
Magit User Manual. Magit is an interface to the version control system Git, implemented as an Emacs package. Magit aspires to be a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kahole I’m glad that issue is solved, thank you!
Can allow
magit.dispatch
from anywhere? And remove thewhen
clause ofmagit.status
andmagit.dispatch
in commandPalette? I’d be happy to contribute.Yes, those changes should be made as well. @oo6