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#58159: [PATCH] Add support for the Wancho script Date: Sat, 15 Oct 2022 09:35:30 +0300 Message-ID: <83r0z97fwt.fsf@gnu.org> References: <83bkqtzl6d.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23566"; mail-complaints-to="usenet@ciao.gmane.io" Cc: lumarzeli30@gmail.com, 58159@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 15 08:36:13 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 1ojamI-0005t9-SX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Oct 2022 08:36:11 +0200 Original-Received: from localhost ([::1]:51588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojamH-0007Xd-O2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Oct 2022 02:36:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojamA-0007XO-BX for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 02:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40197) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojamA-0002eo-3I for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 02:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojam9-0000fg-OP for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 02:36: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: Sat, 15 Oct 2022 06:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58159 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58159-submit@debbugs.gnu.org id=B58159.16658157492557 (code B ref 58159); Sat, 15 Oct 2022 06:36:01 +0000 Original-Received: (at 58159) by debbugs.gnu.org; 15 Oct 2022 06:35:49 +0000 Original-Received: from localhost ([127.0.0.1]:39275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojalx-0000fB-BY for submit@debbugs.gnu.org; Sat, 15 Oct 2022 02:35:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojalv-0000ew-Kx for 58159@debbugs.gnu.org; Sat, 15 Oct 2022 02:35:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojalq-0002dZ-9V; Sat, 15 Oct 2022 02:35:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2Oa9JCvJwgvj5Wskg7/owqsLIjVcSBhMdsqB+Rozzy4=; b=PeVYlU0gZlzr NCTGlqU8cgkMn0ayV5wBHpEdXHQ8DqUPXDL6ZcywLbZJE4z595Ap9AGbsZHI4u0ua63wfxTQfIIa5 OgQzU9BdnhsZ8BFeV2cr4SfY4VVkoo5gXsYmTGQR9+g5sEvdmovgE90bISgTUZhlwqLJ0jYQ/x+9A ZMtaTATnWX8Mdbf0fHGMWyKG0qllF/Eg+k8Wbm90nXmCgi2e0Fpnd7v4VWwz6oTEiEq2j6h1qPFTC Keu4odqVho75nHG5t+H1OIM/g5afIPg3muYuexwgvvQU4T/uU1Y93DTD4G7HOhMF8PvVLorPVlL7r f5A89Gcp+DylJr132cnqbQ==; Original-Received: from [87.69.77.57] (port=1802 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 1ojalp-0001p1-B9; Sat, 15 Oct 2022 02:35:41 -0400 In-Reply-To: (message from Richard Stallman on Fri, 14 Oct 2022 17:24:48 -0400) 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:245505 Archived-At: > From: Richard Stallman > Cc: eliz@gnu.org, 58159@debbugs.gnu.org > Date: Fri, 14 Oct 2022 17:24:48 -0400 > > > This is what a typical patch for adding a script in Emacs looks like: > > 1. A one line entry in etc/NEWS announcing the support of the script and > > its language environment. > > 2. A one line greeting in the language/script which is added in etc/HELLO > > (optional) > > 3. A one line entry in script-representative-chars in > > lisp/international/fontset.el so that Emacs can select an appropriate font > > for it. > > 4. Adding the script name in setup-default-fontset in > > lisp/international/fontset.el > > 5. Defining a language environment for the script in the lisp/language/*.el > > files which includes the following entries: > > its charset (usually unicode), its coding-system (usually utf-8), its > > coding-priority (usually utf-8), its input-method, its sample text (the > > same text which is added in etc/HELLO), > > a one line documentation usually in the following template: "foo language > > and its script bar are supported in this language environment." > > 6. Adding composition rules for the script (optional, only needed for > > complex scripts) > > 7. Adding an input-method for the script in lisp/leim/quail/*.el files > > That looks like nontrivial work to add each script. > Not a big job, but not minimal either. Only the two last items are nontrivial. And item 6 is only necessary for some scripts. All the rest is basically trivial boilerplate. > For a script that users actually want, it is work worth doing. > For a script that we support only because some bureaucrats > decided to include it in Unicode, is it worth that much? We cannot control which itches our contributors want to scratch. Letting them scratch their itches is an important aspect of being able to keep them contributing to Emacs in all other areas. This particular itch is useful to Emacs, so I see no reason to object their scratching it.