help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs equivalent of the ":g" command in vi


From: Andreas Röhler
Subject: Re: Emacs equivalent of the ":g" command in vi
Date: Sat, 23 Jul 2011 09:10:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

Am 22.07.2011 22:51, schrieb MBR:
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

Sure. If you like, it might be of interest for others too comparing a real example.

If you may provide a piece of code and a kbd-macro dealing with it, let's see how a function might come up with.

BTW as for functions you will have templates. So quite often creating a new function isn't much more finally than specifying a regexp.


Andreas



reply via email to

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