GNU bug report logs -
#1496
23.0.60; comint-delete-output should copy region to the kill ring
Previous Next
Reported by: barry <at> python.org
Date: Fri, 5 Dec 2008 00:20:03 UTC
Severity: wishlist
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
barry <at> python.org writes:
> comint-delete-output uses delete-region instead of kill-region because the
> latter sets this-command. Still, comint-delete-output should copy the killed
> region to the kill ring so that it can be conveniently yanked into other
> buffers. A use case:
>
> I use bzr diff in a shell buffer to get the changes in my working directory.
> I'd like to copy that output directly into an email or a pastebin buffer.
> With comint-delete-output's current behavior I can't use C-c C-o because the
> output is thrown away. By adding a call to copy-region-as-kill, I can now go
> to my mail buffer and hit C-y to paste the diff output.
(I'm going through old bug reports that unfortunately wasn't resolved at
the time.)
I think that sounds like useful functionality, to I've now made
`C-u C-c C-o' save the output on the kill ring (before deleting it) in
Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 20 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.