From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mail@swathanthran.in (Shyam | =?utf-8?B?4LS24LWN4LSv4LS+4LSCIOC0lQ==?= =?utf-8?B?4LS+4LSw4LSo4LS+4LSf4LWN4LSf4LWN?= | Karanattu) Newsgroups: gmane.emacs.devel Subject: Re: Rendering Fix progresses, Now Input-Method Date: Mon, 20 Oct 2008 18:16:24 +0530 Message-ID: <874p378me7.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 1224526381 3827 80.91.229.12 (20 Oct 2008 18:13:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2008 18:13:01 +0000 (UTC) To: "emacs-devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 20 20:13:42 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 1KruBR-0004PE-I6 for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2008 14:48:30 +0200 Original-Received: from localhost ([127.0.0.1]:34015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KruAM-0004nq-5G for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2008 08:47:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kru9f-0004b0-CJ for emacs-devel@gnu.org; Mon, 20 Oct 2008 08:46:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kru9e-0004aY-Id for emacs-devel@gnu.org; Mon, 20 Oct 2008 08:46:38 -0400 Original-Received: from [199.232.76.173] (port=53432 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kru9e-0004aR-FS for emacs-devel@gnu.org; Mon, 20 Oct 2008 08:46:38 -0400 Original-Received: from node31.myserverhosts.com ([76.74.159.91]:42921) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kru9e-0008Ti-2V for emacs-devel@gnu.org; Mon, 20 Oct 2008 08:46:38 -0400 Original-Received: from [117.196.141.245] (helo=sarika.sarika) by node31.myserverhosts.com with esmtpa (Exim 4.69) (envelope-from ) id 1Kru9a-0000sq-TW for emacs-devel@gnu.org; Mon, 20 Oct 2008 12:46:36 +0000 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - node31.myserverhosts.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - swathanthran.in X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!) 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:104677 Archived-At: Kenichi Handa writes: > Are those keys already widely used by Malayalam people? > If so, we'll add them in quail/indian.el. Ofcourse, it is widely used in all indian languages. For example =E0=B4=85= =E0=B4=B5=E0=B4=A8=E0=B5=8D means "for him" =E0=B4=85=E0=B4=B5=E0=B4=A8=E0=B5=8D=E2=80=8D means "he" t= he difference is just that zwj and the rendering will also change to show another character. It is similarly used for all indian language and actually should be added to inscript-dev-keytable itself. and its indispensable for the keymap support of any indian language. > Ah, I've just installed a fix. Thanks! > 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. > These sequence causing crash are not any usage of malayalam(but there may be), they are just a random key presses of the choice of keystrokes available;-) Below is the result of what i get as i open emacs and do the following C-u C-\ malayalam-inscript RET qea where q is =E0=B5=8C e is =E0=B4=BE a is =E0=B5=8A Starting program: /home/shyam/emacs/src/emacs=20 [Thread debugging using libthread_db enabled] [New Thread 0xb7143720 (LWP 10288)] Program received signal SIGABRT, Aborted. [Switching to Thread 0xb7143720 (LWP 10288)] 0xb7fde410 in __kernel_vsyscall () (gdb) bt #0 0xb7fde410 in __kernel_vsyscall () #1 0xb757d4b6 in kill () from /lib/tls/i686/cmov/libc.so.6 #2 0x08117f8b in abort () at emacs.c:424 #3 0x08141295 in buf_charpos_to_bytepos (b=3D0x8383218, charpos=3D10288) at marker.c:140 #4 0x081d1706 in composition_update_it (cmp_it=3D0xbfcfb2dc, charpos=3D196= ,=20 bytepos=3D198, string=3D137874713) at composite.c:1198 #5 0x0807d3ae in next_element_from_composition (it=3D0xbfcfaf44) at xdisp.c:6611 #6 0x0807d735 in next_element_from_buffer (it=3D0xbfcfaf44) at xdisp.c:6496 #7 0x0807aa4f in get_next_display_element (it=3D0xbfcfaf44) at xdisp.c:5655 #8 0x0808091e in display_line (it=3D0xbfcfaf44) at xdisp.c:16578 #9 0x0808a3b2 in try_window (window=3D141387852, pos=3D {charpos =3D 1, bytepos =3D 1}, check_margins=3D1) at xdisp.c:14042 #10 0x0808befc in redisplay_window (window=3D141387852, just_this_one_p=3D0) at xdisp.c:13665 #11 0x0808d603 in redisplay_window_0 (window=3D141387852) at xdisp.c:12255 #12 0x081819d6 in internal_condition_case_1 ( bfun=3D0x808d5e0 , arg=3D141387852, handlers=3D1378= 61477,=20 hfun=3D0x8068a40 ) at eval.c:1559 #13 0x08078b96 in redisplay_windows (window=3D6) at xdisp.c:12234 #14 0x0808e0ae in redisplay_internal ( preserve_echo_area=3D) at xdisp.c:11810 #15 0x081251b6 in read_char (commandflag=3D1, nmaps=3D2, maps=3D0xbfcfcf90,= =20 prev_event=3D137874713, used_mouse_menu=3D0xbfcfd020, end_time=3D0x0) at keyboard.c:2649 #16 0x0812729f in read_key_sequence (keybuf=3D0xbfcfd0c4, bufsize=3D30,=20 prompt=3D137874713, dont_downcase_last=3D0, can_return_switch_frame=3D1= ,=20 fix_current_buffer=3D1) at keyboard.c:9343 #17 0x08129267 in command_loop_1 () at keyboard.c:1621 #18 0x08181c00 in internal_condition_case (bfun=3D0x81290c0 ,=20 handlers=3D137917921, hfun=3D0x8124000 ) at eval.c:1511 #19 0x08123553 in command_loop_2 () at keyboard.c:1338 #20 0x08181cda in internal_catch (tag=3D137913897,=20 func=3D0x8123530 , arg=3D137874713) at eval.c:1247 #21 0x08123e67 in command_loop () at keyboard.c:1317 #22 0x081241db in recursive_edit_1 () at keyboard.c:942 #23 0x08124311 in Frecursive_edit () at keyboard.c:1004 #24 0x08118d8c in main (argc=3D1, argv=3D0xbfcfd744) at emacs.c:1728 (gdb)=20 The above=20 similarly i get many hangs for other key combinations like C-u C-\ malayalam-inscript RET kra there k can be many other letter probably those ones which can join with "a"i.e. a=3D"=E0=B5=8B" for me. interestingly this crash dont happen with emacs' own keymap. But only with the xkb's layout. k is =E0=B4=95 but that can also be i: =E0=B4=97 but not D:=E0=B4=85=20 t is =E0=B5=82 anyway all time, "a"(=E0=B5=8B) is creating some problems like if ae or qw = makes the characters maped to e and w to display twice. May be a is giving an extra space considering the letter to be included usually between the two parts of "=E0=B5=8B" i am using meera and surprisingly with rachana font, the above specific bugs are not there.. still it too crashes at some point which i am yet to track with.. Other than crashes, the display also gets weird at some time for some random key sequence with malayalam characters "=E0=B4=B0=E0=B5=8B=E0=B4=AA=E0=B5=8D=E0=B5=81=E0=B5=8B=E0=B4=AA=E0=B4=B0= =E0=B5=8D=E0=B5=81=E0=B5=87=E0=B4=A4=E0=B5=8B=E0=B4=AA=E0=B5=8D=E0=B4=A4=E0= =B4=95=E0=B5=8B=E0=B4=B0" this is an example of such a thing. The picture below shows the rendering difference between that in emacs and in gedit. But emacs too makes the rendering perfect at times like when that text is selected for yanking. The gedit too is not perfect in rendering = the above sequence. Avoiding those dotted circles are the thing avoided to make perfect rendering for gnome. Thanks a lott Shyam K