From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Eichwalder Newsgroups: gmane.emacs.devel Subject: PO files and Emacs Date: Tue, 12 Mar 2002 09:44:12 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1015923984 16427 80.91.224.249 (12 Mar 2002 09:06:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 12 Mar 2002 09:06:24 +0000 (UTC) Cc: emacs-devel@gnu.org, haible@ilog.fr Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16kiEh-0004Gq-00 for ; Tue, 12 Mar 2002 10:06:23 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16kiGn-0001yY-00 for ; Tue, 12 Mar 2002 10:08:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16khuO-0001Tj-00; Tue, 12 Mar 2002 03:45:24 -0500 Original-Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16khtK-0001NT-00 for ; Tue, 12 Mar 2002 03:44:19 -0500 Original-Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id C5E911E416; Tue, 12 Mar 2002 09:44:14 +0100 (MET) X-Authentication-Warning: frechet.suse.de: ke set sender to ke@suse.de using -f Original-To: eliz@is.elta.co.il Original-Lines: 73 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.2.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:1871 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1871 > Yes (although it might take a few days until I get to it). Thanks! > However, I'm confused: should it be called po.el or po-mode.el? Are we > talking about 2 different files here? I think we should start with something small (po.el as send in my last mail); in po-mode.el is much too much compatibility code. For more info, please read this message again (it is also available as a part of: http://mail.gnu.org/pipermail/emacs-devel/2002-March/006474.html): -=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=- Date: Thu, 24 May 2001 01:04:34 +0200 (CEST) From: Bruno Haible To: emacs-pretest-bug@gnu.org, Karl Eichwalder , Eli Zaretskii , translation@IRO.UMontreal.CA, Bruno Haible , Pablo Saratxaga , Primoz Peterlin , =?iso-8859-1?q?Fran=E7ois?= Pinard Subject: Re: PO files and Emacs (coding:) Message-ID: <15116.16898.335177.134247@honolulu.ilog.fr> Dear Emacs maintainers, To make Karl Eichwalder's proposition more concrete. PO file support consists of two parts: 1) Make sure that Emacs displays the file in the right encoding. All PO files contains multilingual text; the right choice of coding-system is essential for them. 2) A special editing mode for use by translators (po-mode.el by Francois Pinard et al.) I would like to push part 1) into Emacs. Part 2) is probably best maintained as part of gettext. There are probably fewer users who need 2) than 1) - it is perfectly well possible (though tedious) to edit PO files in text-mode. The support consists of three parts. 1) A new file, attached to this mail. 2001-05-23 Bruno Haible * lisp/textmodes/po.el: New file, extracted from GNU gettext's po-mode.el. 2) Make sure that loaddefs.el scans that new file for autoloads. I don't know how to do this. 3) Put the following form into startup.el or any other files that is included by startup.el in all cases: (modify-coding-system-alist 'file "\\.po[tx]?\\'\\|\\.po\\." 'po-find-file-coding-system) Thanks. -=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=- -- Linux frechet 2.4.16-4GB #1 Wed Dec 12 13:42:58 GMT 2001 i686 unknown 9:37am up 40 days, 23:01, 16 users, load average: 0.07, 0.39, 0.73 work : ke@suse.de Karl Eichwalder home : keichwa@gmx.net _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel