Commit 5d4625a9 authored by David Byers's avatar David Byers
Browse files

Fixed bug 815 (incorrect error for long message)

Detailed changes:
> 	Fix bug 815:
> 	* commands2.el (lyskom-send-message): Print the correct error code
> 	on failure.
>
parent d5eeb433
2003-03-16 David Byers <david.byers@swipnet.se>
Fix bug 815:
* commands2.el (lyskom-send-message): Print the correct error code
on failure.
Fix bug 975:
* commands1.el (lyskom-write-text): New function.
(kom-write-text): Use it. Now letters and texts are the same.
......
......@@ -716,7 +716,11 @@ send. If DONTSHOW is non-nil, don't display the sent message."
'message-nope
(or lyskom-message-recipient
(lyskom-get-string 'everybody))
lyskom-message-string)))
lyskom-message-string
(lyskom-format 'error-code
(lyskom-get-error-text lyskom-errno)
lyskom-errno
lyskom-err-stat))))
(lyskom-insert-string 'interrupted)) ;+++ lyskom-errno
))
......
......@@ -725,7 +725,7 @@ Read all about it at http://www.lysator.liu.se/history/")
(message-all-info . "Send alarm\n")
(message-recipient-info . "Send message to %#1M\n")
(message-nope .
"Unable to send the message. Perhaps the recipient isn't logged on.
"Unable to send message. %#3s\
The message you were sending to %#1M was:
%#2t\n")
(only-last . "Last texts in %#1s: ")
......
......@@ -739,7 +739,7 @@ Ditt alarmmeddelande l
(message-all-info . "Snd alarmmeddelande\n")
(message-recipient-info . "Snd meddelande till %#1M\n")
(message-nope
. "Du kunde inte skicka meddelandet. Mottagaren var kanske inte inloggad.
. "Det gick inte. %#3s\
Meddelandet du frskte snda till %#1M var:
%#2t\n")
(only-last . "Endast lsa senaste i %#1s: ")
......@@ -4401,7 +4401,7 @@ i servern. Annars sparas det i din .emacs.")
(error-50 . "Oknt asynkront meddelande")
(error-51 . "Internt fel i servern")
(error-52 . "Funktionen avstngd i servern")
(error-53 . "Meddelandet kunde inte sndas")
(error-53 . "Mottagaren var kanske inte inloggad")
(error-54 . "Otillten typ p medlemskap")
(error--1 . "Du r inte medlem i ngot mottagarmte")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment