From unknown Sun Jun 15 08:45:53 2025 X-Loop: don@donarmstrong.com Subject: bug#838: [patch] `russian-computer' input method is wrong at the backslash key Reply-To: Vasily Korytov , 838@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:25:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 838 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122019599823199 (code B ref -1); Sun, 31 Aug 2008 15:25:05 +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: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 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 From unknown Sun Jun 15 08:45:53 2025 X-Loop: don@donarmstrong.com Subject: bug#838: Please discard this bug, it's a duplicate Reply-To: Vasily Korytov , 838@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 16:00:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 838 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 838-submit@emacsbugs.donarmstrong.com id=B838.12201978401804 (code B ref 838); Sun, 31 Aug 2008 16:00:04 +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.4 required=4.0 tests=AWL,BAYES_00,FOURLA, MURPHY_DRUGS_REL8,SPF_HELO_PASS autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 838) by emacsbugs.donarmstrong.com; 31 Aug 2008 15:50:40 +0000 Received: from mail.flexpro.ru (flexpro.ru [85.21.125.66]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7VFoaZO001732 for <838@emacsbugs.donarmstrong.com>; Sun, 31 Aug 2008 08:50:37 -0700 Received: from [91.78.27.128] (helo=[192.168.6.10]) by mail.flexpro.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KZpCE-000JPe-QD for 838@emacsbugs.donarmstrong.com; Sun, 31 Aug 2008 19:50:34 +0400 Date: Sun, 31 Aug 2008 19:50:24 +0400 (MSD) From: Vasily Korytov To: 838@debbugs.gnu.org Message-ID: User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Bug #839 is the same, but with the patch, I've forgotten to attach. Sorry for opening a duplicate. -- DESKPOT-RIPN