Emacs 最流畅的Power Mode

我用lsp-bridge好久了,用的同样的python,都没有问题。 系统已经对python不弹信任框了。 感谢回复。

太厉害了,只可惜 holo-layer 好像在wslg里出不来效果,只能看着馋了

1 个赞

炫酷~已用上

另:是否有大佬在exwm里尝试过?我一开exwm,这个效果就没了,不知道怎么排查,求指点。

我终于看到了火焰效果。

  1. 使用 brew install 安装emacs
  2. init.el只保留
(add-to-list 'load-path  "~/.emacs.d/el/holo-layer")
(require 'holo-layer)
(setq holo-layer-python-command "/opt/homebrew/bin/python3")
(setq holo-layer-enable-cursor-animation t)
(setq holo-layer-enable-indent-rainbow t)
(setq holo-layer-enable-type-animation t)
(holo-layer-enable)
  1. M-x 随便输入能看到火焰效果,可是切换到scratch就报错:
Traceback (most recent call last):
  File "/Users/kapuddi/.emacs.d/el/holo-layer/holo_layer.py", line 312, in paintEvent
    self.indent_line.draw(painter, self.emacs_indent_infos, self.emacs_frame_info)
  File "/Users/kapuddi/.emacs.d/el/holo-layer/plugin/indent_line.py", line 25, in draw
    cursor_x, cursor_y, cursor_w, cursor_h = [int(i) for i in cursor_info.split(':')]
                                              ^^^^^^
ValueError: invalid literal for int() with base 10: 'black'

Process *holo-layer* abort trap: 6

我这边也是开这个就失效了,就把它注掉了

果然!终于出现了。但是效果没有猫大演示的好。 感谢!

效果炸裂。 现在的问题是,在Mac下

  1. 小窗口效果正常;最大化窗口效果不是在光标输入处。
  2. org-mode效果出不来,text-mode, markdown-mode能出效果。

应该是最大化没有触发 holo-layer 的窗口信息更新,最大化后再拖动一下应该就好了

同时 macbook 解决完 truested 的问题,又出现另一个安全问题 :joy: 还是看不到效果

2024-07-19 17:02:03.722 Python[11984:5166035] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.

除了 org-mode,都可以正常看到效果了