[vim/vim] Error detected while processing TermResponseAll Autocommands for "osc" (Issue #18316)

3 views
Skip to first unread message

Chris Sutcliffe

unread,
Sep 16, 2025, 3:14:06 PM (13 hours ago) Sep 16
to vim/vim, Subscribed
ir0nh34d created an issue (vim/vim#18316)

Steps to reproduce

  1. start vim
  2. observe the errors listed at the bottom of the screen:
    Error detected while processing TermResponseAll Autocommands for "osc":
    E46: Cannot change read-only variable "v:termrfgresp"
    E46: Cannot change read-only variable "v:termrbgresp"

Expected behaviour

There are no errors

Version of Vim

9.1.1756

Environment

Operating System: Mac
Terminal: iTerm (same happens with MacOs Terminal)
$TERM: xterm-256color
Shell: /bin/zsh

Logs and stack traces


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18316@github.com>

Dominique Pellé

unread,
Sep 16, 2025, 3:27:25 PM (13 hours ago) Sep 16
to vim/vim, Subscribed
dpelle left a comment (vim/vim#18316)

I get the same errors when starting Vim.

I use the Alacritty 0.15 (1) terminal on macOS-15.6.1.
I ssh to a xubuntu-22.05.5 machine and start Vim on xubuntu and get the same errors.

I bisected and the error started to happen in 9.1.1757. So this is the change that introduces the bug:

commit c077f5e9d82189f5d1ce86068e10540139fec6cb (tag: v9.1.1757)
Author: Foxe Chen <chen...@gmail.com>
Date:   Sun Sep 14 04:38:33 2025 -0400

    patch 9.1.1757: The colorresp plugin causes additional redraws

    Problem:  The colorresp plugin causes additional redraws
              (Linwei, after v9.1.1703)
    Solution: Move the code back into the C core and get rid of the vim
              plugin (Foxe Chen)

    fixes: #18251
    closes: #18279

    Signed-off-by: Foxe Chen <chen...@gmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

It does not happen with vim --clean but it happens I run run vim with my ~/.vimrc.
I'd need to to minimize the content of my ~/.vimrc, without depending on plugins, to give better reproducible steps.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18316/3300062289@github.com>

Christian Brabandt

unread,
Sep 16, 2025, 3:31:24 PM (13 hours ago) Sep 16
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#18316)

please use make uninstall before doing make install to get rid of the now obsolete colorresp.vim plugin


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18316/3300073914@github.com>

Christian Brabandt

unread,
Sep 16, 2025, 3:32:06 PM (13 hours ago) Sep 16
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#18316)

duplicate of #18297


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18316/3300076014@github.com>

Chris Sutcliffe

unread,
Sep 16, 2025, 3:32:53 PM (13 hours ago) Sep 16
to vim/vim, Subscribed
ir0nh34d left a comment (vim/vim#18316)

That fixed it - thanks @chrisbra !


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/18316/3300078556@github.com>

Christian Brabandt

unread,
Sep 16, 2025, 3:42:53 PM (13 hours ago) Sep 16
to vim/vim, Subscribed

Closed #18316 as duplicate.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/18316/issue_event/19734499630@github.com>

Reply all
Reply to author
Forward
0 new messages