From unknown Sun Aug 10 08:59:32 2025 X-Loop: don@donarmstrong.com Subject: bug#839: [PATCH] `russian-computer' input method is wrong at the backslash key Reply-To: Vasily Korytov , 839@debbugs.gnu.org Resent-From: Vasily Korytov Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 31 Aug 2008 15:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 839 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122019618524661 (code B ref -1); Sun, 31 Aug 2008 15:30:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 31 Aug 2008 15:23:05 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7VFN06K024653 for ; Sun, 31 Aug 2008 08:23:02 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZolY-0006gN-HZ for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 11:23:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZolX-0006gB-1B for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 11:22:59 -0400 Received: from [199.232.76.173] (port=44140 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZolW-0006g8-Ry for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 11:22:58 -0400 Received: from flexpro.ru ([85.21.125.66]:52525 helo=mail.flexpro.ru) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KZolW-0002d5-Am for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 11:22:58 -0400 Received: from [91.78.27.128] (helo=dub.dyndns.ws) by mail.flexpro.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KZolU-000JNv-JE for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 19:22:56 +0400 Received: from deskpot by dub.dyndns.ws with local (Exim 4.69) (envelope-from ) id 1KZolU-00049h-6a for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 19:22:56 +0400 To: bug-gnu-emacs@gnu.org From: Vasily Korytov Date: Sun, 31 Aug 2008 19:22:56 +0400 Message-ID: <87ej45tdin.fsf@dub.dyndns.ws> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) --=-=-= Sorry, I've forgotten to actually include the patch in the message. Resending the message with a patch. Thanks and sorry again. :-) Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I do `M-x set-input method' and select `russian-computer'. I expect this keyboard layout to correspond `ru(winkeys)' XKB variant, MS Windows keyboard layout and other implementations (at least, the comments in /usr/share/emacs/22.2/leim/quail/cyrillic.el say they it should be so). Actually, `russian-computer' input method fails to correspond other implementations (all, that I'm aware of) of Windows-style keyboard layout: X.org, Linux console, Windows, etc in exactly one key: the backslash key. In QWERTY layout, as well as in Emacs `russian-computer' input method it generates backslash (\) with no modifier and pipe (|) with `Shift' modifier. In Windows-style Russian keyboard it should generate backslash (\) with no modifier, but slash (/) with `Shift' modifier. I know a lot of implementations of this style Russian layout (as opposed to the typewriter variations), they're all the same and have slash on shift+backslash. The only exception, I met up to today is Emacs `russian-computer' input mode. Attaching the patch to fix this. Thanks. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/22.2/etc/DEBUG for instructions. In GNU Emacs 22.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.12.9) of 2008-05-23 on xenbuilder2.fedora.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.10499905 configured using `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-x-toolkit=gtk' '--with-sound' '--with-toolkit-scroll-bars' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: C value of $LC_NUMERIC: C value of $LC_TIME: C value of $LANG: ru_RU.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: show-paren-mode: t iswitchb-mode: t encoded-kbd-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t overwrite-mode: overwrite-mode-textual Recent input: C-c k C-x C-f / t c y C-x 1 C-x b C-SPC M-w C-x b C-s r u s s i a - c o m C-s n - c o m C-s SPC \ / \ | \ / \ C-e C-y C-e C-e C-x C-w C-g C-x C-e C-x C-s C-x 1 C-c k M-x e m a c s - r e p C-g C-h a b u g C-x o C-x o C-x o C-s r e p o r C-s C-s C-s C-s C-s C-s C-s C-s C-x o M-x e m a r e p C-g M-x r e p o r Recent messages: Wrote /tmp/cyrillic.el.gz Making completion list... Quit Loading apropos...done Type C-x 1 to remove help window. Mark saved where search started Quit Making completion list... [3 times] Loading emacsbug...done call-interactively: Text is read-only --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=cyrillic.el.patch Content-Transfer-Encoding: 8bit --- leim/quail/cyrillic.el~ 2008-01-10 15:15:30.000000000 +0300 +++ leim/quail/cyrillic.el 2008-08-31 19:01:36.000000000 +0400 @@ -176,7 +176,7 @@ "ЙЦУКЕН Russian computer layout" nil t t t t nil nil nil nil nil t) -;; 1! 2" 3№ 4; 5% 6: 7? 8* 9( 0) -_ =+ ёЁ +;; 1! 2" 3№ 4; 5% 6: 7? 8* 9( 0) -_ =+ \/ ёЁ ;; Й Ц У К Е Н Г Ш Щ З Х Ъ ;; Ф Ы В А П Р О Л Д Ж Э ;; Я Ч С М И Т Ь Б Ю ., @@ -194,6 +194,7 @@ ("0" ?0) ("-" ?-) ("=" ?=) + ("|" ?/) ("`" ?ё) ("q" ?й) ("w" ?ц) --=-=-=-- From unknown Sun Aug 10 08:59:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Vasily Korytov Subject: bug#839 closed by Chong Yidong (Re: [PATCH] `russian-computer' input method is wrong at the backslash key) Message-ID: References: <87y6zvmhz7.fsf@cyd.mit.edu> <87ej45tdin.fsf@dub.dyndns.ws> X-Emacs-PR-Message: they-closed 839 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Reply-To: 839@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1226088004-27807-1" This is a multi-part message in MIME format... ------------=_1226088004-27807-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #839: [PATCH] `russian-computer' input method is wrong at the backslash key It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 839: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D839 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1226088004-27807-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Fri Nov 7 11:52:26 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 839-done) by emacsbugs.donarmstrong.com; 7 Nov 2008 19:52:26 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA7JqIe6026532 for <839-done@emacsbugs.donarmstrong.com>; Fri, 7 Nov 2008 11:52:19 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id E928957E04B; Fri, 7 Nov 2008 14:52:28 -0500 (EST) From: Chong Yidong To: Vasily Korytov Cc: 839-done@debbugs.gnu.org Subject: Re: [PATCH] `russian-computer' input method is wrong at the backslash key Date: Fri, 07 Nov 2008 14:52:28 -0500 Message-ID: <87y6zvmhz7.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > I do `M-x set-input method' and select `russian-computer'. I expect > this keyboard layout to correspond `ru(winkeys)' XKB variant, MS > Windows keyboard layout and other implementations (at least, the > comments in /usr/share/emacs/22.2/leim/quail/cyrillic.el say they it > should be so). > > I know a lot of implementations of this style Russian layout (as > opposed to the typewriter variations), they're all the same and have > slash on shift+backslash. The only exception, I met up to today is > Emacs `russian-computer' input mode. Thanks, I checked in your patch. ------------=_1226088004-27807-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From vasily@korytov.pp.ru Sun Aug 31 08:23:05 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 31 Aug 2008 15:23:05 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7VFN06K024653 for ; Sun, 31 Aug 2008 08:23:02 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZolY-0006gN-HZ for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 11:23:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZolX-0006gB-1B for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 11:22:59 -0400 Received: from [199.232.76.173] (port=44140 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZolW-0006g8-Ry for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 11:22:58 -0400 Received: from flexpro.ru ([85.21.125.66]:52525 helo=mail.flexpro.ru) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KZolW-0002d5-Am for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 11:22:58 -0400 Received: from [91.78.27.128] (helo=dub.dyndns.ws) by mail.flexpro.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KZolU-000JNv-JE for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 19:22:56 +0400 Received: from deskpot by dub.dyndns.ws with local (Exim 4.69) (envelope-from ) id 1KZolU-00049h-6a for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 19:22:56 +0400 To: bug-gnu-emacs@gnu.org Subject: [PATCH] `russian-computer' input method is wrong at the backslash key From: Vasily Korytov Date: Sun, 31 Aug 2008 19:22:56 +0400 Message-ID: <87ej45tdin.fsf@dub.dyndns.ws> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) --=-=-= Sorry, I've forgotten to actually include the patch in the message. Resending the message with a patch. Thanks and sorry again. :-) Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I do `M-x set-input method' and select `russian-computer'. I expect this keyboard layout to correspond `ru(winkeys)' XKB variant, MS Windows keyboard layout and other implementations (at least, the comments in /usr/share/emacs/22.2/leim/quail/cyrillic.el say they it should be so). Actually, `russian-computer' input method fails to correspond other implementations (all, that I'm aware of) of Windows-style keyboard layout: X.org, Linux console, Windows, etc in exactly one key: the backslash key. In QWERTY layout, as well as in Emacs `russian-computer' input method it generates backslash (\) with no modifier and pipe (|) with `Shift' modifier. In Windows-style Russian keyboard it should generate backslash (\) with no modifier, but slash (/) with `Shift' modifier. I know a lot of implementations of this style Russian layout (as opposed to the typewriter variations), they're all the same and have slash on shift+backslash. The only exception, I met up to today is Emacs `russian-computer' input mode. Attaching the patch to fix this. Thanks. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/22.2/etc/DEBUG for instructions. In GNU Emacs 22.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.12.9) of 2008-05-23 on xenbuilder2.fedora.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.10499905 configured using `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-x-toolkit=gtk' '--with-sound' '--with-toolkit-scroll-bars' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: C value of $LC_NUMERIC: C value of $LC_TIME: C value of $LANG: ru_RU.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: show-paren-mode: t iswitchb-mode: t encoded-kbd-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t overwrite-mode: overwrite-mode-textual Recent input: C-c k C-x C-f / t c y C-x 1 C-x b C-SPC M-w C-x b C-s r u s s i a - c o m C-s n - c o m C-s SPC \ / \ | \ / \ C-e C-y C-e C-e C-x C-w C-g C-x C-e C-x C-s C-x 1 C-c k M-x e m a c s - r e p C-g C-h a b u g C-x o C-x o C-x o C-s r e p o r C-s C-s C-s C-s C-s C-s C-s C-s C-x o M-x e m a r e p C-g M-x r e p o r Recent messages: Wrote /tmp/cyrillic.el.gz Making completion list... Quit Loading apropos...done Type C-x 1 to remove help window. Mark saved where search started Quit Making completion list... [3 times] Loading emacsbug...done call-interactively: Text is read-only --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=cyrillic.el.patch Content-Transfer-Encoding: 8bit --- leim/quail/cyrillic.el~ 2008-01-10 15:15:30.000000000 +0300 +++ leim/quail/cyrillic.el 2008-08-31 19:01:36.000000000 +0400 @@ -176,7 +176,7 @@ "ЙЦУКЕН Russian computer layout" nil t t t t nil nil nil nil nil t) -;; 1! 2" 3№ 4; 5% 6: 7? 8* 9( 0) -_ =+ ёЁ +;; 1! 2" 3№ 4; 5% 6: 7? 8* 9( 0) -_ =+ \/ ёЁ ;; Й Ц У К Е Н Г Ш Щ З Х Ъ ;; Ф Ы В А П Р О Л Д Ж Э ;; Я Ч С М И Т Ь Б Ю ., @@ -194,6 +194,7 @@ ("0" ?0) ("-" ?-) ("=" ?=) + ("|" ?/) ("`" ?ё) ("q" ?й) ("w" ?ц) --=-=-=-- ------------=_1226088004-27807-1-- From unknown Sun Aug 10 08:59:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Vasily Korytov Subject: bug#838 closed by Chong Yidong (Re: [PATCH] `russian-computer' input method is wrong at the backslash key) Message-ID: References: <87y6zvmhz7.fsf@cyd.mit.edu> <87fxoltdov.fsf@dub.dyndns.ws> X-Emacs-PR-Message: they-closed 838 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Reply-To: 838@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1226088006-27807-3" This is a multi-part message in MIME format... ------------=_1226088006-27807-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #839: [patch] `russian-computer' input method is wrong at the backslash key It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 839: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D839 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1226088006-27807-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Fri Nov 7 11:52:26 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 839-done) by emacsbugs.donarmstrong.com; 7 Nov 2008 19:52:26 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA7JqIe6026532 for <839-done@emacsbugs.donarmstrong.com>; Fri, 7 Nov 2008 11:52:19 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id E928957E04B; Fri, 7 Nov 2008 14:52:28 -0500 (EST) From: Chong Yidong To: Vasily Korytov Cc: 839-done@debbugs.gnu.org Subject: Re: [PATCH] `russian-computer' input method is wrong at the backslash key Date: Fri, 07 Nov 2008 14:52:28 -0500 Message-ID: <87y6zvmhz7.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > I do `M-x set-input method' and select `russian-computer'. I expect > this keyboard layout to correspond `ru(winkeys)' XKB variant, MS > Windows keyboard layout and other implementations (at least, the > comments in /usr/share/emacs/22.2/leim/quail/cyrillic.el say they it > should be so). > > I know a lot of implementations of this style Russian layout (as > opposed to the typewriter variations), they're all the same and have > slash on shift+backslash. The only exception, I met up to today is > Emacs `russian-computer' input mode. Thanks, I checked in your patch. ------------=_1226088006-27807-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From vasily@korytov.pp.ru Sun Aug 31 08:19:58 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 31 Aug 2008 15:19:58 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7VFJpxE023193 for ; Sun, 31 Aug 2008 08:19:54 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZoiV-0005vn-93 for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 11:19:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZoiT-0005va-KS for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 11:19:50 -0400 Received: from [199.232.76.173] (port=49930 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZoiT-0005vX-EJ for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 11:19:49 -0400 Received: from flexpro.ru ([85.21.125.66]:65417 helo=mail.flexpro.ru) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KZoiR-0001LP-Cm for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 11:19:48 -0400 Received: from [91.78.27.128] (helo=dub.dyndns.ws) by mail.flexpro.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KZohs-000JNV-Tj for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 19:19:13 +0400 Received: from deskpot by dub.dyndns.ws with local (Exim 4.69) (envelope-from ) id 1KZohs-00049b-HH for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2008 19:19:12 +0400 To: bug-gnu-emacs@gnu.org Subject: [patch] `russian-computer' input method is wrong at the backslash key From: Vasily Korytov Date: Sun, 31 Aug 2008 19:19:12 +0400 Message-ID: <87fxoltdov.fsf@dub.dyndns.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I do `M-x set-input method' and select `russian-computer'. I expect this keyboard layout to correspond `ru(winkeys)' XKB variant, MS Windows keyboard layout and other implementations (at least, the comments in /usr/share/emacs/22.2/leim/quail/cyrillic.el say they it should be so). Actually, `russian-computer' input method fails to correspond other implementations (all, that I'm aware of) of Windows-style keyboard layout: X.org, Linux console, Windows, etc in exactly one key: the backslash key. In QWERTY layout, as well as in Emacs `russian-computer' input method it generates backslash (\) with no modifier and pipe (|) with `Shift' modifier. In Windows-style Russian keyboard it should generate backslash (\) with no modifier, but slash (/) with `Shift' modifier. I know a lot of implementations of this style Russian layout (as opposed to the typewriter variations), they're all the same and have slash on shift+backslash. The only exception, I met up to today is Emacs `russian-computer' input mode. Attaching the patch to fix this. Thanks. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/22.2/etc/DEBUG for instructions. In GNU Emacs 22.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.12.9) of 2008-05-23 on xenbuilder2.fedora.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.10499905 configured using `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-x-toolkit=gtk' '--with-sound' '--with-toolkit-scroll-bars' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: C value of $LC_NUMERIC: C value of $LC_TIME: C value of $LANG: ru_RU.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: show-paren-mode: t iswitchb-mode: t encoded-kbd-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t overwrite-mode: overwrite-mode-textual Recent input: C-c k C-x C-f / t c y C-x 1 C-x b C-SPC M-w C-x b C-s r u s s i a - c o m C-s n - c o m C-s SPC \ / \ | \ / \ C-e C-y C-e C-e C-x C-w C-g C-x C-e C-x C-s C-x 1 C-c k M-x e m a c s - r e p C-g C-h a b u g C-x o C-x o C-x o C-s r e p o r C-s C-s C-s C-s C-s C-s C-s C-s C-x o M-x e m a r e p C-g M-x r e p o r Recent messages: Wrote /tmp/cyrillic.el.gz Making completion list... Quit Loading apropos...done Type C-x 1 to remove help window. Mark saved where search started Quit Making completion list... [3 times] Loading emacsbug...done call-interactively: Text is read-only -- DESKPOT-RIPN ------------=_1226088006-27807-3--