[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacsweblogs] i18n

From: Kenichi Handa
Subject: Re: [Emacsweblogs] i18n
Date: Tue, 02 Feb 2010 10:21:37 +0900

In article <address@hidden>, Stefan Monnier <address@hidden> writes:

>>> It would be easy to change the reader such that _"foo" is 
>>> automatically read as (_ "foo"), just like we do for 'foo -> (quote foo).
> > Oh sure. And break existing code.

> I grepped for this sequence before sending the previous email.  So while
> theoretically there may be code out there that would be affected,
> I don't think such code really exists in practice.

> > Lisp (in general) has always read + eval'd a sexp such as (list
> > 'foo_"bar") to produce the list (foo_ "bar"). You would have it return
> > (foo (_ "bar"))?

> Actually, I'd probably have it return the same as now because this _
> appears in the "middle" (well, the end) of a symbol.  This said, I do not
> think there is this kind of code in the wild either,

Currently #("bar") is read as "bar".  How about reading it
as "#("bar" 0 3 (gettext t))?  Then, we don't have to
introduce any new syntax.

Kenichi Handa

reply via email to

[Prev in Thread] Current Thread [Next in Thread]