From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: despen@verizon.net Newsgroups: gmane.emacs.help Subject: Re: repeat-complex-command too complex Date: Wed, 27 Oct 2010 09:34:01 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291889253 23558 80.91.229.12 (9 Dec 2010 10:07:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 10:07:33 +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 11:07:28 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 1PQdPL-0005Vm-VV for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 11:07:28 +0100 Original-Received: from localhost ([127.0.0.1]:58389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQdPK-0008AL-9p for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 05:07:26 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Injection-Info: mx03.eternal-september.org; posting-host="m5Xp1AeG0rhUixp3PGRKOA"; logging-data="28476"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dRlVsO2y/fNo5ISQAnaGcRjAusJvEjU4=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:CDBdyJV+DjufDSGdSm4CptJjsbA= sha1:r4+UMa+NAqcaGmrH1FmWyJ5sS5o= Original-Xref: usenet.stanford.edu gnu.emacs.help:182068 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:76943 Archived-At: Barry Margolin writes: > 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. Have to admit, I tried to do that myself and failed. My understanding of "interactive" is sadly lacking. I think I have it now though. Thanks!