[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replacement for shell mode comint-kill-output

From: Eli Zaretskii
Subject: Re: replacement for shell mode comint-kill-output
Date: Wed, 15 Sep 2021 09:29:14 +0300

> From: huey <>
> Date: Tue, 14 Sep 2021 17:55:30 -0700
> back in the version 19.30 days I could bring up a shell in emacs and
> enter shell commands.  After executing a command, C-c C-o
> (comint-kill-output) would remove the output from the shell buffer and
> place it in the kill ring, where I could do a simple yank and place
> that output in another  buffer.

According to the VC history, that command stopped putting text on the
kill-ring in Apr 1994, i.e. in Emacs 19.23.

> Today, using version 27.1, the comint-kill-output command is no
> longer, and C-c C-o provides the similar function
> comint-delete-output.  However, said output is not placed in the kill
> ring, and cannot be yanked back.
> Is there a different/simple way to achieve the previous behavior?

In Emacs 28, "C-u C-c C-o" would kill the text instead of deleting it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]