Timeline for Is there a reliable way to determine in the minibuffer from which buffer the interactive command was invoked?
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 21, 2022 at 20:41 | comment | added | duthen |
When the action running in the minibuffer is finished and it is not an action which switches to another buffer (like other-window ), I suppose it should come back to the origin buffer. So, I guess that something somewhere should know how to reach this buffer... Maybe it's too hidden in the calling stack or in C code?
|
|
Apr 24, 2022 at 21:03 | comment | added | Drew |
Someone care to explain the downvote? I believe the answer is correct: Emacs provides no way to know which buffer was current when the minibuffer was activated. (And yes, if in icicle-mode minor mode then you can know what that buffer is.)
|
|
Apr 24, 2022 at 16:03 | history | answered | Drew | CC BY-SA 4.0 |