Zulip Chat Archive

Stream: general

Topic: emacs-27.1


Yury G. Kudryashov (Oct 25 2020 at 04:04):

It seems that lean mode makes emacs-27.1 freeze (at least on my NixOS computer). I rolled back to emacs-26.3 for now.

Yury G. Kudryashov (Oct 25 2020 at 04:05):

But suggestions on how to debug the freeze are very welcome.

Kyle Miller (Oct 25 2020 at 04:15):

I've been on 27.1 for a while, and I don't think I've observed any freezes, but I'm not sure I'm using the newest lean-mode, if that matters.

Yury G. Kudryashov (Oct 25 2020 at 04:15):

I'll test it with a smaller set of other packages.

Yury G. Kudryashov (Oct 25 2020 at 04:16):

Thanks for the information.

Simon Hudon (Oct 25 2020 at 14:06):

Are you both using lean-mode from leanprover/lean-mode (or Melpa) or the set of contributions on leanprover-community?

Yury G. Kudryashov (Oct 25 2020 at 17:38):

I'm using the one from melpa but probably my setup is broken for some other reason.

Yury G. Kudryashov (Oct 25 2020 at 17:39):

E.g., I haven't tried commenting out all other (use-package ...) yet.

Kevin Lacker (Oct 26 2020 at 18:55):

if you see a freeze in emacs again try these steps: https://emacs.stackexchange.com/questions/506/debugging-a-frozen-emacs

Vaibhav Karve (Oct 27 2020 at 00:28):

@Simon Hudon I was not aware that there is an alternative lean-mode. Which is the recommended one?

Simon Hudon (Oct 27 2020 at 00:32):

The one on Melpa. The one on leanprover-community is one or two added goodies. You can install it too but it hasn't been battle tested

Simon Hudon (Oct 27 2020 at 00:33):

And there's yasnippet-lean which is used at least by Jesse and me

Philip B. (Nov 01 2020 at 09:36):

I am using lean-mode from melpa. I have a problem: messages, warnings, and errors in lean-mode's flycheck buffer are often too wide, they don't fit in my window. Is there something I can do? Make it wrap around or something. Screenshot_20201101_122949.png

Jannis Limperg (Nov 01 2020 at 13:50):

I primarily use the Lean Next Error buffer to look at errors (and Lean Goals for goals), and the flycheck window only for jumping around the file. Maybe that would work for you as well?

Simon Hudon (Nov 01 2020 at 16:40):

That's also what I do. When you jump to an error, flycheck will display the error in the mini-buffer (which becomes not so mini in the process) but I mostly rely on the Lean Next Error buffer

Alexandre Rademaker (Nov 07 2020 at 04:37):

What yasnippet-lean does?

Simon Hudon (Nov 07 2020 at 04:41):

yasnippet is a snippet package. There a sets of snippets for different languages. @Jesse Michael Han and I made one for Lean. There's a brief demo on the Github page: https://github.com/leanprover-community/yasnippet-lean


Last updated: Dec 20 2023 at 11:08 UTC