On 2009-01-01 18:30:56 +0100, Samuel Thibault wrote:
> Debian Bug Tracking System, le Thu 01 Jan 2009 17:12:03 +0000, a écrit :
> > As the file system considers them to be different, the shell
> > _must_ treat them as different, as well.
> 
> Sure. But a user would type the precombined form é, not e. And then
> depending on the user's configuration, completion may not provide any
> match and then the user gets upset. See

And when completing the filename, zsh should "fix" the accented
characters at the same time. So, I completely disagree with the
"must", as everything would work fine.

The fact that the file system (which regards a filename just as a
sequence of bytes) is poorly designed is not a valid reason for zsh
to follow this poor design. In particular, what the user types is
characters, not bytes. So, the shell has to do some interpretation
to make things work as the user expects (in particular because
completion is a user-oriented feature).

-- 
Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to