GNU bug report logs -
#65511
[PATCH] copy-next-command-output suggestion
Previous Next
Full log
View this message in rfc822 format
Stefan Kangas <stefankangas <at> gmail.com> writes:
> Jeremy Bryant <jb <at> jeremybryant.net> writes:
>
>> Yes, I will work on this.
>>
>> Stefan Monnier <monnier <at> 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?
>
> Jeremy, were you able to make any progress here?
I worked on it but got stuck.
The facility is useful - I currently use that snippet from Stefan M in my
.emacs, as is.
I will see if I have time to revisit.
Thanks for the chaser.
This bug report was last modified 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.