Don McLane | 8 Jun 2006 06:13

wily in cygwin

I just started using Wily and had some questions/comments.  I'm running 
it in cygwin (which is probably the source of my problems).

Is it supposed to display "$PWD" in the tag?  Seems like that's an 
expression that should be evaluated somehow.

If you have a file named "new" (lowercase n) and you middle-click "New" 
then it opens the file "new".  What are the odds that a new user, trying 
wily for the first time, had a file named "new"?  Well it happened!  It 
makes for a very confused newbie.

Shouldn't I be able to right-click on "../" and open a window in the 
parent directory?

Anyway, thanks to the developers.  Wily promises to be a really 
productive environment.

Don

Tommy Pettersson | 8 Jun 2006 11:52
Picon
Picon
Picon
Favicon

Re: wily in cygwin

On Wed, Jun 07, 2006 at 09:13:24PM -0700, Don McLane wrote:
> Is it supposed to display "$PWD" in the tag?  Seems like that's an 
> expression that should be evaluated somehow.

It's the other way around actually. Paths can be long and easily
fill up the tag, so wily tries to shorten them. If some prefix
of the path is the value of any environment variable, such a
prefix is replaced with $<VARIABLENAME> in the tag, in the
shortest possible way.

I start wily from a wrapper script that, among other things,
sets some short variable names for my usual working dirs, _and_
unsets PWD, but the latter is much a matter of taste.

> If you have a file named "new" (lowercase n) and you middle-click "New" 
> then it opens the file "new".  What are the odds that a new user, trying 
> wily for the first time, had a file named "new"?  Well it happened!  It 
> makes for a very confused newbie.

I think the type of file system is involved in this. It's case
insensitive in some backward compatible way with 8.3 names,
isn't it?

Anyway, the reason for opening an existing 'New' is that New
creates a buffer with that file name, and if you later Put it
you would (perhaps accidently) overwrite the existing file
'New'. The same thing will of course happen if you change the
name and Put, an existing file with that name is overwritten,
but then it's "your own fault".

(Continue reading)

Ian Broster | 8 Jun 2006 12:13
Picon

Re: wily in cygwin


>> Shouldn't I be able to right-click on "../" and open a window in the
>> parent directory?
>
> Just clicked it and got a window with the parent directory. :-)
> I have no idea what's failing here.

This fails if the directory is an environment variable, $PWD for example.

ian

--

-- 
Ian Broster
Mobile: +44 (0) 7963 469 090


Gmane