From unknown Sun Aug 10 09:00:01 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#839 <839@debbugs.gnu.org> To: bug#839 <839@debbugs.gnu.org> Subject: Status: [PATCH] `russian-computer' input method is wrong at the backslash key Reply-To: bug#839 <839@debbugs.gnu.org> Date: Sun, 10 Aug 2025 16:00:01 +0000 retitle 839 [PATCH] `russian-computer' input method is wrong at the backsla= sh key reassign 839 emacs submitter 839 Vasily Korytov severity 839 normal tag 839 patch thanks 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" ?ц) --=-=-=-- From rgm@gnu.org Sun Aug 31 12:19:06 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=-8.4 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, MURPHY_DRUGS_REL8,NOSUBJECT,RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 31 Aug 2008 19:19:06 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7VJJ3Uq007129 for ; Sun, 31 Aug 2008 12:19:05 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KZsQS-0004y2-W6; Sun, 31 Aug 2008 15:17:29 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18618.61000.858277.180459@fencepost.gnu.org> Date: Sun, 31 Aug 2008 15:17:28 -0400 From: Glenn Morris To: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: yellow X-Ran: Nqdu_dTh:=o-]!s[*<|N"pVerK30BiZXsQ'N4^xZGO^Jo7Z.d@_r.\vr?w#}W<%a)Tp[z& X-Debbugs-No-Ack: yes merge 839 838 tags 839 patch 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. From unknown Sun Aug 10 09:00:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sat, 06 Dec 2008 15:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator