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

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

Re: repeat-complex-command too complex


From: Barry Margolin
Subject: Re: repeat-complex-command too complex
Date: Wed, 08 Dec 2010 15:33:34 -0000
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <icmxq1m3cc.fsf@verizon.net>, despen@verizon.net wrote:

> It's pretty unfortunate.  I actually have repeat-complex-command
> bound to a key and use it a lot.  Plus I never use transient mark
> mode.  It's too visually disturbing.
> 
> Thanks.

(defun my-query-replace (from-string to-string)
  (interactive "sReplace: \nsWith: ")
  (query-replace from-string to-string))

Then bind M-% to my-query-replace.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


reply via email to

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