help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ^L character?


From: Dan Sommers
Subject: Re: ^L character?
Date: Tue, 07 Nov 2006 21:40:53 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (darwin)

On Tue, 07 Nov 2006 20:02:37 -0600,
Peter <facetious_nickname@hotmail.com> 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
<http://www.tombstonezero.net/dan/>
"I wish people would die in alphabetical order." -- My wife, the genealogist


reply via email to

[Prev in Thread] Current Thread [Next in Thread]