coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Théo Zimmermann <theo.zimmi AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Unicode tokens?
- Date: Tue, 07 Mar 2017 14:36:41 +0000
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=theo.zimmi AT gmail.com; spf=Pass smtp.mailfrom=theo.zimmi AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f171.google.com
- Ironport-phdr: 9a23:+dZDQRCz0wcuZffwOfWCUyQJP3N1i/DPJgcQr6AfoPdwSPv6oMbcNUDSrc9gkEXOFd2CrakV1qyK6eu+CSQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Yb5+Nhq7oRveusQXgoZpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLuhSwaNTA27XvXh9R/g6JVoh2vpxJxzY3Jbo+LKPVzZbnScc8ASGdbQspdSy5MD4WhZIUPFeoBOuNYopHjqVsOtxy+AhGjC+Duyj9Ng3/5w7c60+E7HgHA2gwrAtUDsGjUrNrrM6ceS+G0zKjNzTXGbvNbwjj96I3SfRAgpfGAR65/cc3UyUQ2EQ7Ok1aeqZT9Mj+LyugAt3KX4ulgWO61lWIrtR19riKyysoul4XEgJ8exEre+iVj2ok1IMW1SE5lbt6gF5tdrySaOJF3QsMmWm1ooSU6xqEftZ61YSQHyokrywTQa/yAdIiI7RbjW/iLLThkg3Jlfaqzhxe08Ue+1u3xTte43EpOoyZfkdTBtmoB2wLN5sSbUPdx40Ws1SuX2wDW8O5EIEQ0laTBK54mx749joYTsUTdES/xgkn3ja6WdkAh+uip8OnnbbDmqYWdN49wkA3xLqMumsmnDeQiLgcOR3Sb+fi71LD74UL5R6xKguQqnandrZDVPt8WprW5Ag9QyoYs8QyzDzag0NQCnHkINkhJeBydj9uhB1abK/fhSPy7nl6EkTFxxvmAMKeyLI/KKy3/kDbmSoR87ktR0g86y9YXs45UB7ZHMvP2X07Zu9nRDxt/OAuxlbW0QO5h358TDDrcSpSSN7nf5AeF
Note that with Coq, one can use Unicode notations (saved in the file thus, and not just displayed as pretty symbol). For inputting Unicode characters, Company-Coq provides a special feature: type the latex name, starting with \ and then Ctrl+Enter.
Le mar. 7 mars 2017 à 14:57, Christian Doczkal <christian.doczkal AT ens-lyon.fr> a écrit :
Hello,
I also use the Company-Coq prettify-symbols method. The main reason for
me is that this is "safe" in the sense that no actual unicode characters
are written to the file.
I haven't experimented with the "Unicode Tokens" feature for a while,
but a quick test confirms that his method (sometimes) generates actual
unicode symbols (i.e., in my case -> is saved as unicode arrow while
forall is not). I faintly recall that I had trouble with coqdoc/browsers
to reliably get the unicode symbols to work.
So I guess this touches on the issue whether unicode symbols should be
"display only" or actual characters. I see advantages and disadvantages
for either so I'd say that for the time being both should stay around.
Best,
Christian
On 06/03/17 21:47, Clément Pit-Claudel wrote:
> On 2017-03-06 15:29, Théo Zimmermann wrote:
>> That's another feature which is also provided by Company-Coq (advertised as prettification), right?
>
> Correct. A bit less general, but based on Emacs primitives instead of custom fontification rules.
>
- [Coq-Club] Unicode tokens?, Paul A. Steckler, 03/06/2017
- Re: [Coq-Club] Unicode tokens?, Makarius, 03/06/2017
- Re: [Coq-Club] Unicode tokens?, Théo Zimmermann, 03/06/2017
- Re: [Coq-Club] Unicode tokens?, Clément Pit-Claudel, 03/06/2017
- Re: [Coq-Club] Unicode tokens?, Christian Doczkal, 03/07/2017
- Re: [Coq-Club] Unicode tokens?, Théo Zimmermann, 03/07/2017
- Re: [Coq-Club] Unicode tokens?, Christian Doczkal, 03/07/2017
- Re: [Coq-Club] Unicode tokens?, Clément Pit-Claudel, 03/06/2017
- Re: [Coq-Club] Unicode tokens?, Paul A. Steckler, 03/06/2017
- Re: [Coq-Club] Unicode tokens?, Benjamin C. Pierce, 03/07/2017
- Re: [Coq-Club] Unicode tokens?, Christian Doczkal, 03/07/2017
- Re: [Coq-Club] Unicode tokens?, Benjamin C. Pierce, 03/07/2017
- Re: [Coq-Club] Unicode tokens?, Théo Zimmermann, 03/06/2017
- Message not available
- Re: [Coq-Club] Unicode tokens?, Paul A. Steckler, 03/07/2017
- Re: [Coq-Club] Unicode tokens?, Tom Hirschowitz, 03/07/2017
- Re: [Coq-Club] Unicode tokens?, Théo Zimmermann, 03/08/2017
- Re: [Coq-Club] Unicode tokens?, Clément Pit-Claudel, 03/08/2017
- Re: [Coq-Club] Unicode tokens?, Tom Hirschowitz, 03/08/2017
- Re: [Coq-Club] Unicode tokens?, Pierre Courtieu, 03/08/2017
- Re: [Coq-Club] Unicode tokens?, Vadim Zaliva, 03/08/2017
- Re: [Coq-Club] Unicode tokens?, Tom Hirschowitz, 03/07/2017
- Re: [Coq-Club] Unicode tokens?, Paul A. Steckler, 03/07/2017
- Re: [Coq-Club] Unicode tokens?, Makarius, 03/06/2017
Archive powered by MHonArc 2.6.18.