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

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

imput methods (was Re: query-replace?)


From: B. T. Raven
Subject: imput methods (was Re: query-replace?)
Date: Sun, 08 Jan 2006 16:17:16 GMT

"Peter Dyballa" <Peter_Dyballa@Web.DE> wrote in message
news:mailman.315.1136721918.26925.help-gnu-emacs@gnu.org...

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.


Thanks, Peter and Lennart. For me it's easier to use leim since I use
latin-4-postfix most of the time anyway. With this the oe ligature is O&
or o&, which seems mnemonic since the first component of ampersand is a
Greek e (e-t). This brings up another question: When I type C-h I
(describe input method) and then "latin-3-postfix" all I see are the empty
rectangles again. This happen while looking at them with the .ttf font
arialuni, which certainly has the glyphs for Turkish characters. ???

Ed





reply via email to

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