Your message dated Tue, 1 Nov 2016 19:32:53 -0400
with message-id <[email protected]>
and subject line Re: Bug#842833: vim-gtk3: Default vim does not allow pasting 
with mouse as root
has caused the Debian Bug report #842833,
regarding vim-gtk3: Default vim does not allow pasting with mouse as root
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
842833: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842833
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim-gtk3
Version: 2:8.0.0022-1
Severity: important

As user (with hightly customized configuration files) the following
works; as root (where nothing has been tweeked) it does not work by
default; however, if I use the tip from reportbug, i.e.
vim -u NONE -U NONE -N
it works.

1) Switch to a vt (Ctrl-Alt-F1)
2) log in as root
3) start gpm if necessary
4) mark something with the left mouse button (double click)
5) vim /tmp/foo
6) Press i
7) press middle mouse button

Expected: The text mark in 4) is inserted
Actual: Nothing, if I press ESC some old text is inserted (from some
previous session).

If I change 5) to 
5b) vim -u NONE -U NONE -N /tmp/foo

then it works

I've never experienced this before with vim for the past ~ 15 years
and I never customize the configuration for root.


-- Package-specific info:



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

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.5samd.10-grsec (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vim-gtk3 depends on:
ii  libacl1              2.2.52-3
ii  libc6                2.24-5
ii  libcairo2            1.14.6-1+b1
ii  libgdk-pixbuf2.0-0   2.36.0-1
ii  libglib2.0-0         2.50.1-1
ii  libgpm2              1.20.4-6.2
ii  libgtk-3-0           3.22.2-1
ii  libice6              2:1.0.9-1+b1
ii  liblua5.2-0          5.2.4-1.1+b1
ii  libpango-1.0-0       1.40.3-2
ii  libpangocairo-1.0-0  1.40.3-2
ii  libperl5.24          5.24.1~rc3-3
ii  libpython3.5         3.5.2-6+b1
ii  libruby2.3           2.3.1-5+b1
ii  libselinux1          2.5-3
ii  libsm6               2:1.2.2-1+b1
ii  libtcl8.6            8.6.6+dfsg-1
ii  libtinfo5            6.0+20160917-1
ii  libx11-6             2:1.6.3-1
ii  libxt6               1:1.1.5-1
ii  vim-common           2:8.0.0022-1
ii  vim-gui-common       2:8.0.0022-1
ii  vim-runtime          2:8.0.0022-1

vim-gtk3 recommends no packages.

Versions of packages vim-gtk3 suggests:
pn  cscope            <none>
ii  fonts-dejavu      2.37-1
pn  gnome-icon-theme  <none>
ii  vim-doc           2:8.0.0022-1

-- no debconf information

-- 
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On Tue, Nov 01, 2016 at 04:51:48PM +0100, Helge Kreutzmann wrote:
> As user (with hightly customized configuration files) the following
> works; as root (where nothing has been tweeked) it does not work by
> default; however, if I use the tip from reportbug, i.e.
> vim -u NONE -U NONE -N
> it works.

As mentioned in the NEWS, Vim now loads a defaults.vim file if no user
vimrc is detected.  This file enables some typical settings that people
find useful.

> 1) Switch to a vt (Ctrl-Alt-F1)
> 2) log in as root
> 3) start gpm if necessary
> 4) mark something with the left mouse button (double click)

Typically (although, I'm not sure if it works with gpm), one holds shift
to override the application getting control of the mouse.

Please see ":help defaults.vim" for more information, including how to
disable loading the file in the system vimrc.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

--- End Message ---

Reply via email to