From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: recording-elisp.el - try recording commands as elisp code Date: Wed, 07 Nov 2007 02:56:35 -0500 Message-ID: References: <87k5p05qsy.fsf@jurta.org> <87ve8g5kws.fsf@jurta.org> <87hcjzt4k9.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1194425624 3771 80.91.229.12 (7 Nov 2007 08:53:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Nov 2007 08:53:44 +0000 (UTC) Cc: yezonghui@gmail.com, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 07 09:53:48 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IpgfT-0000ui-K9 for ged-emacs-devel@m.gmane.org; Wed, 07 Nov 2007 09:53:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpgfI-0007RF-OJ for ged-emacs-devel@m.gmane.org; Wed, 07 Nov 2007 03:53:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpgcI-0005k3-CR for emacs-devel@gnu.org; Wed, 07 Nov 2007 03:50:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpgcD-0005el-9F for emacs-devel@gnu.org; Wed, 07 Nov 2007 03:50:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpgcC-0005eW-LG for emacs-devel@gnu.org; Wed, 07 Nov 2007 03:50:24 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IpgcC-0001xf-67 for emacs-devel@gnu.org; Wed, 07 Nov 2007 03:50:24 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Ipfm7-0004bN-Fo; Wed, 07 Nov 2007 02:56:35 -0500 In-reply-to: <87hcjzt4k9.fsf@jurta.org> (message from Juri Linkov on Wed, 07 Nov 2007 00:28:18 +0200) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82718 Archived-At: > That's just no good. If the user wanted to replace with no queries he > would have run `replace-string' himself. I always use `M-% from RET to RET !' to replace all matches with no queries because this is very convenient user interface. So Lisp recording should take care of this and convert the key `!' to the loop with search-forward and replace-match. I agree, as regards that special case.