From unknown Wed Jun 18 22:58:17 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#904 <904@debbugs.gnu.org> To: bug#904 <904@debbugs.gnu.org> Subject: Status: [patch] russian-typewriter input method does not follow actual layout Reply-To: bug#904 <904@debbugs.gnu.org> Date: Thu, 19 Jun 2025 05:58:17 +0000 retitle 904 [patch] russian-typewriter input method does not follow actual = layout reassign 904 emacs submitter 904 Vasily Korytov severity 904 normal tag 904 patch thanks From vasily@korytov.pp.ru Sat Sep 6 09:52: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.3 required=4.0 tests=BAYES_00,FOURLA, MURPHY_DRUGS_REL8,MURPHY_FINANCE10,MURPHY_SEX_L2,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 6 Sep 2008 16:52: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 m86Gpx0R027319 for ; Sat, 6 Sep 2008 09:52:01 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kc10x-0003hy-4k for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 12:51:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kc10v-0003ft-E6 for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 12:51:58 -0400 Received: from [199.232.76.173] (port=46985 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kc10v-0003fj-5J for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 12:51:57 -0400 Received: from flexpro.ru ([85.21.125.66]:50406 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 1Kc10v-0003j6-5o for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 12:51:57 -0400 Received: from ppp91-77-216-140.pppoe.mtu-net.ru ([91.77.216.140] helo=dub.dyndns.ws) by mail.flexpro.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Kc10J-000KU3-QF for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 20:51:19 +0400 Received: from deskpot by dub.dyndns.ws with local (Exim 4.69) (envelope-from ) id 1Kc10J-0003DA-84 for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 20:51:19 +0400 To: bug-gnu-emacs@gnu.org Subject: [patch] russian-typewriter input method does not follow actual layout From: Vasily Korytov Date: Sat, 06 Sep 2008 20:51:19 +0400 Message-ID: <87wshpusjc.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) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Russian `typewriter' keyboard layout actually has number keys in upper case (i. e. punctuation is in lower) and Yo key in the bottom row. E. g. the following article contains evidence (such as late 19 century layouts, 20 century layouts, soviet computer layouts): . As well, the classic typewriter layout (with one minor change -- mapping `|' instead of `§'` on the tilde key, `Russian Typewriter' computer layout is implemented widely, e. g. in virtual keyboards: . But Emacs 22.2 has own standard for `russian-typewriter' input method. Probably, borrowed from some other map. Indeed, there're a lot of variations of `Russian Typewriter' implementation, a real mess. In fact, I've already seen on the Net some Lisp files to implement a correct typewriter layout (at least, in the number keys region) in Emacs. The patch, I'm proposing, makes `russian-typewriter' method behave like a real Russian typewriter (except § key) or a Russian computer. I think, it's better to fix the problem, that making users of `russian-typewriter' implement a custom input method. 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: LaTeX Minor modes in effect: flyspell-mode: t 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 Recent input: C-x m q C-c C-g C-x b C-c C-c SPC M-q C-x C-s M-l M-q C-x C-s C-c C-c C-w Т а к , SPC ? SPC j l y j d h t v t y y j c SPC M-й M-q ? SPC в ы l t k f z t n c z SPC t o ` SPC n h t n b q SPC r h b n t h b q SPC @ - - - SPC b n SPC b v t y y j SPC j y SPC z d k z t n c z SPC j g h t l t k z . o b v / ` C-x C-s C-c C-c M-x s e t - i n r u s s t \ | \ | = + 8 8 * * 7 & & & M-x r u s s c o C-x C-s M-x r e p o r t - e m Recent messages: Wrote /home/deskpot/doc/postgrad/theory.tex Type `C-c C-l' to display results of compilation. LaTeX: successfully formatted {3} pages. /home/deskpot/doc/postgrad/theory.tex clean. Wrote /home/deskpot/doc/postgrad/theory.tex Type `C-c C-l' to display results of compilation. LaTeX: successfully formatted {3} pages. /home/deskpot/doc/postgrad/theory.tex clean. Wrote /home/deskpot/doc/postgrad/theory.tex Loading emacsbug...done --=-=-= 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-09-06 20:34:04.000000000 +0400 @@ -54,25 +54,25 @@ "ЙЦУКЕН Russian typewriter layout (ISO 8859-5 encoding)." 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 != ;\ |+ +;; Й Ц У К Е Н Г Ш Щ З Х Ъ )( ;; Ф Ы В А П Р О Л Д Ж Э -;; Я Ч С М И Т Ь Б Ю /? +;; Я Ч С М И Т Ь Б Ю Ё (quail-define-rules - ("1" ?1) - ("2" ?2) - ("3" ?3) - ("4" ?4) - ("5" ?5) - ("6" ?6) - ("7" ?7) - ("8" ?8) - ("9" ?9) - ("0" ?0) - ("-" ?-) - ("=" ?=) - ("`" ?ё) + ("1" ?№) + ("2" ?-) + ("3" ?/) + ("4" ?\") + ("5" ?:) + ("6" ?,) + ("7" ?.) + ("8" ?_) + ("9" ??) + ("0" ?%) + ("-" ?!) + ("=" ?\;) + ("`" ?|) ("q" ?й) ("w" ?ц) ("e" ?у) @@ -96,7 +96,7 @@ ("l" ?д) (";" ?ж) ("'" ?э) - ("\\" ?\\) + ("\\" ?\)) ("z" ?я) ("x" ?ч) ("c" ?с) @@ -106,21 +106,21 @@ ("m" ?ь) ("," ?б) ("." ?ю) - ("/" ?/) + ("/" ?ё) - ("!" ?!) - ("@" ?\") - ("#" ?') - ("$" ?*) - ("%" ?:) - ("^" ?,) - ("&" ?.) - ("*" ?\;) - ("(" ?\() - (")" ?\)) - ("_" ?_) - ("+" ?+) - ("~" ?Ё) + ("!" ?1) + ("@" ?2) + ("#" ?3) + ("$" ?4) + ("%" ?5) + ("^" ?6) + ("&" ?7) + ("*" ?8) + ("(" ?9) + (")" ?0) + ("_" ?=) + ("+" ?\\) + ("~" ?+) ("Q" ?Й) ("W" ?Ц) ("E" ?У) @@ -144,7 +144,7 @@ ("L" ?Д) (":" ?Ж) ("\"" ?Э) - ("|" ?|) + ("|" ?\() ("Z" ?Я) ("X" ?Ч) ("C" ?С) @@ -154,7 +154,7 @@ ("M" ?Ь) ("<" ?Б) (">" ?Ю) - ("?" ??) + ("?" ?Ё) ) ;; Maintain the obsolete name for now. --=-=-=-- From rgm@gnu.org Sat Sep 6 11:26:22 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=-9.4 required=4.0 tests=AWL,BAYES_00,MISSING_SUBJECT, MURPHY_DRUGS_REL8,NOSUBJECT,RCVD_IN_DNSWL_MED,VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 6 Sep 2008 18:26:23 +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 m86IQKfi028159 for ; Sat, 6 Sep 2008 11:26:21 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Kc2Sb-0005ce-Kz; Sat, 06 Sep 2008 14:24:37 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18626.51941.592414.170164@fencepost.gnu.org> Date: Sat, 6 Sep 2008 14:24:37 -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: cyan X-Ran: 5WgiO{*894QU?l`xlyp\^RNT*8J)i_T@+u}<-EYCa>Ht=\/476^qAF1]C}C|HRVpq$X;.s X-Debbugs-No-Ack: yes tags 904 patch tags 901 patch From juri@jurta.org Fri Dec 4 18:08:49 2009 Received: (at 904) by emacsbugs.donarmstrong.com; 5 Dec 2009 02:08:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.9 required=4.0 tests=AWL,MURPHY_DRUGS_REL8, MURPHY_FINANCE10,MURPHY_SEX_L2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mx1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB528l2m021122 for <904@emacsbugs.donarmstrong.com>; Fri, 4 Dec 2009 18:08:48 -0800 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Received: from mail.starman.ee (82.131.30.133.cable.starman.ee [82.131.30.133]) by mx1.starman.ee (Postfix) with ESMTP id F2AFC3F422A; Sat, 5 Dec 2009 04:08:41 +0200 (EET) From: Juri Linkov To: Vasily Korytov Cc: 904@debbugs.gnu.org Subject: Re: [patch] russian-typewriter input method does not follow actual layout Organization: JURTA References: <87wshpusjc.fsf@dub.dyndns.ws> Date: Sat, 05 Dec 2009 02:51:41 +0200 In-Reply-To: <87wshpusjc.fsf@dub.dyndns.ws> (Vasily Korytov's message of "Sat, 06 Sep 2008 20:51:19 +0400") Message-ID: <87skbqtf8i.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit > But Emacs 22.2 has own standard for `russian-typewriter' input method. > Probably, borrowed from some other map. Indeed, there're a lot of > variations of `Russian Typewriter' implementation, a real mess. > > In fact, I've already seen on the Net some Lisp files to implement a > correct typewriter layout (at least, in the number keys region) in > Emacs. > > The patch, I'm proposing, makes `russian-typewriter' method behave like > a real Russian typewriter (except key) or a Russian computer. I think, > it's better to fix the problem, that making users of > `russian-typewriter' implement a custom input method. I suggest to install this patch to close bug#904. I confirm it implements a layout used on real typewriters. However, the layout it replaces is useful as well. So I suggest to move the current "russian-typewriter" layout to its current alias "cyrillic-jcuken" (thus avoiding tricks employed to define the input method's alias). Installing this patch also requires updating `input-method' properties in lisp/language/cyrillic.el (and removing some FIXME's). I believe this would clean up the mess. -- Juri Linkov http://www.jurta.org/emacs/ From cyd@stupidchicken.com Fri Dec 4 18:56:05 2009 Received: (at 904-done) by emacsbugs.donarmstrong.com; 5 Dec 2009 02:56:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.1 required=4.0 tests=AWL,MURPHY_DRUGS_REL8, MURPHY_FINANCE10 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po38.its.yale.edu (pantheon-po38.its.yale.edu [130.132.50.97]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB52u3qv024993 for <904-done@emacsbugs.donarmstrong.com>; Fri, 4 Dec 2009 18:56:04 -0800 Received: from furry (dhcp128036204089.central.yale.edu [128.36.204.89]) (authenticated bits=0) by pantheon-po38.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id nB52tvRU021562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 4 Dec 2009 21:55:57 -0500 Received: by furry (Postfix, from userid 1000) id E4B9EC071; Fri, 4 Dec 2009 21:55:57 -0500 (EST) From: Chong Yidong To: Vasily Korytov Cc: 904-done@debbugs.gnu.org Subject: [patch] russian-typewriter input method does not follow actual layout Date: Fri, 04 Dec 2009 21:55:57 -0500 Message-ID: <87fx7q5dtu.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > Russian `typewriter' keyboard layout actually has number keys in upper > case (i. e. punctuation is in lower) and Yo key in the bottom row. > > But Emacs 22.2 has own standard for `russian-typewriter' input method. > Probably, borrowed from some other map. Indeed, there're a lot of > variations of `Russian Typewriter' implementation, a real mess. Sorry for the delay. I've just checked your patch into the Emacs repository; it will be included in the Emacs 23.2 release. (There are no Russians in the development team AFAIK, so we'll take your word for it that the layout is correct.) Thanks. From rgm@gnu.org Fri Dec 4 19:14:52 2009 Received: (at 904) by emacsbugs.donarmstrong.com; 5 Dec 2009 03:14:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB53EptI027133 for <904@emacsbugs.donarmstrong.com>; Fri, 4 Dec 2009 19:14:52 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NGl6g-0002Br-Te; Fri, 04 Dec 2009 22:14:50 -0500 From: Glenn Morris To: 904@debbugs.gnu.org Subject: Re: bug#904: marked as done ([patch] russian-typewriter input method does not follow actual layout) References: <87fx7q5dtu.fsf@stupidchicken.com> <87wshpusjc.fsf@dub.dyndns.ws> X-Spook: Crypto AG Putin computer terrorism assassination Rand X-Ran: 1/:4sd5`\/lWVT`73CAGyp2a{)8h!Y[S7=MmoV2o*wX/};YJdIKZv=J8&sp8kJB7[:vB(w X-Hue: cyan X-Attribution: GM Date: Fri, 04 Dec 2009 22:14:50 -0500 In-Reply-To: (Emacs bug Tracking System's message of "Sat, 05 Dec 2009 03:05:05 +0000") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > I've just checked your patch into the Emacs repository; it will be > included in the Emacs 23.2 release. Does this count as "tiny" in the sense of being non-copyrightable? If so, I think it should be marked as such. Otherwise it is assignment time. From monnier@iro.umontreal.ca Fri Dec 4 21:10:11 2009 Received: (at 904) by emacsbugs.donarmstrong.com; 5 Dec 2009 05:10:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB55AAlX006570 for <904@emacsbugs.donarmstrong.com>; Fri, 4 Dec 2009 21:10:11 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAMV5GUtFpZ7i/2dsb2JhbACBTNQchDMEihw X-IronPort-AV: E=Sophos;i="4.47,346,1257138000"; d="scan'208";a="50734073" Received: from 69-165-158-226.dsl.teksavvy.com (HELO ceviche.home) ([69.165.158.226]) by ironport2-out.pppoe.ca with ESMTP; 05 Dec 2009 00:10:05 -0500 Received: by ceviche.home (Postfix, from userid 20848) id E063070213; Sat, 5 Dec 2009 00:10:04 -0500 (EST) From: Stefan Monnier To: Juri Linkov Cc: 904@debbugs.gnu.org, Vasily Korytov Subject: Re: bug#904: [patch] russian-typewriter input method does not follow actual layout Message-ID: References: <87wshpusjc.fsf@dub.dyndns.ws> <87skbqtf8i.fsf@mail.jurta.org> Date: Sat, 05 Dec 2009 00:10:04 -0500 In-Reply-To: <87skbqtf8i.fsf@mail.jurta.org> (Juri Linkov's message of "Sat, 05 Dec 2009 02:51:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > I suggest to install this patch to close bug#904. I confirm it implements > a layout used on real typewriters. Fine by me, tho I do not know nearly enough about the issue to make an informed judgment. Stefan From unknown Wed Jun 18 22:58:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 15 Jan 2010 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long 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