From: "B. T. Raven" <ecinmn@alcisp.com>
Subject: Re: ^L character?
Date: Tue, 7 Nov 2006 22:44:40 -0600 [thread overview]
Message-ID: <6354b$45515e29$49fa2ee$11029@DIALUPUSA.NET> (raw)
In-Reply-To: uzmb2r8zm.fsf@hotmail.com
"Peter" <facetious_nickname@hotmail.com> wrote in message
news:uzmb2r8zm.fsf@hotmail.com...
> 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?
>
> Thank you.
To replace ^L with nothing (delete):
M-% C-q C-l RET RET
spacebar....
then after seeing it work on a few, press ! to replace all.
To replace ^L with a newline:
M-% C-q C-l RET C-q C-j RET
for an actual newline char 10
or
.... \newline if that's what LaTeX wants.
M stands for Meta (mapped to Alt on common keyboards). M-% (Alt-Shift-%)
and C-q C-L C-j are keychords: While holding down the first, press the
second.
prev parent reply other threads:[~2006-11-08 4:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-08 2:02 ^L character? Peter
2006-11-08 2:40 ` Dan Sommers
2006-11-08 4:44 ` B. T. Raven [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='6354b$45515e29$49fa2ee$11029@DIALUPUSA.NET' \
--to=ecinmn@alcisp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.