On Wed, Jan 14, 2004 at 07:47:37PM +0100, Adam Chodorowski wrote:
> + 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)

The numbers are appended to the original titles and the default shortening
rules try to preserve them. But someone might like rules that don't.

The default rules try to preserve all the important information in the
title: first remove application name (most useless part, if there's one),
then shorten document, replacing removed part with ellipsis, and finally 
remove the instance number. As the tab completion for region name queries
can complete _in the middle of the name_ if there are at least two 
characters in the string to be completed, simply typing characters from
the visible part of the document name should suffice.

> + More intuitive, since the mapping between what you see in the tab is
>   the same as in the selection. 

But what you see in the tab changes with the number of tabs and frame
size, so the shortened title isn't the same between queries if these
change. (Well-behaving apps don't change the title constantly, only
when the viewed "document" is changed.)

>   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

Adding support for rewriting the original title would be a better solution
here.

>        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>

#chan<Tab>

-- 
Tuomo

Reply via email to