From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: regexp-replace default Date: Wed, 15 Oct 2008 23:44:43 +0200 Organization: Organization?!? Message-ID: <85bpxlwn1w.fsf@lola.goethe.zz> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224110448 21608 80.91.229.12 (15 Oct 2008 22:40:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2008 22:40:48 +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 Oct 16 00:41:48 2008 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.50) id 1KqF3o-0004tU-I9 for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Oct 2008 00:41:44 +0200 Original-Received: from localhost ([127.0.0.1]:38420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqF2j-00060e-MC for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 18:40:37 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed.straub-nv.de!noris.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:L4XG14rIl/C24Xg6jS0QckVTd7g= Original-Lines: 23 Original-NNTP-Posting-Date: 15 Oct 2008 23:44:43 CEST Original-NNTP-Posting-Host: 555128ee.newsspool3.arcor-online.net Original-X-Trace: DXC=g^E[OhS:FVkj5k5aEF7ISmMcF=Q^Z^V3h4Fo<]lROoRa4nDHegD_]Reb?0miWcDhBeCV`H8_`hhQd^9QSCVg3dOfOIC5DBZVJ9kJX]jW4GlZOcbk@M?f4DQL` Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: news.stanford.edu gnu.emacs.help:163481 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:58825 Archived-At: Joe writes: > Hey all, > Hopefully a simple question for the emacs wizards out there. Say I do > a regexp-relace of: > > M-x replace-regexp > Replace regexp: foo > Replace regexp with: bar > > But then I realize I actually wanted foo to baz. When I do M-x > replace-regexp it shows me the default > > M-x replace-regexp > Replace regexp (default foo -> bar): > > Is there someway to get the default text and edit that instead of > typing it in again? M-p -- David Kastrup, Kriemhildstr. 15, 44793 Bochum