Isabelle/jEdit 仅通过单击 .thy 文件或在 MacOS 中使用打开命令以 ~/Scratch.thy 启动(或不启动)

发布于 2025-01-18 09:48:33 字数 1275 浏览 0 评论 0原文

最近,我重新开始与Isabelle/Hol一起玩。 但是,我在MacOS(蒙特雷)中面临以下问题: 当我单击foo.thy文件时,isabelle/jedit启动,但忽略foo.thy,以〜/scratch.thy开始。当我使用打开foo.thy时,也会发生同样的情况。

(同样,在Macos Catalina中,Isabelle/Jedit无法通过单击文件来启动(它试图从码头中的图标跳下来启动,但是经过几秒钟的时间,它停止了),尽管我无法重新检查它,因为我因为've already upgraded MacOS.)

How can I open a theory file by clicking the file?

Some additional information (these are under Monterey):

  1. My Isabelle/jEdit is of Isabelle2021-1 from Isabelle's official site
  2. 我可以通过单击isabelle2021-1.App来启动Isabelle/Jedit。
  3. 启动Isabelle/Jedit后,我可以从file>打开文件。在菜单栏中打开...
  4. 我可以通过/applications/isabelle2021-1.app/bin/isabelle jedit foo.thy直接打开foo.thy。
  5. When I launch by clicking a file named Chapter01.thy, then the activity log includes
12:06:08 PM [main] [message] jEdit: starting with command line arguments: -settings=/Users/suzuyu/.isabelle/Isabelle2021-1/jedit -server=Isabelle2021-1 -reuseview -nobackground -nosplash -log=9 /Users/suzuyu/Scratch.thy

so, it seems that the file is already ignored at this stage.

Recently, I restarted playing with Isabelle/HOL.
However, I faced the following problem in MacOS (Monterey):
When I click foo.thy file, Isabelle/jEdit launches but ignores foo.thy and starts with ~/Scratch.thy. The same happens when I uses open foo.thy from terminal.

(Also, in MacOS Catalina, Isabelle/jEdit cannot be launched by clicking a file (it tries to launch in the sense that the icon hops in Dock, but after some seconds, it stops), though I cannot re-check it since I've already upgraded MacOS.)

How can I open a theory file by clicking the file?

Some additional information (these are under Monterey):

  1. My Isabelle/jEdit is of Isabelle2021-1 from Isabelle's official site.
  2. I checked Isabelle/jEdit can be launched by clicking Isabelle2021-1.app.
  3. After launching Isabelle/jEdit, I can open files from File > Open... in the Menu bar.
  4. I can open foo.thy directly by /Applications/Isabelle2021-1.app/bin/isabelle jedit foo.thy.
  5. When I launch by clicking a file named Chapter01.thy, then the activity log includes
12:06:08 PM [main] [message] jEdit: starting with command line arguments: -settings=/Users/suzuyu/.isabelle/Isabelle2021-1/jedit -server=Isabelle2021-1 -reuseview -nobackground -nosplash -log=9 /Users/suzuyu/Scratch.thy

so, it seems that the file is already ignored at this stage.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文