Bug#448586: No such file or directory misleading

2007-11-01 Thread jidanni
 I don't quite get why it would be a shock as you can still create
 the necessary directories before trying to save a second time...

Not e.g., if you don't have permissions to write where you intended.

You now are in the perilous state of have a lot of code typed and not
saved and waiting for you to figure out where you now would like to
instead save it, whereupon the phone rings, your ride arrives, and
before your return the janitor has unplugged the computer, etc.,
and you don't know the vi-recover procedure, etc.

All of which could have been avoided if we knew we didn't own the
land before we started building our house.



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



Bug#448586: No such file or directory misleading

2007-10-30 Thread jidanni
Package: general
Severity: wishlist

This message made by several programs is misleading:

# ed /etc/fonts/conf.d/61-traditional.conf
/etc/fonts/conf.d/61-traditional.conf: No such file or directory
q
# ls /etc/fonts/conf.d/61-traditional.conf
ls: /etc/fonts/conf.d/61-traditional.conf: No such file or directory

It should be just no such file as indeed there is such a directory:

# ls -d /etc/fonts/conf.d/
/etc/fonts/conf.d/

It must be some C library message. Please reassign this bug for me.



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



Bug#448586: No such file or directory misleading

2007-10-30 Thread Benjamin Gufler
Hi,

On 2007-10-30 09:36, [EMAIL PROTECTED] wrote:
 This message made by several programs is misleading:
 # ed /etc/fonts/conf.d/61-traditional.conf
 /etc/fonts/conf.d/61-traditional.conf: No such file or directory

I don't agree.

 # ls /etc/fonts/conf.d/61-traditional.conf
 ls: /etc/fonts/conf.d/61-traditional.conf: No such file or directory
 It should be just no such file as indeed there is such a directory:

There is a directory named /etc/fonts/conf.d/61-traditional.conf? I
don't think so, at least not on your system, according to the above.

Background: Since there is no 61-traditional.conf in
/etc/fonts/conf.d, who can tell whether that should be a file or a
directory (or a pipe, or a socket, or a device, or whatever else)? Thus
the general message.

Benjamin



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



Bug#448586: No such file or directory misleading

2007-10-30 Thread jidanni
I guess what bothers me is
 # ed /etc/fonts/conf.d/61-traditional.conf
 /etc/fonts/conf.d/61-traditional.conf: No such file or directory
makes me need to check do I need to create the directory? instead of
just proceeding to edit the file.

$ vi /zzz/qqq is worse. It only checks when it's time to write the
file!



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



Bug#448586: No such file or directory misleading

2007-10-30 Thread Luk Claes

[EMAIL PROTECTED] wrote:

I guess what bothers me is

# ed /etc/fonts/conf.d/61-traditional.conf
/etc/fonts/conf.d/61-traditional.conf: No such file or directory

makes me need to check do I need to create the directory? instead of
just proceeding to edit the file.

$ vi /zzz/qqq is worse. It only checks when it's time to write the
file!


You can still create the necessary directories before closing the editor 
if writing the file doesn't succeed...


Cheers

Luk



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



Bug#448586: No such file or directory misleading

2007-10-30 Thread jidanni
LC You can still create the necessary directories before closing the
LC editor if writing the file doesn't succeed...
Yes, but it is quite a shock to learn at that late stage.
Now #448593.



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



Bug#448586: No such file or directory misleading

2007-10-30 Thread Luk Claes

[EMAIL PROTECTED] wrote:

LC You can still create the necessary directories before closing the
LC editor if writing the file doesn't succeed...
Yes, but it is quite a shock to learn at that late stage.
Now #448593.


Before being sure you're going to save the file, it's not necessary to 
check if it can be saved IMHO. I don't quite get why it would be a shock 
as you can still create the necessary directories before trying to save 
a second time...


Cheers

Luk



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