From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: repeat-complex-command too complex Date: Wed, 27 Oct 2010 02:33:18 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1291888304 19078 80.91.229.12 (9 Dec 2010 09:51:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 09:51:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 10:51:40 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQd9z-0006AO-P1 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 10:51:35 +0100 Original-Received: from localhost ([127.0.0.1]:45920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQd9y-000565-Mx for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 04:51:34 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-2.dfn.de!news.dfn.de!news.stw-bonn.de!news.netcologne.de!newsfeed-fusi2.netcologne.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Injection-Info: barmar.motzarella.org; posting-host="+bxBiZT/p0ZLLuDb5H+JCw"; logging-data="20735"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198yq+nfbBGFAiz0WCC6vF9" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:UpDkNq7Th7qRRZ8q/5f10dwQuuw= Original-Xref: usenet.stanford.edu gnu.emacs.help:182053 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76934 Archived-At: In article , 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 ***