这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@fnussbaum
Copy link

By default term-cursor--immediate is called as part of the lsp-ui-doc-frame-hook, which is run with two arguments, and will therefore throw an error each time time, see syl20bnr/spacemacs#15667.

(I do not know why or if it still needs to be part of this hook, but I think it is the right thing to do in any case to support arbitrary hooks run with arguments).

By default `term-cursor--immediate` is called as part of the
`lsp-ui-doc-frame-hook`, which is run with two arguments, and will therefore
throw an error each time time, see
syl20bnr/spacemacs#15667.
fnussbaum added a commit to fnussbaum/spacemacs that referenced this pull request Sep 17, 2024
Remove `lsp-ui-doc-frame-hook` from `term-cursor-triggers` to fix syl20bnr#15667. The
hook is run with two arguments, but the handler function
`term-cursor--immediate` does not expect any. (It can be added back in case
denrat/term-cursor.el#5 is merged and if it is still
deemed necessary.)

Also do not enable `global-term-cursor-mode` in daemon mode unless a terminal
frame is created.
fnussbaum added a commit to fnussbaum/spacemacs that referenced this pull request Sep 17, 2024
Remove `lsp-ui-doc-frame-hook` from `term-cursor-triggers` to fix syl20bnr#15667. The
hook is run with two arguments, but the handler function
`term-cursor--immediate` does not expect any. (It can be added back in case
denrat/term-cursor.el#5 is merged and if it is still
deemed necessary.)

Also do not enable `global-term-cursor-mode` in daemon mode unless a terminal
frame is created.
fnussbaum added a commit to fnussbaum/spacemacs that referenced this pull request Sep 17, 2024
Remove `lsp-ui-doc-frame-hook` from `term-cursor-triggers` to fix syl20bnr#15667. The
hook is run with two arguments, but the handler function
`term-cursor--immediate` does not expect any. (It can be added back in case
denrat/term-cursor.el#5 is merged and if it is still
deemed necessary.)

Also do not enable `global-term-cursor-mode` in daemon mode unless a terminal
frame is created.
smile13241324 pushed a commit to syl20bnr/spacemacs that referenced this pull request Sep 17, 2024
Remove `lsp-ui-doc-frame-hook` from `term-cursor-triggers` to fix #15667. The
hook is run with two arguments, but the handler function
`term-cursor--immediate` does not expect any. (It can be added back in case
denrat/term-cursor.el#5 is merged and if it is still
deemed necessary.)

Also do not enable `global-term-cursor-mode` in daemon mode unless a terminal
frame is created.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant