From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: need: (defalias 'kill-grep 'kill-compilation) Date: Mon, 27 May 2002 16:56:57 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205272256.g4RMuvT08905@aztec.santafe.edu> References: Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1022540249 27123 127.0.0.1 (27 May 2002 22:57:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 27 May 2002 22:57:29 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17CTQf-00073M-00 for ; Tue, 28 May 2002 00:57:29 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17CTiD-0003qa-00 for ; Tue, 28 May 2002 01:15:37 +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 17CTRE-0000p0-00; Mon, 27 May 2002 18:58:04 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17CTQA-0000dF-00; Mon, 27 May 2002 18:56:58 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g4RMuvK25652; Mon, 27 May 2002 16:56:57 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g4RMuvT08905; Mon, 27 May 2002 16:56:57 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: bob@rattlesnake.com In-Reply-To: (bob@rattlesnake.com) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4446 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4446 However, adding the `defalias' provides `kill-grep' with the same documentation as `kill-compilation': Kill the process made by the M-x compile command. This is wrong. One can rewrite the `kill-compilation' defun for `kill-grep', but that seems a bit excessive. Is there a short way to defalias `kill-grep'? Since kill-compilation actually kills processes made with M-x grep too, I think that doc string should be changed to fit both cases. Then the simple defalias would do the job. Could you do that?