[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65511: [PATCH] copy-next-command-output suggestion
From: |
Jeremy Bryant |
Subject: |
bug#65511: [PATCH] copy-next-command-output suggestion |
Date: |
Tue, 05 Sep 2023 19:33:30 +0100 |
User-agent: |
mu4e 1.8.13; emacs 29.1 |
Yes, I will work on this.
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> It might not be that hard to do: tho: just push markers in *Messages* at
>>> the beginning/end of every command (unless there have been no messages
>>> since the last push), make sure we throw away those markers that reach
>>> `point-min`, and then add a `copy-last-command-output` command that uses
>>> those markers to extract the last message using those markers.
>>> The tricky part will be to find the right message when messages are
>>> emitted (e.g. by the completion UI) while the user types
>>> `M-x copy-last-command-output RET`.
>> Maybe we should indeed try to come up with such an alternative
>> implementation.
>
> Jeremy, do you want to take a crack at it?
>
>
> Stefan