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

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

Re: query-replace?


From: Peter Dyballa
Subject: Re: query-replace?
Date: Sun, 8 Jan 2006 13:03:13 +0100


Am 07.01.2006 um 19:04 schrieb B. T. Raven:

i.
I have a character \234 in a file that should be displayed as an oe
ligature. I have tried M-% C-q (0)234 but this doesn't work for getting it
into the patter to be replaced. How do I refer to this character?

With default read-quoted-char-radix being 8 it's C-q 2 3 4 <RET>. HEX input would be C-q 9 C RET>, and decimal C-q 1 5 6 <RET>. I don't remember that this failed in any case ...

A different approach would be to bind some function key to enter œ.


ii. Is it possible to include newlines in regexps? I have a five line
header on each page that begins with same characters on 1st line and ends with same on last line. What is the most automated method of deleting just
these lines?

C-q C-j.

--
Greetings

  Pete

There's no place like ~
                          (UNIX Guru)






reply via email to

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