From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Sommers Newsgroups: gmane.emacs.help Subject: Re: ^L character? Date: Tue, 07 Nov 2006 21:40:53 -0500 Organization: A business or administrative concern united and constructed for a particular end. Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162957244 2157 80.91.229.2 (8 Nov 2006 03:40:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Nov 2006 03:40:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 08 04:40:40 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GheIl-0002Of-Of for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Nov 2006 04:40:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GheIl-0006Mt-9K for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Nov 2006 22:40:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!bigfeed2.bellsouth.net!bigfeed.bellsouth.net!bignumber.bellsouth.net!news.bellsouth.net!bignews4.bellsouth.net.POSTED!4df7e24f!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (darwin) Cancel-Lock: sha1:5TYvoC/y3KuS3upyQcBw8cHCtcs= Original-Lines: 25 Original-X-Complaints-To: abuse@bellsouth.net X-Abuse-Info: Please forward a copy of all headers for proper handling Original-X-Trace: npbhgpngjbkmjfegdbdpiflmbcekedmfhojhikkbagflhcbombejaebpjjddbbombckoghogphdpfebkocgpijjojakffngggohmojkmepakedikejpkaddlfoepjfjnaddagofloofhbeengghbjjfoaiemglci Original-NNTP-Posting-Date: Tue, 07 Nov 2006 21:36:23 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:142961 Original-To: help-gnu-emacs@gnu.org 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:38579 Archived-At: On Tue, 07 Nov 2006 20:02:37 -0600, Peter wrote: > I'm trying to work with a file that I pasted-as-text from Acroread, in > Windows XP. I'd like to replace all of the ^L characters that show up > in this document with either nothing, or a \newline (for LaTeX). How > do I go about replacing a character like that using Emacs? You can enter control characters into emacs by prefacing them by C-q; so to replace ^L's with \newline: M-% C-q C-l RET \newline RET Assuming you haven't hacked your key mappings too much, you can get help on C-q with: C-h C-k C-q HTH, Dan -- Dan Sommers "I wish people would die in alphabetical order." -- My wife, the genealogist