From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Newsgroups: gmane.emacs.help Subject: regexp-replace default Date: Wed, 15 Oct 2008 14:17:24 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224106914 8470 80.91.229.12 (15 Oct 2008 21:41:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2008 21:41:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 15 23:42:55 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 1KqE8q-0003sZ-JI for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 23:42:52 +0200 Original-Received: from localhost ([127.0.0.1]:35931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqE7l-0005gf-RE for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 17:41:45 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!u28g2000hsc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 134.240.241.2 Original-X-Trace: posting.google.com 1224105444 28886 127.0.0.1 (15 Oct 2008 21:17:24 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 15 Oct 2008 21:17:24 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u28g2000hsc.googlegroups.com; posting-host=134.240.241.2; posting-account=ZyfIlgoAAADvwmSv7gUPoyt-iOc2yu_g User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:163479 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:58821 Archived-At: 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? Thanks, Joe