Re: [isabelle] AFP instructions
- To: Makarius <makarius at sketis.net>
- Subject: Re: [isabelle] AFP instructions
- From: Gerwin Klein <kleing at unsw.edu.au>
- Date: Wed, 24 Feb 2021 22:13:44 +0000
- Accept-language: en-AU, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=unsw.edu.au; dmarc=pass action=none header.from=unsw.edu.au; dkim=pass header.d=unsw.edu.au; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n2e1Smu3xIilpicshsgKPXLclpystVkpCQuMjyYhg8U=; b=d5uzXu6lSjUun1z+wddYvTrftKeKMbaovEiWy1LPQD+jNV+zeZZXHxR+lDpk539iUfUKQkbqFMlXADIpBPI29/LX6JBfFvKeTGzTCwQ50T6HxhJG/fx2nKe2/xkO38wzGYYANcxsAOPw0v0lLGVsysBjPD2p1ur5VkLoa/L1v51uO95bvqUvK31+no3P7vN38l8NKr1SJra5iW/EKl9ocsuh63oUYKFrUDXD7GsoyAQi/+lsHz5hK0uO6KadCAHysk93V1cbIPD5IkYo5xGyLjGSlI+kp4h0cWxxuvoGWZB/NhMfbbd44K0h94oIy81o/Ff742SFnA+jaZrb2Cd2pQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C4Gc9Nmej/suuIbu1D+8vac76KLoges2Adlecnwez+HbdfQm7Ly3ELlnmWw75mRiaVki6KdegQckNdUnJyfAhRBIy/6U63l54ewIvTgpJ9ijW28HitdQHtPe6hf73AuKLqJoZ/jwr+GOL89HlefXY0lo4YwYicS4gxOu25E93dxlm8G/L77Plm7S9KGUeggbyIv+/JhZNyVrgjG8OkKx2y4UBgG+CHGkviGDQqDX/itnfBQyB83q9tV4MQYryX/mtM9LiaVks7XQ552e5WS4cZOJtTSYKg4rLKeioqNNWvfTFzd+0xKxY6gw7LIHwsDK9+A+padaIHyOPHj8jlP/2w==
- Authentication-results: sketis.net; dkim=none (message not signed) header.d=none; sketis.net; dmarc=none action=none header.from=unsw.edu.au;
- Cc: Stepan Holub <holub at karlin.mff.cuni.cz>, isabelle-users <cl-isabelle-users at lists.cam.ac.uk>
- In-reply-to: <firstname.lastname@example.org>
- Ironport-phdr: 9a23:tCNK0B/sxmjoh/9uRHGN82YQeigqvan1NQcJ650hzqhDabmn44+7ZRyN/vZgkF7SG4PW96EMh+nXtvXmXmoNqdaEvWsZeZNBHxkClY0NngMmDcLEbC+zLPPjYyEgWsgXUlhj8iKgMkVJGd24YVDO8TW+6DcIEUD5Mgx4bu3+Bo/ViZGx0Oa/s53eaglFnnyze7R3eQiwthqXu8ULx4J/eas=
- Ironport-sdr: wLp3SsEZX//buVOSPTgBWBQ04Ndez0EfGZETjto7XZ53z8EdXoyLtzu6XdwNg23wa25IlJX8wL ohIF04/SMsSsd6lMRwpP91HVORH6MWn3dFGgYXV6kFWP2xV6qddEv1mhCyVCA27BkAcvw+q4GI ZsS9K2pOYKc071vP2tPotkOtTDjSgtkAS1ffNfA3EwAh1dpltg08g4ilKqXZtXNoCUCC+e1XBs 9k80wii2y7pK/5WjMLid4ERfPQD0hebK60UuEHZ4VSXAaWiXrb3eBYHfy2PpcpeGPQLhIAMnfB C7A=
- References: <email@example.com> <firstname.lastname@example.org>
- Thread-index: AQHXCsv4923LMzb55kC9UY0nS5hhjapnosOAgAA8RIA=
- Thread-topic: [isabelle] AFP instructions
> On 25 Feb 2021, at 05:38, Makarius <makarius at sketis.net> wrote:
> On 24/02/2021 17:40, Stepan Holub wrote:
>> maybe, the instructions on
>> could be made less hostile towards Windows users. The instruction for Windows,
>> to my best knowledge, could be:
>> If you are using Isabelle2021, and have downloaded your AFP directory to |c:\afp|
>> you should add the line
>> to the file
> I find the instructions a bit strange, even for Linux. Why use "echo" to edit
> a file --- with a somewhat accidental location ~/.isabelle/Isabelle2021/ROOTS?
Because instructions for editing a file generated too many questions and failure. (What if it doesn't exist? What if it does exist? Adding it at the end or the beginning or the middle? None of that matters, but all of it generates questions and confusion).
I'm not saying the current version is ideal, but it has been fairly quiet on this topic since we changed it to that. Of course that could also be because everyone is even more confused and is just giving up.
> In my own documentation, I usually refer symbolically to
> $ISABELLE_USER_HOME/etc/ROOTS --- this can be used literally in Isabelle/jEdit
> on all platforms, and the ROOTS file even has inlined explanations for that
Referring to a variable like $ISABELLE_USER_HOME also generated confusion, and esp Windows users are used to a different syntax for these. The hope was that, avoiding any concepts like variable syntax, it is easily recognisable what is going on (which seems to have worked, despite the complaint).
I don't have a Windows machine to test, but I do think it still works if you replace the path with what you need on Windows (as you have to do Linux/Mac as well), i.e. I don't really understand what is hostile to Windows users about it. Maybe all that is missing is adding `/cygdrive/c/afp/thys` as an example inside the `echo` for Windows. Having an extra example for Windows would be fine. Can someone with a Windows machine confirm if the result of that would work? Does `~` exist on Cygwin?
> There is also $ISABELLE_USER_HOME/etc/components to add components.
There are indeed many choices, you could also add something to etc/setting and so on. We wanted to pick one. People who know that there are multiple options don't really need these instructions.
> A remaining problem are the Cygwin paths required for Isabelle:
That is probably the information that is missing from the page.
> I often place AFP clones right into the corresponding Isabelle directory. Thus
> it could be referenced in a portable manner like this:
> An alternative is to suggest $ISABELLE_HOME_USER
People who know what $ISABELLE_HOME and $ISABELLE_HOME_USER are have read the manual ;-)
> Rather soon the Prover IDE should take care of AFP, that we don't need extra
> explanations any more.
That'd be nice. Basically, either users already know how to add components, because they have read the manual, know the concepts, and understand how to modify their setup, or they are missing one of these sources of information, and just want to use something in the AFP without further research. There is of course a whole spread of experience between those two, but the idea was to have something that needs no further knowledge.
This archive was generated by a fusion of
Pipermail (Mailman edition) and