all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Karl Eichwalder <ke@suse.de>
Cc: emacs-devel@gnu.org, haible@ilog.fr
Subject: PO files and Emacs
Date: Tue, 12 Mar 2002 09:44:12 +0100	[thread overview]
Message-ID: <shit826uqr.fsf@frechet.suse.de> (raw)

> 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 <haible@ilog.fr>
To: emacs-pretest-bug@gnu.org, Karl Eichwalder <keichwa@gmx.net>,  
        Eli Zaretskii <eliz@is.elta.co.il>, translation@IRO.UMontreal.CA,
        Bruno Haible <haible@ilog.fr>,
        Pablo Saratxaga <pablo@mandrakesoft.com>,
        Primoz Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>,
        =?iso-8859-1?q?Fran=E7ois?= Pinard <pinard@IRO.UMontreal.CA>
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  <haible@clisp.cons.org>

        * 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


             reply	other threads:[~2002-03-12  8:44 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-12  8:44 Karl Eichwalder [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-03-09 14:11 PO files and Emacs Karl Eichwalder
2002-03-10  5:03 ` Richard Stallman
2002-03-10  5:29   ` Karl Eichwalder
2002-03-11  9:00     ` Richard Stallman
2002-03-11 11:03       ` Eli Zaretskii
2002-03-11 17:54         ` Karl Eichwalder
2002-03-11 19:29           ` Andreas Schwab
2002-03-11 20:02       ` Karl Eichwalder
2002-03-12  5:53         ` Eli Zaretskii
2002-03-12 13:41           ` Bruno Haible
2002-03-12 15:53             ` Kim F. Storm
2002-03-12 16:25               ` Karl Eichwalder
2002-03-12 17:19               ` Bruno Haible
2002-03-12 17:20               ` Bruno Haible
2002-03-15 13:53                 ` Eli Zaretskii
2002-03-16  3:41                   ` Karl Eichwalder
2002-03-12 17:17             ` Eli Zaretskii
2002-03-15 13:54       ` Eli Zaretskii
2002-03-10 11:10   ` Neil Darlow
2002-03-11  5:46     ` Eli Zaretskii
2002-03-11  6:45       ` Karl Eichwalder
2002-03-11  6:53         ` Eli Zaretskii
2002-03-12 13:30 ` Bruno Haible
2002-03-15 13:29   ` Eli Zaretskii
2002-03-15 18:43     ` Bruno Haible
2002-03-16  4:36       ` Karl Eichwalder
2002-03-16  9:26         ` Eli Zaretskii
2002-03-16 13:05           ` Karl Eichwalder
2002-03-16 17:29             ` Eli Zaretskii
2002-03-16 18:41               ` Karl Eichwalder
2002-03-17  4:35                 ` Eli Zaretskii
2002-03-17  5:26                   ` Karl Eichwalder
2002-03-17 11:42                     ` Eli Zaretskii
2002-03-16 10:39       ` Alex Schroeder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=shit826uqr.fsf@frechet.suse.de \
    --to=ke@suse.de \
    --cc=emacs-devel@gnu.org \
    --cc=haible@ilog.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.