Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Tricks to make Unicode input easier and proof scripts more readable (was Re: Lean Theorem Prover)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Tricks to make Unicode input easier and proof scripts more readable (was Re: Lean Theorem Prover)


Chronological Thread 
  • From: Clément Pit--Claudel <clement.pit AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Tricks to make Unicode input easier and proof scripts more readable (was Re: Lean Theorem Prover)
  • Date: Fri, 11 Mar 2016 10:41:03 -0500
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=clement.pit AT gmail.com; spf=SoftFail smtp.mailfrom=clement.pit AT gmail.com; spf=None smtp.helo=postmaster AT mout.kundenserver.de
  • Ironport-phdr: 9a23:Ejo/+BGolBxsA/eQqBEFEZ1GYnF86YWxBRYc798ds5kLTJ75o8mwAkXT6L1XgUPTWs2DsrQf27WQ4/GrBjFIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/niKbiqtaMPk1hv3mUX/BbFF2OtwLft80b08NJC50a7V/3mEZOYPlc3mhyJFiezF7W78a0+4N/oWwL46pyv50IbaKvdKMhCLdcET4OMmYv5cStuwOQYxGI4y43VuQTnxxUNDDE8FS/dZP4ryf3sqIp0y2XOMDwUfYsWCiK4KJiSRuugyACYW1quFrLg9B92foI6CmqoAZyltbZ

On 03/11/2016 10:22 AM, Pierre Courtieu wrote:
> Hi,
>
> Concerning prettification there is one problem that is difficult to solve:
> indentation. Look for example at the following code that is indented for
> non-prettified display:
>
> forall x y, x +
> y.
>
> This will not look good if prettified:
>
> ∀ x y, x +
> y.
>
> And conversely a good indentation in prettified mode would not look good in
> non prettified.

That's definitely an issue. It tends to be less of a problem in practice than
I expected, though; maybe because I tend to align things as

forall x y,
x + y.

instead of the style above. We can also teach Emacs to ignore prettifications
for indentation purposes.

Another, related issue is uncommon characters not being available in your
monospace font, and thus breaking alignment (ever so slightly). It makes
block editing a pain. My attempt at fixing that is at
https://github.com/cpitclaudel/monospacifier.

Clément.

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.18.

Top of Page