From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B.T. Raven" Newsgroups: gmane.emacs.help Subject: Re: i18n search/replace with input methods latin-4-postfix and rfc1345 Date: Mon, 14 Mar 2005 11:43:40 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <113bjhicl5eajb2@corp.supernews.com> References: <113a21a5lr8si80@corp.supernews.com> <87psy273pq.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110823721 23163 80.91.229.2 (14 Mar 2005 18:08:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2005 18:08:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 14 19:08:40 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DAtgl-0006p4-7Y for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Mar 2005 18:49:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DAtwT-0001gz-RW for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Mar 2005 13:05:25 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 56 Original-Xref: shelby.stanford.edu gnu.emacs.help:129268 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24820 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24820 "Stefan Monnier" wrote in message news:87psy273pq.fsf-monnier+gnu.emacs.help@gnu.org... > > I have files with > > ;; -*- coding: utf-8 -*- > > on first line and with many unicode characters. I use either > > latin-4-postfix or a lisp routine to input the Latin Extended-A > > characters. During an editing session I can search (and replace) only > > those extended characters that I have input during that session. > > You need "input unification". Try to put (unify-8859-on-decoding-mode 1) > in your .emacs. > > > Stefan Thanks, Stefan, but no cigar. Here is the pertinent part of my .emacs: [...] ;;(setq unify-8859-on-decoding-mode 1) (unify-8859-on-decoding-mode 1) (custom-set-variables ;; custom-set-variables was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. '(case-fold-search t) '(current-language-environment "UTF-8") '(default-input-method "latin-4-postfix") '(diary-file "~/mydie" t) '(kill-read-only-ok t) '(unify-8859-on-encoding-mode t nil (ucs-tables))) [...] The first line I added at your suggestion (both as variable and function call, and later in the editor as a command. Before, I had it in custom-set-variables with arguments t, nil, (ucs-tables). I erased this specific option with customize. I even tried copying Dave Love's rfc1345.el file into \leim\quail but something else is needed since emacs still doesn't recognize it as a valid imput method. Using your suggestion, do I also have to require ucs-tables? Any other suggestions, short of trying to use Yudit? If a specific symptom is any help then I identify a fresh o-with-macron (input with latin-4-postfix) as 0xa72 and the exact same character (at file position) after the file is saved and then revisited is 0x5106d Ed.