[vim/vim] After deleting the quickfix buffer with ':bdelete' and reopening it, it has the buffer name 'No Name' and cclose doesn't work (#4736)

7 views
Skip to first unread message

Simon Rydell

unread,
Jul 26, 2019, 10:03:11 AM7/26/19
to vim/vim, Subscribed

Describe the bug
The quickfix list buffer name is not restored properly after deleting its buffer with :bdelete. After this :cclose doesn't work either.

To Reproduce

  1. Run vim -u NONE
  2. Type :copen
  3. Type :buffers to see that the second buffer name is "Quickfix List"
  4. Type :bdelete
  5. Type :copen
  6. Type :buffers to see that the second buffer name is now "No Name"
  7. Type :cclose to see that the new buffer does not close

Expected behavior
The quickfix list does restore its name after being recreated.

Environment (please complete the following information):

  • Vim version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 18 2019 23:51:40)
macOS version
Included patches: 1-950
Compiled by tra...@Traviss-Mac.local
Huge version with MacVim GUI.  Features included (+) or not (-):
+acl               -farsi             +mouse_sgr         -tag_any_white
+arabic            +file_in_path      -mouse_sysmouse    -tcl
+autocmd           +find_in_path      +mouse_urxvt       +termguicolors
+autochdir         +float             +mouse_xterm       +terminal
-autoservername    +folding           +multi_byte        +terminfo
+balloon_eval      -footer            +multi_lang        +termresponse
+balloon_eval_term +fork()            -mzscheme          +textobjects
+browse            +fullscreen        +netbeans_intg     +textprop
++builtin_terms    -gettext           +num64             +timers
+byte_offset       -hangul_input      +odbeditor         +title
+channel           +iconv             +packages          +toolbar
+cindent           +insert_expand     +path_extra        +transparency
+clientserver      +job               +perl/dyn          +user_commands
+clipboard         +jumplist          +persistent_undo   +vartabs
+cmdline_compl     +keymap            +postscript        +vertsplit
+cmdline_hist      +lambda            +printer           +virtualedit
+cmdline_info      +langmap           +profile           +visual
+comments          +libcall           +python/dyn        +visualextra
+conceal           +linebreak         +python3/dyn       +viminfo
+cryptv            +lispindent        +quickfix          +vreplace
+cscope            +listcmds          +reltime           +wildignore
+cursorbind        +localmap          +rightleft         +wildmenu
+cursorshape       +lua/dyn           +ruby/dyn          +windows
+dialog_con_gui    +menu              +scrollbind        +writebackup
+diff              +mksession         +signs             -X11
+digraphs          +modify_fname      +smartindent       -xfontset
+dnd               +mouse             +startuptime       +xim
-ebcdic            +mouseshape        +statusline        -xpm
+emacs_tags        +mouse_dec         -sun_workshop      -xsmp
+eval              -mouse_gpm         +syntax            -xterm_clipboard
+ex_extra          -mouse_jsbterm     +tag_binary        -xterm_save
+extra_search      +mouse_netterm     +tag_old_static    
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe  -DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
Linking: clang   -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib  -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon       -lm  -lncurses -liconv -framework AppKit   -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE 
  • OS: macOS 10.14.5
  • Terminal: iTerm2


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub

Yegappan Lakshmanan

unread,
Jul 26, 2019, 10:15:26 AM7/26/19
to vim_dev, reply+ACY5DGB5EDVMO6CNJL...@reply.github.com, vim/vim, Subscribed
Hi,

This problem has already been fixed by patch 8.1.0988. Can you try using
a later version of Vim?

- Yegappan

vim-dev ML

unread,
Jul 26, 2019, 10:15:47 AM7/26/19
to vim/vim, vim-dev ML, Your activity
Hi,

This problem has already been fixed by patch 8.1.0988. Can you try using
a later version of Vim?

- Yegappan

On Fri, Jul 26, 2019 at 7:03 AM Simon Rydell <vim-dev...@256bit.org> wrote:
>

Simon Rydell

unread,
Jul 26, 2019, 10:42:22 AM7/26/19
to vim/vim, vim-dev ML, Comment

Thanks for the fast reply! Upgrading vim solved the problem. Thanks again!


You are receiving this because you commented.

Simon Rydell

unread,
Jul 26, 2019, 10:42:24 AM7/26/19
to vim/vim, vim-dev ML, Comment

Closed #4736.


You are receiving this because you commented.

Reply all
Reply to author
Forward
0 new messages