-
Notifications
You must be signed in to change notification settings - Fork 68
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
How can I use the current buffer in the finish function of async-start? #127
Comments
Hi, I got the same problem, have u solve this or find another way out? |
Use |
|
f4nyc <notifications@github.com> writes:
And I got another question : how could I pass buffer to child
process of async-start i.e inside START-FUNC ?
You can't, emacs sessions can't share buffers.
The only way I can figure out is saving the buffer to a temporary
file and accessing it.
Yes, this would work, it will be long though if you have a long list of
buffers to treat.
…--
Thierry
|
I have a function that gets a link from the clipboard, gets its metadata, and outputs richly formatted markdown. I want to insert this rich link asynchronously: The user calls the insertion function, and then is free to do their own editing, and when the rich link is ready, it'll be inserted at the point the user initiated the call. I have tried the following, but I can't pass current-buffer to async lambdas at all:
fails with
The text was updated successfully, but these errors were encountered: