From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Rendering Fix progresses, Now Input-Method (Was:Re: Making the malayalam rendering proper) Date: Mon, 20 Oct 2008 16:47:01 +0900 Message-ID: References: <57f75d610805270350p41018624v59022a20f6c84f40@mail.gmail.com> <87ej2ctpts.fsf@swathanthran.in> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1224510011 10395 80.91.229.12 (20 Oct 2008 13:40:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2008 13:40:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: mail@swathanthran.in (Shyam | à´¶àµà´¯à´¾à´ à´à´¾à´°à´¨à´¾à´àµà´àµ | Karanattu) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 20 15:40:41 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KrpV4-0005cF-Ks for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2008 09:48:26 +0200 Original-Received: from localhost ([127.0.0.1]:40041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrpTz-00059z-BT for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2008 03:47:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KrpTv-00059u-Dt for emacs-devel@gnu.org; Mon, 20 Oct 2008 03:47:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KrpTt-00059i-Gx for emacs-devel@gnu.org; Mon, 20 Oct 2008 03:47:13 -0400 Original-Received: from [199.232.76.173] (port=57864 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrpTt-00059f-A9 for emacs-devel@gnu.org; Mon, 20 Oct 2008 03:47:13 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:8243) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KrpTs-0005Bb-PD for emacs-devel@gnu.org; Mon, 20 Oct 2008 03:47:12 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KrpTp-0001Rb-9n for emacs-devel@gnu.org; Mon, 20 Oct 2008 03:47:09 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m9K7l44D022812; Mon, 20 Oct 2008 16:47:04 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m9K7l41h008067; Mon, 20 Oct 2008 16:47:04 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id m9K7l1Ke007445; Mon, 20 Oct 2008 16:47:01 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1KrpTh-00069D-KR; Mon, 20 Oct 2008 16:47:01 +0900 In-reply-to: <87ej2ctpts.fsf@swathanthran.in> (mail@swathanthran.in) X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.aist.go.jp id m9K7l44D022812 X-detected-kernel: by mx20.gnu.org: Solaris 9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104663 Archived-At: In article <87ej2ctpts.fsf@swathanthran.in>, mail@swathanthran.in (Shyam = | =E0=B4=B6=E0=B5=8D=E0=B4=AF=E0=B4=BE=E0=B4=82 =E0=B4=95=E0=B4=BE=E0=B4=B0= =E0=B4=A8=E0=B4=BE=E0=B4=9F=E0=B5=8D=E0=B4=9F=E0=B5=8D | Karanattu) writ= es: > Its A REALLY GREAT PLEASURE! to read this blog from suresh ji > http://suruma.freeflux.net/blog/archive/2008/10/15/emacs-malayalam.h= tml=20 > which says about the malayalam rendering in emacs became perfect! > GREAT THANKS for the work! > I have tried the same and it seems working perfect so far. Thank you for testing it. > Now comes the next wish ;-) to make the malayalam-inscript input me= thod > perfect. It cant enter zwj and zwnj at the moment. I could > correct it with a simple (quail-defrule "]" "=E2=80=8D") and (quail-= defrule "\\" > "=E2=80=8C") > . But i dont know how to specify that in leim/quail/indian.el to > include it to the default setting. The function quail-defrule has 3rd optional arg NAME. You must specify it as this: (quail-defrule "]" "=E2=80=8D" "malayalam-inscript") (quail-defrule "\\" "=E2=80=8C" "malayalam-inscript") And, instead of changing quail/indian.el, you can put this in your .emacs. (eval-after-load "quail/indian" '(progn (quail-defrule "]" "=E2=80=8D" "malayalam-inscript" t) (quail-defrule "\\" "=E2=80=8C" "malayalam-inscript" t))) Are those keys already widely used by Malayalam people? If so, we'll add them in quail/indian.el. > Also the input method contradicts > with the xkb input layout, as it swaps the place of two > characters. i.e emacs' malayalam-inscript layout has z for =E0=B5=87= and s > for =E0=B5=86 and Z for =E0=B4=8F and S for =E0=B4=8E while its z:= =E0=B5=86 s:=E0=B5=87 Z:=E0=B4=8E S:=E0=B4=8F for xkb > layout which i cleared by creating another inscript-ml-keytable by > copying inscript-dev-keytable in the leim/quail/indian.el and swappi= ng the place of (?Z ?z) and > (?S ?s)=20 Ah, I've just installed a fix. > Moreover I got emacs crashing for various key combinations which > happens for both type of input methods(xkb's and emacs'). > (gdb) run > Starting program: /home/shyam/emacs/src/emacs=20 > [Thread debugging using libthread_db enabled] > [New Thread 0xb7062720 (LWP 17362)] =20 > Program received signal SIGABRT, Aborted. > [Switching to Thread 0xb7062720 (LWP 17362)] > 0xb7efa410 in __kernel_vsyscall () > (gdb)=20 =20 > Thats the message i get as i try to display all the characters by > passing finger over my qwerty keyboard (ACER aspire 5570z laptop) one a= fter the other, starting > from the one having `/~ (=E0=B5=8A/=E0=B4=92) and works fine till =3D/+= (=E0=B5=83/=E0=B4=8B) but the next > character q/Q(=E0=B5=8C/=E0=B4=94) makes it break. with the message FAT= AL Error:(6) > Aborted > but just entering =3D/+ and q/Q didn't caused crashing. I could also fi= nd > some similar keysequence causing the emacs to crash. Please show me the output of gdb's "bt" command at that moment. And I think the problem is not in the input method but in the display routine of the resulting character sequence. Please tell me which font is used and which character sequence (preferably the shortest one) causes this bug so that I can reproduce it. --- Kenichi Handa handa@ni.aist.go.jp