[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] bash_completion: improvement, fixes and tests [was: Re: subversion and programmable completion]

From: Sebastien Cevey <seb_at_cine7.net>
Date: 2003-07-26 18:49:42 CEST

On Sat, Jul 26, 2003 at 01:30:19PM +0100, Julian Foad wrote:

> 1. An enhancement. On completing "st", it is annoying to stop at
> "st", "stat" and "status"; I think it should expand to "status"
> immediately.


Since completion is here to complete commands, I think it makes sense
to have them, well, complete the commands rather than complete the
short forms of those commands. It is already short enough so that you
don't need completion if you want to use them, IMHO.

> This applies to most subcommands, but there are one or two
> exceptions: "co" should not expand immediately to "commit" as it
> means something else.

Well if you <TAB> after "co", you don't really expect it to complete
to "checkout", do you ? I mean why press <TAB> if you want to checkout
and you have already the command for it ?

I think that if the bash_completion is changed to complete only "long"
commands, it should complete intuitively to the command that matches
the user-input.

Oh did you mean that, eg "svn ps" <TAB> should be completed to "svn
propset" ? I'm no sure this is really useful, as I said in my first

Sebastien Cevey <seb@cine7.net>
Cine7.Net  -  Milcis.Net  -  ProgramPlay.Org
Jabber: theefer@albus.homelinux.net - ICQ: 48895760
" I saw my whole life flash before my eyes! ...It was boring! "
(Babs) [ Chicken Run ]
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 26 18:50:56 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.