coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Bas Spitters <spitters AT cs.ru.nl>
- To: Pierre-Marie P�drot <pierremarie.pedrot AT ens-lyon.fr>
- Cc: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Unicode input
- Date: Fri, 19 Feb 2010 15:22:18 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=OCaTJiDlzTWmi+o5Vb7d/Floe6Y+uobe2WM70PCQbChtSaIaUnEvi5PL9xJ3g2Dug1 BbTzu+8gYbFGlo7ciUJbExZzQRqCrzV66BAIk079JtqnGZ3f59wViNklNztsEGik/oa6 w8iyjWDlzzlCDLxuoqgq+nlYVf/ufH30nGMos=
Thanks for the hint, we got this method to work. Meanwhile, I see it
has also been documented in svn.
While playing with it I wonder what restrictions Coq has for the use of
unicode.
It seems that we can only use letter-like symbols in Definitions.
Wouldn't it be nice to allow more general symbols.
E.g. to allow â—Ž as the name for a function without poluting the name
space by first defining
Definition my_long_function_name :nat->nat->nat:= ...
Notation "n â—Ž m" ...
??
Bas
2010/2/17 Pierre-Marie Pédrot
<pierremarie.pedrot AT ens-lyon.fr>:
> Pierre Courtieu wrote:
>> for coqide the only method I know of is the one explained in the coq
>> reference manual:
>>
>> http://coq.inria.fr/coq/refman/Reference-Manual019.html#toc106
>
> For coqide, as it uses GTK, you could also use any input method editor
> (such as scim or ibus) and write a m17n file describing the input you
> wish to have (e.g. mimic the one of Emacs).
>
> This language is very rich, and you can have its description here :
> http://www.m17n.org/common/m17n-docs-en/m17nDBFormat.html#mdbIM
>
> For a simpler insight, one can have a look into basic mim files
> (eo-plena.mim is a good start).
>
> I don't know how it is described in Emacs, but it should be similar, and
> translation should be easy. If someone is interested, I may try to write
> it myself, as long as I have the bindings.
>
> PMP
>
>
- [Coq-Club] Unicode input, Bas Spitters
- Re: [Coq-Club] Unicode input,
Pierre Courtieu
- Re: [Coq-Club] Unicode input,
Pierre-Marie Pédrot
- Re: [Coq-Club] Unicode input, Bas Spitters
- Re: [Coq-Club] Unicode input, Danko Ilik
- Re: [Coq-Club] Unicode input, Bas Spitters
- Re: [Coq-Club] Unicode input, Nils Anders Danielsson
- Re: [Coq-Club] Unicode input,
Pierre-Marie Pédrot
- <Possible follow-ups>
- Fwd: [Coq-Club] Unicode input,
Danko Ilik
- Re: [Coq-Club] Unicode input,
Pierre Courtieu
- Re: [Coq-Club] Unicode input,
Bas Spitters
- Re: [Coq-Club] Unicode input,
Pierre Letouzey
- Re: [Coq-Club] Unicode input,
Benjamin Pierce
- Re: [Coq-Club] Unicode input, Frédéric Besson
- Re: [Coq-Club] Unicode input,
Benjamin Pierce
- Re: [Coq-Club] Unicode input,
Pierre Letouzey
- Re: [Coq-Club] Unicode input,
Bas Spitters
- Re: [Coq-Club] Unicode input,
Pierre Courtieu
- Re: [Coq-Club] Unicode input, vincent . gross
- Re: [Coq-Club] Unicode input,
Pierre Courtieu
Archive powered by MhonArc 2.6.16.