Closed jroimartin closed 1 year ago
For the time being, as a workaround, use C-u RET
instead of RET
.
Fixing this would be simple (while risking to break other commands in the process), but doing it properly will involve some design decisions and testing.
Thanks for the workaround! It works perfectly. Just out of curiosity, what's the effect of setting the prefix?
@tarsius Tested the workaround as well. Works fine.
The prompt View pull-request
is quite confusing when there are only closed PRs around. In that case there are no completions offered and the only thing the user can do is to quit the command. Hitting return on a closed PR and then confirming the empty prompt leads to the error message
cl-no-applicable-method: No applicable method: forge-get-pullreq, nil
which somehow suggests that there is a bug somewhere or something is not properly configured/installed.
I am actually working on this now. Should be ready in a day or two.
Fixed in 3b73be586c746c919f4c866936651845430395ad, as part of a major refactoring of view, browse and copy commands.
There are some changes in behavior and room for future tweaking. Most notably, C-c C-w
now puts an url on the kill-ring; only C-c C-o
actually opens the url in a browser. On the other hand, that now works in more places. And on commits it now browses the commit, not some random branch.
Expected behavior:
C-x g
to open a magit status bufferf n
to fetch topicsTAB
onPull requests
orIssues
to expand sectionRET
on a closed pull request or issueObserved behavior:
C-x g
to open a magit status bufferf n
to fetch topicsTAB
onPull requests
orIssues
to expand sectionRET
on a closed pull request or issueView pull-request
orView issue
is shown in the minibuffer.However, I can visit both closed and open pull requests and issues if I press
N l t
(orN l p
,N l i
) andRET
on an item.forge version: 20230522.1054 (MELPA) magit version: 20230606.1402 (MELPA)