Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Unicode tokens?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Unicode tokens?


Chronological Thread 
  • From: Pierre Courtieu <pierre.courtieu AT gmail.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Cc: Tom Hirschowitz <tom.hirschowitz AT univ-smb.fr>
  • Subject: Re: [Coq-Club] Unicode tokens?
  • Date: Wed, 8 Mar 2017 17:34:21 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=pierre.courtieu AT gmail.com; spf=Pass smtp.mailfrom=pierre.courtieu AT gmail.com; spf=None smtp.helo=postmaster AT mail-wm0-f54.google.com
  • Ironport-phdr: 9a23:dEzMwRxlNMbOo/PXCy+O+j09IxM/srCxBDY+r6Qd0esUIJqq85mqBkHD//Il1AaPBtSGra4YwLqJ++C4ACpbvsbH6ChDOLV3FDY7yuwu1zQ6B8CEDUCpZNXLVAcdWPp4aVl+4nugOlJUEsutL3fbo3m18CJAUk6nbVk9Dq3PF4XTl8W60fyps92WOl0QxWn1XbQnBxKv5S7Vq8Ne1YBlM+M6zgbDinpOYeVfg21ycwG9hRH5s/+x8YR5/mx7vO87689NTO2uZ6U1V6ZVSj8hLnop5cD2nRbGRAqLoHAbVzNFwVJzHwHZ4USiDd/KuSzgu784gXHCMA==

The bug is fixed in github now.

The question remains to decide if we keep this feature in pg.

The main advantage of this feature is that you keep non-unicode text
in your files. Still today it seems to be an advantage. I don't
understand exactly why because now all editors support unicode. But
people still fear unicode.

The main disadvantage of this feature is that it introduces
inconsistencies between view modes of a file: the length of lines is
not the same with or without the tokens hence the layout of your files
is ugly in either one or the other mode.

I tend to use unicode when I work alone, and stick to ascii/latin when
working with others. In these cases I kind of like unicode tokens. But
going for company-coq pretty-printing is straightforward.

P.

2017-03-07 16:48 GMT+01:00 Paul A. Steckler
<steck AT stecksoft.com>:
> On Tue, Mar 7, 2017 at 5:43 AM, Tom Hirschowitz
> <tom.hirschowitz AT univ-smb.fr>
> wrote:
>> What kind of bugs are you thinking of?
>
> For example, in the PG file coq/example-tokens.v, there is the text
> "delta__1", which should show a subscripted Greek letter. Instead, the
> text appears verbatim.
>
> I think I've tracked down this bug to the regular expression that's
> generated for token matching.
>
> -- Paul



Archive powered by MHonArc 2.6.18.

Top of Page