unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dan Sommers <me@privacy.net>
Subject: Re: ^L character?
Date: Tue, 07 Nov 2006 21:40:53 -0500	[thread overview]
Message-ID: <m2mz72zmmi.fsf@unique.fqdn> (raw)
In-Reply-To: uzmb2r8zm.fsf@hotmail.com

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	other threads:[~2006-11-08  2:40 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 [this message]
2006-11-08  4:44 ` B. T. Raven

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2mz72zmmi.fsf@unique.fqdn \
    --to=me@privacy.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).