From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael John Downes Newsgroups: gmane.emacs.bugs Subject: suggestion (comint-kill-output): prefix arg to remove all old output Date: 21 Jun 2002 13:56:18 -0400 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1024682230 16869 127.0.0.1 (21 Jun 2002 17:57:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Jun 2002 17:57:10 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17LSek-0004Ny-00 for ; Fri, 21 Jun 2002 19:57:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17LSes-0007uo-00; Fri, 21 Jun 2002 13:57:18 -0400 Original-Received: from sun06.ams.org ([130.44.1.6] helo=ams.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17LSdw-0007t6-00 for ; Fri, 21 Jun 2002 13:56:20 -0400 Original-Received: (from mjd@localhost) by ams.org (8.12.2/8.12.2) id g5LHuIgH005860; Fri, 21 Jun 2002 13:56:18 -0400 (EDT) Original-To: bug-gnu-emacs@gnu.org Original-Lines: 38 X-Mailer: Gnus v5.7/Emacs 20.7 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2193 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2193 In GNU Emacs 20.7.1 (sparc-sun-solaris2.7, X toolkit) of Thu Sep 21 2000 on thor configured using `configure --with-x' Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I suggest that it would be useful for the comint-kill-output command in a *shell* buffer to interpret a C-u prefix argument as meaning "kill the output of all the preceding shell commands, not just the most recent one". It is not terribly difficult to get the desired effect "by hand", e.g. when the cursor is at the latest shell prompt C-a M-< C-w C-e, but where the lack of the suggested feature costs users (if my experience is any indication) is in the amount of time spent trying to figure out by searching the documentation if such a feature is available, and if so whether it is bound to any key. If it were a documented variant of comint-kill-output, I would have found it rather quickly. I checked also in Emacs 21.1 and the situation seems to be still the same there, although the name comint-kill-output has been superseded by comint-delete-output. Recent input: ... f8 r e p o r return Recent messages: Loading /usr/local/libexec/emacs/20.7/sparc-sun-solaris2.7/fns-20.7.1.el (source)... Loading /usr/local/libexec/emacs/20.7/sparc-sun-solaris2.7/fns-20.7.1.el (source)...done Loading find-func... Loading find-func...done Note: file is write protected Fontifying comint.el... Fontifying comint.el... (regexps.............) Note: file is write protected Loading emacsbug... Loading emacsbug...done