[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Replacement
From: |
hufflen jean-michel |
Subject: |
Replacement |
Date: |
Thu, 27 Oct 2005 17:44:23 +0200 (CEST) |
Dear GNU Emacs developers,
I think I found a bug in the replacement operation. Let us consider a
source text for LateX and assume that we want to replace the command for an
accented letter by the accented letter itself. For example, replacing \`{a} by
à using the accurate coding. If we look into the documentation and would like
to perform this operation by means of a Lisp code, that should be:
(beginning-of-buffer)
(while (re-search-forward "\\\B`{a}" nil t)
(replace-match "Ã " nil nil))
Unfortunately, the replacement is \`{a} ====> \Ã
Sincerely yours,
J.-M. Hufflen
- Replacement,
hufflen jean-michel <=