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: Christian Doczkal <christian.doczkal AT ens-lyon.fr>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Unicode tokens?
  • Date: Tue, 7 Mar 2017 14:53:29 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=christian.doczkal AT ens-lyon.fr; spf=Pass smtp.mailfrom=christian.doczkal AT ens-lyon.fr; spf=None smtp.helo=postmaster AT labbe.ens-lyon.fr
  • Ironport-phdr: 9a23:8d6ktBIVV4KIzw4St9mcpTZWNBhigK39O0sv0rFitYgXIvnxwZ3uMQTl6Ol3ixeRBMOAuq8C17Cd7v2oGTRZp83e4DZaKN0EfiRGoPtVtjRoONSCB0z/IayiRA0BN+MGamVY+WqmO1NeAsf0ag6aiHSz6TkPBke3blItdaymUrLV2s+wzqW5/4DZSwROnju0J71ofzusqgCEnckMgJB+K683gjfOqWlLcuAekWhoP1OIgxf14IG8+5Vx8C1Uk/8n7ItEQKL8OaoiG+8LRA86Onw4sZW4/SLIShGCsyMR

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.
>



Archive powered by MHonArc 2.6.18.

Top of Page