Gentoo Archives: gentoo-user

From: forgottenwizard <phrexianreaper@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Am I wrong?..
Date: Fri, 02 Oct 2009 09:38:18
Message-Id: e974e559684b285f2c892fc48245194d@smtp.hushmail.com
In Reply to: Re: [gentoo-user] Am I wrong?.. by Neil Bothwick
1 On Fri, Oct 02, 2009 at 10:29:08AM +0100, Neil Bothwick wrote:
2 > On Fri, 2 Oct 2009 03:52:24 -0500, forgottenwizard wrote:
3 >
4 > > > Nano is not non-existent by default.
5 >
6 > > It isn't always on the users sytem. Providing a non-existent default
7 > > seems quite broken to me.
8 >
9 > That's true of every editor, so you have to choose the one that is most
10 > likely to be there, the one that is installed for the stage tarballs and
11 > is there unless the user has taken specific steps to remove it.
12
13 Or you could try to find a suitable default intelligently instead of
14 blindly compiling in a default that may or may not exist. Worse still is
15 blindly doing so without telling the user.
16
17 > > > A more sensible approach would be for the ebuild to check which ebuild
18 > > > satisfies the virtual/editor dependency and set that. If the OP really
19 > > > cared about this "problem" he'd investigate providing such solutions
20 > > > instead of ranting about how Gentoo does not use his editor of choice
21 > > > by default.
22 >
23 > > The problem there would be if multiple editors provide virtual/editor
24 > > (such as on my system, which has both vim and ed installed). The ebuild
25 > > trying to automagically select what should be the default editor is a
26 > > bad idea, if not just horrible.
27 >
28 > You can't have it both ways. You want the program to default to an editor
29 > that is guaranteed to be there, at least at installation time, yet the
30 > only one that satisfies that is virtual/editor. It's only a default, it
31 > only has to be available the first time you run the program, whether
32 > it's your favourite editor or not. If you only want to use default
33 > configurations without making any changes to suit yourself, I suggest you
34 > may be better served by a distro that is a little browner.
35
36 And if you, say, have two editors installed that satisfy virtual/editor?

Replies

Subject Author
Re: [gentoo-user] Am I wrong?.. Volker Armin Hemmann <volkerarmin@××××××××××.com>
Re: [gentoo-user] Am I wrong?.. Neil Bothwick <neil@××××××××××.uk>