Closed
Description
With this edit.selected_text()
implementation:
@ctx.action_class("edit")
class EditActions:
def selected_text() -> str:
with clip.capture() as s:
actions.edit.copy()
try:
return s.text()
except clip.NoChange:
return ""
And with edit.copy()
in emacs implemented as key("alt-w")
(the keybinding for copying), running edit.selected_text()
yields an empty string and produces an emacs error message, Selection owner couldn't convert: MULTIPLE
. I'm not sure what the root cause here is. This used to work just fine, not sure when it broke, probably in the last month or two? My guess is something is going wrong with MIME types?
Ubuntu 21.10, GNU Emacs 27.1, Talon v0.2.0-347-gab2a
Metadata
Metadata
Assignees
Labels
No labels