为啥很多常用包运行时警告没人修复呢?

比如:

~/.emacs.d/elpa/undo-tree-0.8.2/undo-tree.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
~/.emacs.d/elpa/vertico-2.10/vertico.el: Warning: `incf' is an obsolete alias (as of 27.1); use `cl-incf' instead.

~/.emacs.d/elpa/highlight-symbol-1.3/highlight-symbol.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
~/.emacs.d/elpa/highlight-symbol-1.3/highlight-symbol.el: Warning: `incf' is an obsolete alias (as of 27.1); use `cl-incf' instead.

~/.emacs.d/elpa/go-mode-1.6.0/go-mode.el: Warning: Case 'fail will match `quote'.  If that's intended, write (fail quote) instead.  Otherwise, don't quote `fail'.
~/.emacs.d/elpa/go-mode-1.6.0/go-mode.el: Warning: Case 'block-empty will match `quote'.  If that's intended, write (block-empty quote) instead.  Otherwise, don't quote `block-empty'.
~/.emacs.d/elpa/go-mode-1.6.0/go-mode.el: Warning: Case 'block will match `quote'.  If that's intended, write (block quote) instead.  Otherwise, don't quote `block'.
~/.emacs.d/elpa/go-mode-1.6.0/go-mode.el: Warning: Case 'single will match `quote'.  If that's intended, write (single quote) instead.  Otherwise, don't quote `single'.
~/.emacs.d/elpa/go-mode-1.6.0/go-mode.el: Warning: Case 'none will match `quote'.  If that's intended, write (none quote) instead.  Otherwise, don't quote `none'.

等你来修! :nerd_face:

有了AI,修复很容易,就是一个个提交麻烦了,没权限

也许可能故意不修的,出问题时好找,lisp在运行出问题的时候要快速定位错误的位置好像比其它语言要差点

每次版本升级都可能带来新的warning,修复需要考虑兼容性,除非不支持老版本了。

1 个赞

项目太多管不过来了.CI里没有做byte compile检查的话,可能就没意识到有warning.

这是什么理论?错误当断点是吧 :see_no_evil_monkey:

go-mode长期只有作者dorminkh一个人在维护,过去一年多的时间里都没什么动静,pull requests都挂着,我提的review也一直没改。

你尝试过go-ts-mode吗?怎么样?

可能指的是 git blame 不会定位到 fix compiler warning 这样没意义的 commit 上

不清楚,我不用go开发

*-ts-mode 都是用 treesit 库来渲染的

只要库文件工作,就能工作。我用过,没啥问题。事实上,我倾向于优先使用 *-ts-mode,因为它往往能提供更加细致的高亮

1 个赞

全职搞的人太少了,精力有限,能用就行

1 个赞

这个应该是正确答复