[sawfish] Better error message. Phrase "Sawfish error:" is prepended to error messages printed to standard err



commit a1b1bd2beb574554f4edf0632c36adb5a295f898
Author: Teika kazura <teika lavabit com>
Date:   Sun Jun 20 21:54:18 2010 +0900

    Better error message.
    Phrase "Sawfish error:" is prepended to error messages printed to
    standard error.

 lisp/sawfish/wm/ext/error-handler.jl |    2 ++
 man/news.texi                        |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/lisp/sawfish/wm/ext/error-handler.jl b/lisp/sawfish/wm/ext/error-handler.jl
index 27e30b5..e6f9cb5 100644
--- a/lisp/sawfish/wm/ext/error-handler.jl
+++ b/lisp/sawfish/wm/ext/error-handler.jl
@@ -65,10 +65,12 @@
 	((screen)
 	 (display-message text))
 	((standard-error)
+	 (write standard-error "Sawfish error:\n")
 	 (write standard-error text)
 	 (write standard-error #\newline))
 	((both)
 	 (display-message text)
+	 (write standard-error "Sawfish error:\n")
 	 (write standard-error text)
 	 (write standard-error #\newline)))))
 
diff --git a/man/news.texi b/man/news.texi
index 2ae0428..c1148c3 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -40,6 +40,10 @@ Faq items, on how to hide the mouse pointer, and on application execution  *
 Manuals (1) describe all options.
 
 @item @code{sawfish-config} is now minimal, moving most of the contents to @code{sawfish.cfg.shell} [Teika Kazura]
+
+ item Better error message [Teika kazura] *
+Phrase ``Sawfish error:'' is prepended to error messages printed to
+standard error.
 @end itemize
 @end itemize
 



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