Skip to content
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

"Done: $url" message not appearing after posting #188

Closed
lilyball opened this issue Jun 6, 2015 · 3 comments
Closed

"Done: $url" message not appearing after posting #188

lilyball opened this issue Jun 6, 2015 · 3 comments

Comments

@lilyball
Copy link
Contributor

lilyball commented Jun 6, 2015

When I post a gist with :Gist, it shows the message telling me that it's posting, but it never shows me the "Done: $url" message. If I type :mess afterwards I can see it, but otherwise it never appears.

After poking at this, it appears that the call to winrestview(view) (inside the call to s:update_GistID) is causing this problem. More specifically, that call appears to mark the window as needing to be redrawn, which it will be as soon as the command finishes.

I think the right answer here is to invoke s:update_GistID prior to echoing the Done message.

@lilyball
Copy link
Contributor Author

lilyball commented Jun 6, 2015

For reference: I'm running MacVim on OS X 10.10.4.

@mattn
Copy link
Owner

mattn commented Jun 7, 2015

how about this 1985efd ?

@lilyball
Copy link
Contributor Author

lilyball commented Jun 8, 2015

Yep, that works. Thanks!

@lilyball lilyball closed this as completed Jun 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants