Bug#743668: vim-gtk: guicursor modifications cause warning messages to be printed to terminal

brian m. carlson sandals at crustytoothpaste.net
Fri Apr 4 22:20:06 UTC 2014


Package: vim-gtk
Version: 2:7.4.225-1
Severity: minor

In my .vimrc, I have the following:

	let &guicursor = &guicursor . ",a:blinkon0"

This causes the following warning to be printed to the terminal as soon
as I press a key or move the window:

  (gvim:264919): GLib-CRITICAL **: Source ID 51 was not found when attempting to remove it

This, of course, messes up my prompt, which is very annoying.

I've had this setting in my .vimrc for years, and I believe only the
last update of the package has caused this issue to appear.

I've included a vimrc file which triggers this problem.  Note that I can
only reproduce it with that file as ~/.vimrc; using it with -u or -U
does not seem to trigger the problem.  Commenting out the offending
command avoids this warning.

-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.gtk
/usr/bin/vim is /usr/bin/vim.gtk
/usr/bin/gvim is /usr/bin/vim.gtk

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-rc7-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vim-gtk depends on:
ii  libacl1             2.2.52-1
ii  libc6               2.18-4
ii  libgdk-pixbuf2.0-0  2.30.6-1
ii  libglib2.0-0        2.40.0-2
ii  libgpm2             1.20.4-6.1
ii  libgtk2.0-0         2.24.22-1
ii  libice6             2:1.0.8-2
ii  liblua5.1-0         5.1.5-5
ii  libpango-1.0-0      1.36.3-1
ii  libperl5.18         5.18.2-2+b1
ii  libpython2.7        2.7.6-8
ii  libruby1.9.1        1.9.3.484-2
ii  libselinux1         2.2.2-1
ii  libsm6              2:1.2.1-2
ii  libtcl8.6           8.6.1-6
ii  libtinfo5           5.9+20140118-1
ii  libx11-6            2:1.6.2-1
ii  libxt6              1:1.1.4-1
ii  vim-common          2:7.4.225-1
ii  vim-gui-common      2:7.4.225-1
ii  vim-runtime         2:7.4.225-1

vim-gtk recommends no packages.

Versions of packages vim-gtk suggests:
pn  cscope            <none>
ii  gnome-icon-theme  3.12.0-1
ii  ttf-dejavu        2.34-1
ii  vim-doc           2:7.4.225-1

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
" Configuration file for vim

"" Set up options.
" First things first.
set nocp

" Spacing and indentation.
set ts=4
set sw=4
set sts=4
set noet
set ai

" Backups, saving, and statefulness.
set uc=0				" No swap file.
set nobk				" No backups.
set vi='20,\"50	" 20 marks and 50 lines.
set hi=50				" 50 items in command line history.

" Status line.
set ru					" Turn on ruler.
set ls=2				" Always show a status bar for powerline.

" Folding.
set fdm=marker

" Text handling.
set spc=				" Don't complain about uncapitalized words starting a sentence.
set flp=^[-*+]\\+\\s\\+	" Don't indent lines starting with a number and a dot.
set fo+=n				" Indent lists properly.
set tw=80
set bs=indent,eol,start

" Loading files.
set ml					" Modelines are nice.
set enc=utf-8		" Always use UTF-8.
set wim=longest,full
set su=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc

" Search.
set nohls

"" Display settings.
if has("gui_running")
	"let &guicursor = &guicursor . ",a:blinkon0"
	if has("gui_gtk")
	elseif has("gui_kde")
	elseif has("gui_x11")
	else
	endif
elseif &t_Co == 256
else
endif

" vim: set ts=2 sw=2 sts=2 noet:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20140404/3026f9c2/attachment.sig>


More information about the pkg-vim-maintainers mailing list