From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58642: [PATCH] Add 'slovak-querty' input method Date: Wed, 19 Oct 2022 21:05:56 +0200 Message-ID: Reply-To: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21843"; mail-complaints-to="usenet@ciao.gmane.io" To: 58642@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 19 21:07:49 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1olEPs-0005Rh-KD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 21:07:48 +0200 Original-Received: from localhost ([::1]:58654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olEPr-0006ye-HI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 15:07:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olEP8-0006wb-AF for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 15:07:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olEP8-00055C-3K for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 15:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olEP7-000284-QB for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 15:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2022 19:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58642 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16662063848122 (code B ref -1); Wed, 19 Oct 2022 19:07:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Oct 2022 19:06:24 +0000 Original-Received: from localhost ([127.0.0.1]:60041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olEOV-00026v-Ld for submit@debbugs.gnu.org; Wed, 19 Oct 2022 15:06:24 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:36254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olEOQ-00026k-AU for submit@debbugs.gnu.org; Wed, 19 Oct 2022 15:06:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olEOO-0006Y1-PT for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 15:06:17 -0400 Original-Received: from qs51p00im-qukt01071701.me.com ([17.57.155.6]:52901) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olEO9-00050o-US for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 15:06:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1666206360; bh=8T97M7zhjPyb5PTTZN7NF/INi+9o6uf9esF+u+GkUjE=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=R9gkYcMvn5uYf/hVPyyZgezm79wkkZ+9KMpKZ8EJaC347+iNySZVS/fTXra82SLpJ Pb7UcC5opJOkAFp7LOuZp/r914ris9X8qR0NqxVRz4WuAIp2QJxc6Wnbtb8JV5XIuB wgF7GglL+6ODIZRxp9njN2MCzhY9T6/d+CjTLCL0siZz3hjCqZ2vXez4rEO/Sjd6ag 64Z1QJPSUmyJ7x4YWX7EnplW5m3bQQ7JXtjTMsLCaWnEzHsGn9LDFs+Mjp7PDJ+F8s P0JFHc5MzLrGLcjG2PIoGw9VXOZcV4xjynDlOyFPcXAcSJQIc1FkpN3B8ciKq7duCx an6LbAWfR27Og== Original-Received: from Rudolfs-MacBook-Air.local (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01071701.me.com (Postfix) with ESMTPSA id F29174D0050C for ; Wed, 19 Oct 2022 19:05:59 +0000 (UTC) X-Proofpoint-GUID: GziUt-Cj8QcbYgckARERC2jVXg7PshmK X-Proofpoint-ORIG-GUID: GziUt-Cj8QcbYgckARERC2jVXg7PshmK X-Proofpoint-Virus-Version: vendor=fsecure engine=1.1.170-22c6f66c430a71ce266a39bfe25bc2903e8d5c8f:6.0.425, 18.0.572, 17.11.62.513.0000000 definitions=2022-01-11_01:2022-01-11_01, 2020-02-14_11, 2021-12-02_01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 suspectscore=0 adultscore=0 spamscore=0 mlxscore=0 malwarescore=0 bulkscore=0 mlxlogscore=812 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210190108 Received-SPF: pass client-ip=17.57.155.6; envelope-from=salutis@me.com; helo=qs51p00im-qukt01071701.me.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245888 Archived-At: --=-=-= Content-Type: text/plain Tags: patch Hello smart people! The people of Slovakia use the standard Slovak keyboard in two variants, QWERTZ and QWERTY. Emacs offers just the more "mainstream" variant, namely QWERTZ. The attached patch improves the situation by adding the QWERTY variant. -- Rudy In GNU Emacs 29.0.50 (build 5, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6 (Build 21G115)) of 2022-10-19 built on Rudolfs-MacBook-Air.local Repository revision: c2b79d9148f21c3717f1eaa2d37b837b0922b94c Repository branch: master Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.6 Configured using: 'configure --with-json' --=-=-= Content-Type: text/patch; charset=utf-8 Content-Disposition: attachment; filename=0001-Add-slovak-querty-input-method.patch Content-Transfer-Encoding: quoted-printable >From 67994603fca722d36058377c3513b544411478c2 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Rudolf=3D20Adamkovi=3DC4=3D8D?=3D Date: Wed, 19 Oct 2022 20:57:03 +0200 Subject: [PATCH] Add 'slovak-querty' input method * lisp/leim/quail/slovak.el: Add 'slovak-querty' Quail package. * etc/NEWS: Mention the new 'slovak-querty' input method. --- etc/NEWS | 5 ++ lisp/leim/quail/slovak.el | 123 +++++++++++++++++++++++++++++++++++++- 2 files changed, 126 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index a378b5acbb..35d2fefeaf 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1362,6 +1362,11 @@ change the input method's translation rules, customi= ze the user option This supports the keyboard layout specifically designed for the Tamil language. =20 +--- +*** New 'slovak-qwerty' input method +This completes the set of the standard Slovak keyboards, now +containing both the QWERTZ and the QWERTY variants. + * Changes in Specialized Modes and Packages in Emacs 29.1 =20 diff --git a/lisp/leim/quail/slovak.el b/lisp/leim/quail/slovak.el index acde11d02a..a855ecbf91 100644 --- a/lisp/leim/quail/slovak.el +++ b/lisp/leim/quail/slovak.el @@ -3,7 +3,8 @@ ;; Copyright (C) 1998, 2001-2022 Free Software Foundation, Inc. =20 ;; Authors: Tibor =C5=A0imko -;; Milan Zamazal +;; Milan Zamazal +;; Rudolf Adamkovi=C4=8D ;; Maintainer: Pavel Jan=C3=ADk ;; Keywords: i18n, multilingual, input method, Slovak =20 @@ -25,8 +26,9 @@ ;;; Commentary: =20 ;; This file defines the following Slovak keyboards: -;; - standard Slovak keyboard +;; - standard Slovak keyboards, QWERTZ and QWERTY variants ;; - three Slovak keyboards for programmers +;; LocalWords: QWERTZ =20 ;;; Code: =20 @@ -154,6 +156,123 @@ ("+0" ?\))) =20 =20 +(quail-define-package + "slovak-querty" "Slovak" "SK" t + "Standard Slovak keyboard, QWERTY variant." + nil t nil nil t nil nil nil nil nil t) + +(quail-define-rules + ("1" ?+) + ("2" ?=C4=BE) + ("3" ?=C5=A1) + ("4" ?=C4=8D) + ("5" ?=C5=A5) + ("6" ?=C5=BE) + ("7" ?=C3=BD) + ("8" ?=C3=A1) + ("9" ?=C3=AD) + ("0" ?=C3=A9) + ("!" ?1) + ("@" ?2) + ("#" ?3) + ("$" ?4) + ("%" ?5) + ("^" ?6) + ("&" ?7) + ("*" ?8) + ("(" ?9) + (")" ?0) + ("-" ?=3D) + ("_" ?%) + ("=3D" ?') + ("[" ?=C3=BA) + ("{" ?/) + ("]" ?=C3=A4) + ("}" ?\() + ("\\" ?=C5=88) + ("|" ?\)) + (";" ?=C3=B4) + (":" ?\") + ("'" ?=C2=A7) + ("\"" ?!) + ("<" ??) + (">" ?:) + ("/" ?-) + ("?" ?_) + ("`" ?\;) + ("~" ?^) + ("=3Da" ?=C3=A1) + ("+a" ?=C3=A4) + ("+=3Da" ?=C3=A4) + ("+c" ?=C4=8D) + ("+d" ?=C4=8F) + ("=3De" ?=C3=A9) + ("+e" ?=C4=9B) + ("=3Di" ?=C3=AD) + ("=3Dl" ?=C4=BA) + ("+l" ?=C4=BE) + ("+n" ?=C5=88) + ("=3Do" ?=C3=B3) + ("+o" ?=C3=B4) + ("~o" ?=C3=B4) + ("+=3Do" ?=C3=B6) + ("=3Dr" ?=C5=95) + ("+r" ?=C5=99) + ("=3Ds" ?=C3=9F) + ("+s" ?=C5=A1) + ("+t" ?=C5=A5) + ("=3Du" ?=C3=BA) + ("+u" ?=C5=AF) + ("+=3Du" ?=C3=BC) + ("=3Dy" ?=C3=BD) + ("+z" ?=C5=BE) + ("=3DA" ?=C3=81) + ("+A" ?=C3=84) + ("+=3DA" ?=C3=84) + ("+C" ?=C4=8C) + ("+D" ?=C4=8E) + ("=3DE" ?=C3=89) + ("+E" ?=C4=9A) + ("=3DI" ?=C3=8D) + ("=3DL" ?=C4=B9) + ("+L" ?=C4=BD) + ("+N" ?=C5=87) + ("=3DO" ?=C3=93) + ("+O" ?=C3=94) + ("~O" ?=C3=94) + ("+=3DO" ?=C3=96) + ("=3DR" ?=C5=94) + ("+R" ?=C5=98) + ("=3DS" ?=C3=9F) + ("+S" ?=C5=A0) + ("+T" ?=C5=A4) + ("=3DU" ?=C3=9A) + ("+U" ?=C5=AE) + ("+=3DU" ?=C3=9C) + ("=3DY" ?=C3=9D) + ("+Z" ?=C5=BD) + ("=3Dq" ?`) + ("=3D2" ?@) + ("=3D3" ?#) + ("=3D4" ?$) + ("=3D5" ?%) + ("=3D6" ?^) + ("=3D7" ?&) + ("=3D8" ?*) + ("=3D9" ?\() + ("=3D0" ?\)) + ("+1" ?!) + ("+2" ?@) + ("+3" ?#) + ("+4" ?$) + ("+5" ?%) + ("+6" ?^) + ("+7" ?&) + ("+8" ?*) + ("+9" ?\() + ("+0" ?\))) + + (quail-define-package "slovak-prog-1" "Slovak" "SK" t "Slovak (non-standard) keyboard for programmers #1. --=20 2.38.0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 "The whole science is nothing more than a refinement of everyday thinking." -- Albert Einstein, 1879-1955 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia --=-=-=--