[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] enhancements to monotone auto-completion modules
From: |
Joel Reed |
Subject: |
Re: [Monotone-devel] enhancements to monotone auto-completion modules |
Date: |
Tue, 31 May 2005 20:59:12 -0400 |
User-agent: |
Mutt/1.5.5.1i |
On Mon, May 30, 2005 at 11:21:23PM -0400, Joel Reed wrote:
snip
> How to choose? The following output might help a bit more:
>
> 0f38758e62f8e42828f64bda2a6d6e8c0ebff053 - 2004-04-23 13:30:11
> 0f686b12985260ec9fa1d95034f3dbc0ed3299b7 - 2004-12-24 10:50:55
> 0fd1e57fda300f1794e0ff60b05ca7034e9db22a - 2004-11-18 16:13:15
> 0fdb15a6f90a61ec0ab5b0c99c3c2b3726cf6f6b - 2004-11-01 21:40:45
>
> or perhaps better still (addresses slightly munged):
>
> 0f38758e62f8e42828f64bda2a6d6e8c0ebff053 - 2004-04-23 13:30:11 address@hidden
> 0f686b12985260ec9fa1d95034f3dbc0ed3299b7 - 2004-12-24 10:50:55 address@hidden
> 0fd1e57fda300f1794e0ff60b05ca7034e9db22a - 2004-11-18 16:13:15 address@hidden
> 0fdb15a6f90a61ec0ab5b0c99c3c2b3726cf6f6b - 2004-11-01 21:40:45 address@hidden
>
snip
> Now, for one crazy idea. As you can see above the 40 character hashes
> don't leave a lot of room on screen for other completion info.
> What if monotone used base64 encoded ids instead of hexadecimal? Then we'd
> have
> something like:
>
> MGYzODc1OGU2MmY4ZTQyODI4ZjYK - 2004-04-23T13:30:11 address@hidden
> MGZmODc1OGVkZmY4ZTQ3ODI4ZjYK - 2004-12-24T10:50:55 address@hidden
> MGZlZTc1OGVkZmY4ZTQ4ODI4ZjYK - 2004-11-18T16:13:15 address@hidden
> MGZlZTc1OGVkZmY4ZTQzODI4ZjYK - 2004-11-01T21:40:45 address@hidden
>
> Perhaps in general shorter id's might be less intimidating? I'm not sure.
another idea i had today was to only show as much of the hex id as required
to disambiguate it, so the above example might look like this:
0f38... - 2004-04-23 13:30:11 address@hidden
0f68... - 2004-12-24 10:50:55 address@hidden
0fd1... - 2004-11-18 16:13:15 address@hidden
0fdb... - 2004-11-01 21:40:45 address@hidden
that's probably better than base64 ids, at least as far as bash/zsh completers
go.
jr