Bug#977429: vim-runtime: vim:spec.vim occurs Error let keyword is missing...
Control: reopen -1 On Wed, Dec 16, 2020 at 10:47:38AM +0900, Yukiharu YABUKI wrote: > Hi, maintainer > > This is the code which has issue > in /usr/share/vim/vim82/ftplugin/spec.vim > > line 113. You can check the source. > > > 103 if (chgline == -1) > 104 let option = confirm("Can't find %changelog. > Create one? ","&End of file\n&Here\n&Cancel",3) > 105 if (option == 1) > 106 call append(line("$"),"") > 107 call append(line("$"),"%changelog") > 108 execute line("$") > 109 let chgline = line(".") > 110 elseif (option == 2) > 111 call append(line("."),"%changelog") > 112 normal j > 113 chgline = line(".") > 114 endif > 115 endif Thank you for providing the details. This is not fixed upstream yet. I'll forward the information along. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
Bug#977429: vim-runtime: vim:spec.vim occurs Error let keyword is missing...
Hi, maintainer This is the code which has issue in /usr/share/vim/vim82/ftplugin/spec.vim line 113. You can check the source. 103 if (chgline == -1) 104 let option = confirm("Can't find %changelog. Create one? ","&End of file\n&Here\n&Cancel",3) 105 if (option == 1) 106 call append(line("$"),"") 107 call append(line("$"),"%changelog") 108 execute line("$") 109 let chgline = line(".") 110 elseif (option == 2) 111 call append(line("."),"%changelog") 112 normal j 113 chgline = line(".") 114 endif 115 endif On Tue, 15 Dec 2020 08:09:13 -0500 James McCoy wrote: > On Tue, Dec 15, 2020 at 09:41:18AM +0900, YABUKI Yukiharu wrote: > > I ran accross a bug when I use spec.vim. > > > > I set g:spec_chglog_format in ~/.vimrc and > > ``` > > au BufNewFile,BufRead *.changelog setf spec > > ``` > > > > Then push '\c', spec.vim gives me Error. > > It's hard to triage when the exact error information isn't provided. - ++++++++++++++ Yukiharu Yabuki (矢吹幸治) I use Debian GNU/Linux mail: yab...@netfort.gr.jp クレクレタコラは好き / クレクレタコだはイヤ ++++++++++++++
Bug#977429: vim-runtime: vim:spec.vim occurs Error let keyword is missing...
On Tue, 15 Dec 2020 08:09:13 -0500 James McCoy wrote: > On Tue, Dec 15, 2020 at 09:41:18AM +0900, YABUKI Yukiharu wrote: > > I ran accross a bug when I use spec.vim. > > > > I set g:spec_chglog_format in ~/.vimrc and > > ``` > > au BufNewFile,BufRead *.changelog setf spec > > ``` > > > > Then push '\c', spec.vim gives me Error. > > It's hard to triage when the exact error information isn't provided. ok I'll make other sid machine, I'll give you more details. > > > I investigate this. > > I found let keyword is missing. And I checked upstream repository. > > Upstream's spec.vim seemed to me that this issue has already fixed. > > > > I am confusing that vim-runtime is not follow upstream (I checked > > vim/vim.git in github) > > It is following upstream. It seems you have locally changed the file: Yes, I fixed the problem locally. -- ++++++++++++++ Yukiharu Yabuki (矢吹幸治) I use Debian GNU/Linux mail: yab...@netfort.gr.jp クレクレタコラは好き / クレクレタコだはイヤ ++++++++++++++
Bug#977429: vim-runtime: vim:spec.vim occurs Error let keyword is missing...
Package: vim-runtime Version: 2:8.2.1913-1 Severity: normal Dear Maintainer, I ran accross a bug when I use spec.vim. I set g:spec_chglog_format in ~/.vimrc and ``` au BufNewFile,BufRead *.changelog setf spec ``` Then push '\c', spec.vim gives me Error. I investigate this. I found let keyword is missing. And I checked upstream repository. Upstream's spec.vim seemed to me that this issue has already fixed. I am confusing that vim-runtime is not follow upstream (I checked vim/vim.git in github) -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.9.0-4-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled vim-runtime depends on no packages. Versions of packages vim-runtime recommends: ii vim 2:8.2.1913-1+b2 ii vim-gtk3 [vim] 2:8.2.1913-1+b2 ii vim-nox [vim] 2:8.2.1913-1+b2 vim-runtime suggests no packages. -- no debconf information -- debsums errors found: debsums: changed file /usr/share/vim/vim82/ftplugin/spec.vim (from vim-runtime package)