From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA10748; Fri, 5 Dec 2003 12:52:49 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA10344 for ; Fri, 5 Dec 2003 12:52:48 +0100 (MET) Received: from megs23.100mwh.com ([205.214.86.13]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hB5Bqlr29540 for ; Fri, 5 Dec 2003 12:52:47 +0100 (MET) Received: from [205.214.86.158] (helo=uaapc442) by megs23.100mwh.com with asmtp (Exim 4.24) id 1ASEVj-0008IG-EL for caml-list@inria.fr; Fri, 05 Dec 2003 04:52:44 -0700 To: "caml-list@inria.fr" Subject: [Caml-list] Missing position in emacs for utf-8 sources From: Artem Prisyznuk Content-Type: text/plain; format=flowed; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Fri, 05 Dec 2003 13:52:17 +0200 Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - megs23.100mwh.com X-AntiAbuse: Original Domain - inria.fr X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sit.kiev.ua X-Loop: caml-list@inria.fr X-Spam: no; 0.00; artem:01 locale:01 char:01 artem:01 compiler:01 compiler:01 byte:01 command:98 cursor:01 emacs:01 emacs:01 compile:02 bytes:02 solved:06 source:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, I use utf-8 locale, and write comment in my sources on russian language. So russians char has two byte representation in source. When I compile my sources compiler recognize these chars as two chars, so error position printed by compiler is in bytes not in chars, so emacs command goto-char put cursor in wron position. Who that faced with a similar problem? How it can be solved? -- Artem Prysyznuk tema@sit.kiev.ua ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners