From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55539: 28.1; Support for the =?UTF-8?Q?Kharo=E1=B9=A3=E1=B9=ADh=C4=AB?= Script Date: Fri, 20 May 2022 19:18:45 +0300 Message-ID: <83ilq09nyy.fsf@gnu.org> References: <87mtfcsffk.fsf@stefanbaums.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35889"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55539@debbugs.gnu.org To: Stefan Baums Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 20 18:19:19 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 1ns5LR-00092l-RI for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 May 2022 18:19:18 +0200 Original-Received: from localhost ([::1]:50844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ns5LQ-0007jE-DK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 May 2022 12:19:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ns5LC-0007hZ-6m for bug-gnu-emacs@gnu.org; Fri, 20 May 2022 12:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46071) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ns5LB-0005Rn-U9 for bug-gnu-emacs@gnu.org; Fri, 20 May 2022 12:19:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ns5LB-0007ei-Ov for bug-gnu-emacs@gnu.org; Fri, 20 May 2022 12:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2022 16:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55539 X-GNU-PR-Package: emacs Original-Received: via spool by 55539-submit@debbugs.gnu.org id=B55539.165306353329407 (code B ref 55539); Fri, 20 May 2022 16:19:01 +0000 Original-Received: (at 55539) by debbugs.gnu.org; 20 May 2022 16:18:53 +0000 Original-Received: from localhost ([127.0.0.1]:39968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns5L3-0007eE-I3 for submit@debbugs.gnu.org; Fri, 20 May 2022 12:18:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns5L2-0007e1-7a for 55539@debbugs.gnu.org; Fri, 20 May 2022 12:18:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56924) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ns5Kw-0005QO-UR; Fri, 20 May 2022 12:18:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=KHMnPHolrfZvy6pR/h2ptZj3y4rzJMiFis1Z2PVzKmA=; b=lP62n3kaAI8/6fhKNmfD Ft8kqRRm78y6viWHtd8aHaqWUF5yc+x8Ld/7Vsz/xUotg+1yk52E+abGpWvtW2YQUBjen8uCfPFng xIfk2Itj4MbupIAEq3C4ff6j0iWOsiiRQ0znrQwecjAhjIftlVHgCM6+4Rp3PLhggyjYjQb+h4v51 8sCwEfQevYpKOpZF6w0mTELSwliMpFZZbNpMq/4TyGftUkLeR3FNoO1K2VNemfdeVY4xvERiSaj2N lk+D9fJ8ffBD9xm6Kn8wPkusjqhp9oPp2bqfj+R639QrROCPbjUn6+z/OAKfkLA7Kk/yHofnxKF3z w3Cpwr6tljj5eQ==; Original-Received: from [87.69.77.57] (port=3026 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ns5Kw-0003uz-E4; Fri, 20 May 2022 12:18:46 -0400 In-Reply-To: <87mtfcsffk.fsf@stefanbaums.com> (message from Stefan Baums on Fri, 20 May 2022 11:48:15 +0200) 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:232781 Archived-At: > From: Stefan Baums > Date: Fri, 20 May 2022 11:48:15 +0200 > > Please find attached the necessary code for inclusion in Emacs 29. > The file “kharoshthi.el” is for the lisp/language folder, the file > “kharoshthi-input.el” (to be renamed to simple “kharoshthi.el”) > for the lisp/leim/quail folder. Thanks, please see a few comments below. > ;;; kharoshthi.el --- support for the Kharoṣṭhī script Please place this part in lisp/language/misc.el, not on a separate file. > (let ((consonant "[\U00010A00\U00010A10-\U00010A35]") > (vowel "[\U00010A01-\U00010A06]") > (virama "\U00010A3F") > (modifier "[\U00010A0C-\U00010A0F\U00010A38-\U00010A3A]")) > (set-char-table-range composition-function-table > ;; '(#x10A00 . #x10A5F) This last line should be removed, no? > '(#x10A3F . #x10A3F) > (list > (vector > (concat consonant > "\\(?:" virama consonant "\\)*" > modifier "*" > virama "?" > vowel "*" > modifier "*") > 1 'font-shape-gstring)))) Note that according to the rule above, a sequence consonant modifier vowel will not be composed, although it matches the regexp, because its second character is not a virama. Is this okay? > (quail-define-package > "kharoshthi" "Kharoṣṭhī" "𐨑" nil > "Kharoṣṭhī input method." nil t t t t nil nil nil nil nil t) > > (quail-define-rules > > ("a" ["𐨀"]) ("i" ["𐨀𐨁"]) ("u" ["𐨀𐨂"]) ("R" ["𐨀𐨃"]) ("e" ["𐨀𐨅"]) ("o" ["𐨀𐨆"]) Can you please reformat this to have just one rule per line? It will make that easier to read and maintain. Last, but not least: these changes are too large for us to accept without a copyright assignment. Would you be willing to start the legal paperwork of the copyright assignment at this time? If yes, I will send you the form to fill and the instructions to email the form. Thank you for your interest in Emacs.