-*message.txt* For Vim version 9.1. Last change: 2024 Mar 05
+*message.txt* For Vim version 9.1. Last change: 2024 Mar 13
VIM REFERENCE MANUAL by Bram Moolenaar
path leading to the file.
*E1513*
- Cannot edit buffer. 'winfixbuf' is enabled ~
+ Cannot switch buffer. 'winfixbuf' is enabled ~
If a window has 'winfixbuf' enabled, you cannot change that window's current
buffer. You need to set 'nowinfixbuf' before continuing. You may use [!] to
EXTERN char e_wrong_character_width_for_field_str[]
INIT(= N_("E1512: Wrong character width for field \"%s\""));
EXTERN char e_winfixbuf_cannot_go_to_buffer[]
- INIT(= N_("E1513: Cannot edit buffer. 'winfixbuf' is enabled"));
+ INIT(= N_("E1513: Cannot switch buffer. 'winfixbuf' is enabled"));
try
browse edit! other
call assert_equal(l:other, bufnr())
- catch /E338:/
+ catch /^Vim\%((\a\+)\)\=:E338:/
" Ignore E338, which occurs if console Vim is built with +browse.
" Console Vim without +browse will treat this as a regular :edit.
endtry
try
browse write other
- catch /E338:/
+ catch /^Vim\%((\a\+)\)\=:E338:/
" Ignore E338, which occurs if console Vim is built with +browse.
" Console Vim without +browse will treat this as a regular :write.
endtry
try
pyxdo test_winfixbuf_Test_pythonx_pyxdo_set_buffer()
- catch /Vim(pyxdo):vim.error: Vim:E1513: Cannot edit buffer. 'winfixbuf' is enabled/
+ catch /Vim\%((\a\+)\)\=:E1513:/
let l:caught = 1
endtry
try
pyxfile file.py
- catch /Vim(pyxfile):vim.error: Vim:E1513: Cannot edit buffer. 'winfixbuf' is enabled/
+ catch /Vim\%((\a\+)\)\=:E1513:/
let l:caught = 1
endtry
buffer = vim.vars["_previous_buffer"]
vim.current.buffer = vim.buffers[buffer]
EOF
- catch /Vim(pythonx):vim\.error: Vim:E1513: Cannot edit buffer. 'winfixbuf' is enabled/
+ catch /Vim\%((\a\+)\)\=:E1513:/
let l:caught = 1
endtry