From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-dev+bounces-41159-garchives=archives.gentoo.org@lists.gentoo.org>) id 1OLiUW-0000yZ-IZ for garchives@archives.gentoo.org; Mon, 07 Jun 2010 20:00:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17184E092F; Mon, 7 Jun 2010 20:00:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5C817E0922 for <gentoo-dev@lists.gentoo.org>; Mon, 7 Jun 2010 19:59:28 +0000 (UTC) Received: from vrm378-02.vrm378.am.mot.com (unknown [144.190.95.61]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 94AA11B4015 for <gentoo-dev@lists.gentoo.org>; Mon, 7 Jun 2010 19:59:27 +0000 (UTC) Date: Mon, 7 Jun 2010 15:59:13 -0400 From: Jim Ramsay <lack@gentoo.org> To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] app-editors/vim and USE="vim-with-x" -> Rename to USE="X"? Message-ID: <20100607155913.23600005@vrm378-02.vrm378.am.mot.com> In-Reply-To: <20100607201031.5a8cc1b6@snowcone> References: <20100607144432.07930a25@vrm378-02.vrm378.am.mot.com> <20100607195322.0f336cf8@snowcone> <20100607190527.GA22330@laptop> <20100607201031.5a8cc1b6@snowcone> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; x86_64-pc-linux-gnu) Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/ZMwbeGiDqe6hOt.WlOP+Ww9"; protocol="application/pgp-signature" X-Archives-Salt: e85915f4-137f-4708-9cd2-b0d46eb91187 X-Archives-Hash: 3b01332a8adeb0c1697a58a6859379ac --Sig_/ZMwbeGiDqe6hOt.WlOP+Ww9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Ciaran McCreesh <ciaran.mccreesh@googlemail.com> wrote: > On Mon, 7 Jun 2010 23:05:27 +0400 > dev-random@mail.ru wrote: > > On Mon, Jun 07, 2010 at 07:53:22PM +0100, Ciaran McCreesh wrote: > > > It's there because if you break your X you probably want a usable > > > editor to help you fix it. > >=20 > > vim, compiled with "vim-with-x" works correctly when X is broken. It > > doesn't enable X11-based UI, like flag "X" suggests. It just enables > > optional connection to x-server to use its clipboard, and vim still > > works if that connection fails. >=20 > It does not, however, work if your X libraries are broken. I certainly agree with you that removing the linkage to a handful of X libraries makes vim more robust if those particular libraries fail. However even with USE=3D"-vim-with-x", there are a number of other libraries that, if broken, will still render vim useless, such as ncurses, perl, python, and ruby. I suspect if one really wants a fail-proof editor, one would either be building vim with USE=3D"minimal" which will ignore the 'vim-with-x' or 'X' USE flag (regardless of what we call it) and also ignore any perl/python/ruby libraries, or one would want something more trim, like busybox vi. Or even better yet, busybox vi with USE=3D"static". Of course changing the USE flag name to 'X' would still let users decide to *not* link their app-editors/vim against any X libraries via per-package USE flags. The main difference in changing the name from 'vim-with-x' to 'X' is that instead of enforcing a default behaviour of "Vim will not link against X unless explicitly told to do so", we will be enforcing a policy of "Vim will link against X when USE=3D'X'". I suppose this is a bit like a transition from an opt-in policy to an opt-out policy, with the caveat that by enabling USE=3DX globally, a user has already declared their intent: opt-in to linking against X in all packages where there is a choice to do so. --=20 Jim Ramsay Gentoo Developer (rox/fluxbox/gkrellm/vim) --Sig_/ZMwbeGiDqe6hOt.WlOP+Ww9 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkwNT5oACgkQelWXok6VKuiwSQCfYy2vuAnr+OQcqd+CxbiGABw2 B5gAoNdSEYfM5HXgMs8I+bCpDV55Ud3N =CPfp -----END PGP SIGNATURE----- --Sig_/ZMwbeGiDqe6hOt.WlOP+Ww9--