Bug#316541: the swap marning may raise the other window

Stefano Zacchiroli zack@debian.org
Sat, 2 Jul 2005 10:22:45 +0200


--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Bram, please find below a feature request from a debian vim user.

Thanks in advance,
Cheers.

On Fri, Jul 01, 2005 at 06:29:51PM +0200, Eduard Bloch wrote:
> Package: vim-gtk
> Version: 1:6.3-078+1
> Severity: wishlist
> Tags: upstream
>=20
> Hello,
>=20
> maybe I am overlooking an important feature, but then please tell me
> where.
>=20
> What I did never like about vim (and especially GUI versions) is that
> stupid "the swapfile exists, ...". It is missing an important feature:
> since the file is most often opened in a hidden/minimized gvim on the
> same host, the other instance may be notified and then raise itself
> (using the WMFAGS).  IMHO this should be feasible since the current
> versions provide some client/server functionality.
>=20
> I imagine a config options which sets the "conflict resolution" mode for
> detected swap-files, having following modes (let's call it confres):
>=20
> confres=3D0: like the current method
> confres=3D1 (imo the better default...): in addition to the swapfile check
> and its owner, the owner process is queried for live signs and whether
> it's willing to raise the window. Then the "ATTENTION" dialog window
> gets a new button (which is selected by default) called "Notify the
> other editor" or "Raise the other editor" or maybe just "Notify editor"
> or "Raise editor".
> confres=3D2: like 0, "edit anyway" selected by default
> confres=3D3: like 0, "recover" selected by default
>=20
> for 1,2,3 maybe an additional mode to do that action immediately, not
> waiting for user to press space/enter.
>=20
> Regards,
> Eduard.
>=20
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers unstable
>   APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, '=
experimental')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.12
> Locale: LANG=3Dde_DE.UTF-8, LC_CTYPE=3Dde_DE.UTF-8 (charmap=3DUTF-8)
>=20
> Versions of packages vim-gtk depends on:
> ii  libatk1.0-0              1.10.1-2        The ATK accessibility toolkit
> ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared librar=
ies an
> ii  libglib2.0-0             2.6.5-1         The GLib library of C routin=
es
> ii  libgpmg1                 1.19.6-20       General Purpose Mouse - shar=
ed lib
> ii  libgtk2.0-0              2.6.8-1         The GTK+ graphical user inte=
rface=20
> ii  libice6                  4.3.0.dfsg.1-14 Inter-Client Exchange library
> ii  libncurses5              5.4-8           Shared libraries for termina=
l hand
> ii  libpango1.0-0            1.8.1-1         Layout and rendering of inte=
rnatio
> hi  libsm6                   4.3.0.dfsg.1-14 X Window System Session Mana=
gement
> ii  libx11-6                 4.3.0.dfsg.1-14 X Window System protocol cli=
ent li
> hi  libxt6                   4.3.0.dfsg.1-14 X Toolkit Intrinsics
> ii  vim                      1:6.3-078+1     Vi IMproved - enhanced vi ed=
itor
> ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) c=
onfigu
>=20
> vim-gtk recommends no packages.
>=20
> -- no debconf information
>=20

--=20
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-

--C7zPtVaVf+AK4Oqc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCxk7V1cqbBPLEI7wRAslRAJwOvD6eqWB8z1SeXvLGnL4PxDNazgCeMxox
tzHRvWIe+76IlVQjqkTTkdo=
=5mlT
-----END PGP SIGNATURE-----

--C7zPtVaVf+AK4Oqc--