From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: MBR Newsgroups: gmane.emacs.help Subject: Re: Emacs equivalent of the ":g" command in vi Date: Fri, 22 Jul 2011 16:51:40 -0400 Message-ID: <4E29E2DC.2060503@arlsoft.com> References: <4E29DD40.80909@arlsoft.com> <4E29DF70.7080008@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------080000090902060900090505" X-Trace: dough.gmane.org 1311367927 22255 80.91.229.12 (22 Jul 2011 20:52:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2011 20:52:07 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?ISO-8859-1?Q?Andreas_R=F6hler?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 22 22:52:00 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QkMhR-0008Oh-F4 for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jul 2011 22:51:57 +0200 Original-Received: from localhost ([::1]:33696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkMhP-0007By-MT for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jul 2011 16:51:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkMhL-0007Bt-37 for help-gnu-emacs@gnu.org; Fri, 22 Jul 2011 16:51:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkMhK-00079h-3G for help-gnu-emacs@gnu.org; Fri, 22 Jul 2011 16:51:51 -0400 Original-Received: from cario.hostforweb.net ([66.225.230.82]:44327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkMhJ-00079d-Ux for help-gnu-emacs@gnu.org; Fri, 22 Jul 2011 16:51:50 -0400 Original-Received: from c-24-61-86-182.hsd1.ma.comcast.net ([24.61.86.182]:1646 helo=[127.0.0.1]) by cario.hostforweb.net with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.69) (envelope-from ) id 1QkMhH-00056C-Ts; Fri, 22 Jul 2011 15:51:48 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: <4E29DF70.7080008@easy-emacs.de> X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cario.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - arlsoft.com X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: Linux 2.6? (barebone, rare!) X-Received-From: 66.225.230.82 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81739 Archived-At: This is a multi-part message in MIME format. --------------080000090902060900090505 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Personally, I don't find I'm "fighting" with macros. You can get an astounding amount done with macros without having to do the mental context switch to coding mode. And if I'm already in coding mode, I find putting the real application I was working on (in Java or C or PHP or JavaScript or whatever) on short-term hold and switching context to writing Elisp code for editing the application code, leaves me struggling to remember what I was trying to accomplish with my changes to the application code when I finally finish writing the Elisp code and need to pop that context off my mental stack and return to thinking about the application code. But other people's mental processes may well be different. To each his own. Or, as they say, YMMV. Mark On 7/22/2011 4:37 PM, Andreas Röhler wrote: > Hi, > > from my feeling: finally much easier then fighting which recorded > keyboard-macros is writing it's own little functions. > > Running them under edebug then and a breakpoint set allows neatly control > > Keyboard macros are good for really limited and easy repeats. > > Andreas > --------------080000090902060900090505 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Personally, I don't find I'm "fighting" with macros.  You can get an astounding amount done with macros without having to do the mental context switch to coding mode.  And if I'm already in coding mode, I find putting the real application I was working on (in Java or C or PHP or JavaScript or whatever) on short-term hold and switching context to writing Elisp code for editing the application code, leaves me struggling to remember what I was trying to accomplish with my changes to the application code when I finally finish writing the Elisp code and need to pop that context off my mental stack and return to thinking about the application code.

But other people's mental processes may well be different.  To each his own.  Or, as they say, YMMV.
Mark

On 7/22/2011 4:37 PM, Andreas Röhler wrote:
Hi,

from my feeling: finally much easier then fighting which recorded keyboard-macros is writing it's own little functions.

Running them under edebug then and a breakpoint set allows neatly control

Keyboard macros are good for really limited and easy repeats.

Andreas

--------------080000090902060900090505--