bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error message improvements


From: Dan Jacobson
Subject: error message improvements
Date: 01 Jun 2001 11:51:18 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Regarding such error messages:

echo 0298284|postofficechecksum 
/home/jidanni/bin/postofficechecksum: line 6: unexpected EOF while looking for 
matching `"'
/home/jidanni/bin/postofficechecksum: line 25: syntax error: unexpected end of 
file

1. it isn't clear enough that it's bash doing the complaining, and not
   one of the 13,000 other things I've got in there.  Perhaps prefix a
   "bash:".

2. With a minor adjustment, we could jump to the line of the error in
   emacs' compile mode:
/home/jidanni/bin/postofficechecksum:6: unexpected EOF while looking for 
matching `"'
/home/jidanni/bin/postofficechecksum:25: syntax error: unexpected end of file
Should there be an "--adhere to emacs' [less clear but usable inside
   emacs] error message standard" option... or perhaps picky me can
   write a filter for personal use. 

3. If you go the emacs way then you might as well go whole hog with
   e.g. 25:34 to move to character position 34 on line 25, as emacs can handle 
it.
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]