ons 2004-01-14 klockan 17.50 skrev Tuomo Valkonen:
> On Wed, Jan 14, 2004 at 05:39:49PM +0100, Adam Chodorowski wrote:
> > Another feature wishitem. :-) It would be nice (and intuitive IMHO) if
> > you could select windows by their shortened name (ie., shortened with
> > add_shortenrule), eg. in query_attach. 
> 
> Three points against this:
> 
>  * The name is not necessarily unique.
>  * The shortened title is not a property of the window, but internal
>    to the frame (if there is one) containing it.
>  * If better i18n text support is wanted, string shortening and "drawable
>    strings" may have to be abstracted into the drawing engine so that e.g.
>    pango could be better utilised.

Points for this:

+ Autoappend <1>, <2> etc for non-unique titles (this already happens, 
  if I'm not mistaken. Atleast I've seen eg. "xterm<1>", "xterm<2>" etc)

+ More intuitive, since the mapping between what you see in the tab is
  the same as in the selection. This is mainly interesting for cases
  when the shortening rules are always active, not only when the
  original title is too long. Because in this case, you *never* see the
  original title in the tab...

+ Makes it possible to create shorten rules that saves you keystrokes
  by reducing the number of none-unique components in the title.
  Example with X-Chat:

     X-Chat [2.0.6]: nick @ server / #channel (modes)

  If I'm in several servers and channels, there will be windows with
  the same server. Then I have to (atleast) type: 
  
  X<tab>S<tab>C<tab>

  I can shorten the title to this (since the server isn't very
  interesting information):

  IRC: [EMAIL PROTECTED]

  Voil�! 2 less keystrokes. :-)

-- 
Adam Chodorowski <[EMAIL PROTECTED]>

Scotty: Captain, we din' can reference it!
Kirk:   Analysis, Mr. Spock?
Spock:  Captain, it doesn't appear in the symbol table.
Kirk:   Then it's of external origin?
Spock:  Affirmative.
Kirk:   Mr. Sulu, go to pass two.
Sulu:   Aye aye, sir, going to pass two.

Reply via email to