From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: list-general@mohsen.1.banan.byname.net Newsgroups: gmane.emacs.bugs Subject: bug#11812: emacs24 -- Addition of language/persian.el and updates to leim/quail/persian.el Date: Tue, 07 Aug 2012 23:44:04 -0700 Organization: ByStar Federation of Autonomous Libre Services -- http://www.by-star.net Message-ID: References: <608vdsv59f.fsf@fencepost.gnu.org> <191ujjvj43.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344408314 6035 80.91.229.3 (8 Aug 2012 06:45:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2012 06:45:14 +0000 (UTC) Cc: 11812@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 08 08:45:13 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sz00z-0005y2-8P for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Aug 2012 08:45:09 +0200 Original-Received: from localhost ([::1]:46421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz00y-0007Zl-JC for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Aug 2012 02:45:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz00s-0007Me-W9 for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2012 02:45:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sz00q-0007E4-Ci for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2012 02:45:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz00q-0007Dy-8u for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2012 02:45:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sz08c-0003UM-8p for bug-gnu-emacs@gnu.org; Wed, 08 Aug 2012 02:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: list-general@mohsen.1.banan.byname.net Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Aug 2012 06:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11812 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 11812-submit@debbugs.gnu.org id=B11812.134440873613354 (code B ref 11812); Wed, 08 Aug 2012 06:53:02 +0000 Original-Received: (at 11812) by debbugs.gnu.org; 8 Aug 2012 06:52:16 +0000 Original-Received: from localhost ([127.0.0.1]:40948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sz07r-0003TK-0e for submit@debbugs.gnu.org; Wed, 08 Aug 2012 02:52:15 -0400 Original-Received: from 0016.bacs.by-star.net ([198.62.92.166]:50869) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1Sz07n-0003T9-8u for 11812@debbugs.gnu.org; Wed, 08 Aug 2012 02:52:13 -0400 Original-Received: (qmail 3943 invoked from network); 7 Aug 2012 23:36:34 -0700 Original-Received: from 192.168.0.181 ([192.168.0.181]) by 0016.bacs.by-star.net ([198.62.92.166]) with ESMTP via TCP; 08 Aug 2012 06:36:34 -0000 In-Reply-To: <191ujjvj43.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 06 Aug 2012 16:52:12 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62931 Archived-At: >>>>> On Mon, 06 Aug 2012 16:52:12 -0400, Glenn Morris said: GM> Glenn Morris wrote: >>> emacs24-banan-patches/lisp/language/persian.el >>> Is a new file that adds persian as an emacs language. >> >> Applied, thanks. GM> So I actually looked at the file, and its entire contents are extremely GM> similar to the already existing "Arabic" section of GM> language/misc-lang.el. The only differences seem to be to replace GM> "Arabic" with "Persian", to change the sample text, and change the GM> input-method from "arabic" to "farsi-transliterate-banan". GM> Surely there is some inconsistency here? Thank you for applying those patches. I tried the latest version and addition of Persian to "Set Language Environment" works fine. Persian and Arabic are different languages. Persian is an Indo-European langauge. Arabic is a non Indo-European langauge. Persian script uses the Arabic alphabet. The charset used for Persian and Arabic is the same. Some of the chars used for Persian and Arabic are common and some are separate. So, the part of language/persian.el that is coding-system and charset related is same as the arabic part of language/misc-lang.el. Input methods for Persian and Arabic are of course separately specified in quail/arabic.el and quail/persian.el. And the default input method for each language specification is in set-language-info-alist. So with what is in place, things work, but things are not clean. I am not familiar with the history of how language/misc-lang.el evolved. I think the right way of doing it is: - Create a language/persoarabic.el that is the common part of language/persian.el and language/arabic.el (see next). - Create a language/arabic.el which is just the arabic part of language/misc-lang.el and which loads language/persoarabic.el - Make language/persian.el also load the common part as language/persoarabic.el More broadly speaking, I think language/misc-lang.el needs to be cleaned up so that alphabeticly sorted list of languages in "Set Language Environment" is cleaner. A bit later, perhaps we should bring this up in the developers list and do that cleanup. For now, Persian has been added as an emacs language. That is a good thing. Thanks again for applying those patches. ...Mohsen