[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1496: 23.0.60; comint-delete-output should copy region to the kill r
From: |
Lars Ingebrigtsen |
Subject: |
bug#1496: 23.0.60; comint-delete-output should copy region to the kill ring |
Date: |
Mon, 19 Jul 2021 17:14:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
barry@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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#1496: 23.0.60; comint-delete-output should copy region to the kill ring,
Lars Ingebrigtsen <=