From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/8760 Path: main.gmane.org!not-for-mail From: Ulrich Drepper Newsgroups: gmane.emacs.gnus.general Subject: Re: Internationalization Date: 12 Nov 1996 23:40:20 +0100 Message-ID: References: Reply-To: drepper@ipd.info.uni-karlsruhe.de (Ulrich Drepper) NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.93) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035148884 14229 80.91.224.250 (20 Oct 2002 21:21:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:21:24 +0000 (UTC) Cc: pinard@iro.umontreal.ca, ding@ifi.uio.no, Ulrich Drepper Return-Path: Original-Received: (qmail 8226 invoked from smtpd); 13 Nov 1996 00:41:42 -0000 Original-Received: from ifi.uio.no (0@129.240.64.2) by deanna.miranova.com with SMTP; 13 Nov 1996 00:41:42 -0000 Original-Received: from nz11.rz.uni-karlsruhe.de (nz11.rz.uni-karlsruhe.de [129.13.64.7]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id ; Wed, 13 Nov 1996 01:12:56 +0100 Original-Received: from ipd.info.uni-karlsruhe.de (actually i44ms.info.uni-karlsruhe.de) by nz11.rz.uni-karlsruhe.de with SMTP (PP); Tue, 12 Nov 1996 23:42:18 +0100 Original-Received: from sl-kb05.rz.uni-karlsruhe.de (drepper@pool3.ilk.de [194.121.104.132]) by ipd.info.uni-karlsruhe.de (8.6.4/8.6.4) with ESMTP id XAA00708; Tue, 12 Nov 1996 23:40:41 +0100 Original-Received: (from drepper@localhost) by sl-kb05.rz.uni-karlsruhe.de (8.8.2/8.7.5/ud-960406) id XAA32639; Tue, 12 Nov 1996 23:40:21 +0100 Original-To: Lars Magne Ingebrigtsen X-fingerprint: BE 3B 21 04 BC 77 AC F0 61 92 E4 CB AC DD B9 5A In-Reply-To: Lars Magne Ingebrigtsen's message of 12 Nov 1996 20:56:02 +0100 Original-Lines: 33 X-Mailer: Red Gnus v0.61/XEmacs 19.14 X-MIME-Autoconverted: from 8bit to quoted-printable by sl-kb05.rz.uni-karlsruhe.de id XAA32639 Xref: main.gmane.org gmane.emacs.gnus.general:8760 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:8760 Lars Magne Ingebrigtsen writes: > #"This is a string" seems like a better idea to me... or even=20 > #_"This is a string". This will require some tiny changes in lread.c, > but nothing major... But this has a major drawback: you have to convince RMS. With the solution Fran=E7ois currently propagates no change in Emacs is necessary. > If it's simple to include gettext in Emacs, could you run this by RMS > and see what he thinks about it? Somebody who participates in Emacs development should do this. Principally it should be trivial. Have we agreed on the interface yet? If I remember correctly we agreed that the simple `gettext' function is of no big value since the current domain should always be the one of the Emacs binary. So we have two candidates: dgettext and dcgettext. Since LISP can handle optional argument we could unifiy this to simply provide a (defun gettext (domain string &optional category) ...) In addition the bindtexdomain function is needed. How this fits in the #"..." scheme Lars proposed, I don't know. BTW: in bash and ksh $"..." is used. Would this be possible as well? -- Uli --------------. drepper@cygnus.com ,-. Rubensstrasse 5 Ulrich Drepper \ ,--------------------' \ 76149 Karlsruhe/Germany Cygnus Support `--' drepper@gnu.ai.mit.edu `------------------------