Gnus development mailing list
 help / color / mirror / Atom feed
* message-get-reply-headers problem?
@ 2001-10-22  8:03 Kai Großjohann
  2001-10-22 15:13 ` Paul Jarc
  0 siblings, 1 reply; 2+ messages in thread
From: Kai Großjohann @ 2001-10-22  8:03 UTC (permalink / raw)


I got an error message when hitting `F'; with the following patch the
error message is gone.

I'm unsure, however, whether this is really a fix or just a kludge?

--- message.el.~6.137.~	Sat Oct 20 20:15:22 2001
+++ message.el	Mon Oct 22 10:01:29 2001
@@ -4150,7 +4150,8 @@
 	(if cc  (setq recipients (concat recipients ", " cc)))
 	(if mct (setq recipients (concat recipients ", " mct)))))
       ;; Strip the leading ", ".
-      (setq recipients (substring recipients 2))
+      (unless (string= recipients "")
+	(setq recipients (substring recipients 2)))
       ;; Squeeze whitespace.
       (while (string-match "[ \t][ \t]+" recipients)
 	(setq recipients (replace-match " " t t recipients)))

Help?

kai
-- 
Lisp is kinda like tpircstsoP



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: message-get-reply-headers problem?
  2001-10-22  8:03 message-get-reply-headers problem? Kai Großjohann
@ 2001-10-22 15:13 ` Paul Jarc
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Jarc @ 2001-10-22 15:13 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) wrote:
> I got an error message when hitting `F'; with the following patch the
> error message is gone.
> 
> I'm unsure, however, whether this is really a fix or just a kludge?

Oops.  Yes, that's as good a fix as any.


paul



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-22 15:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-22  8:03 message-get-reply-headers problem? Kai Großjohann
2001-10-22 15:13 ` Paul Jarc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).