In article <jwvpr4o8zq8.fsf-monnier+em...@gnu.org>, Stefan Monnier 
<monn...@iro.umontreal.ca> 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
ha...@m17n.org




_______________________________________________
Emacsweblogs mailing list
Emacsweblogs@nongnu.org
http://lists.nongnu.org/mailman/listinfo/emacsweblogs

Reply via email to