magithub
magithub copied to clipboard
"There is no thing at point that could be edited" when trying to edit an issue
When "enter" an issue, then try to edit it (not commenting) this message is given in the mini-buffer: "There is no thing at point that could be edited"
This is not yet supported.
So you mean I only can create a new issue from magithub but cannot edit it; right?
As of today, yes. This could change in the future provided I find the time to implement it (or some brave soul submits a PR).
Thanks so much
Leaving open as an enhancement.
Any chance we can change the message in the meantime?
I too was scratching my head about "nothing at point that could be edited" when trying to edit an issue :(
It's a standard message provided by magithub-edit-thing. I'd be fine with changing the message, but it would need to make sense for anything you might want to edit.
I'm a beginner elisper, but it looks like magithub-edit-thing
is purely and simply not implemented (source here)? What about changing the error to something like "This operation is not supported yet."?
I imagine that down the road, magithub-edit-thing
is going to look at what's at point and call different functions accordingly, ie: magithub-comment-edit
if it's a comment, ...?
Not quite. In fact, magithub-edit-thing
is remapped to different functions in different keymaps.
I see, now I understand better your dilemma with changing the message!
https://github.com/vermiculus/magithub/pull/386 implements this issue