Gnus development mailing list
 help / color / mirror / Atom feed
* 0.88 can't send queued mail
@ 1999-06-15 14:05 Norman Walsh
  1999-06-15 14:51 ` Shenghuo ZHU
  0 siblings, 1 reply; 5+ messages in thread
From: Norman Walsh @ 1999-06-15 14:05 UTC (permalink / raw)


I composed some mail offline, then went online (J j) and tried to
send the mail (J S). Bang!

With debug-on-error, I get:

Signaling: (wrong-type-argument stringp nil)
  string-match(".*" nil)
  gnus-configure-posting-styles()
  run-hooks(text-mode-hook message-mode-hook)
  message-mode()
  message-pop-to-buffer("*mail*")
  message-mail()
  gnus-draft-setup(1 "nndraft:queue")
  gnus-draft-send(1)
  gnus-group-send-drafts()
  call-interactively(gnus-group-send-drafts)

                                        Cheers,
                                          norm
-- 
Norman Walsh <ndw@nwalsh.com>      | It takes three hours for the sun
http://nwalsh.com/                 | to go from the East coast to the
                                   | West coast and six hours for a
                                   | plane to fly the same distance.
                                   | That means that the plane is twice
                                   | as fast as the sun.--Jim Coleman



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

* Re: 0.88 can't send queued mail
  1999-06-15 14:05 0.88 can't send queued mail Norman Walsh
@ 1999-06-15 14:51 ` Shenghuo ZHU
  1999-06-18 13:56   ` Norman Walsh
  0 siblings, 1 reply; 5+ messages in thread
From: Shenghuo ZHU @ 1999-06-15 14:51 UTC (permalink / raw)
  Cc: zsh

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

>>>>> "Norman" == Norman Walsh <ndw@nwalsh.com> writes:

Norman> I composed some mail offline, then went online (J j) and tried to
Norman> send the mail (J S). Bang!

Norman> With debug-on-error, I get:

Norman> Signaling: (wrong-type-argument stringp nil)
Norman>   string-match(".*" nil)
Norman>   gnus-configure-posting-styles()
Norman>   run-hooks(text-mode-hook message-mode-hook)
Norman>   message-mode()
Norman>   message-pop-to-buffer("*mail*")
Norman>   message-mail()
Norman>   gnus-draft-setup(1 "nndraft:queue")
Norman>   gnus-draft-send(1)
Norman>   gnus-group-send-drafts()
Norman>   call-interactively(gnus-group-send-drafts)

I hope this patch works. 

1999-06-15  Shenghuo ZHU  <zsh@cs.rochester.edu>

	* gnus-msg.el (gnus-configure-posting-styles): gnus-newsgroup-name is 
	nil. 


[-- Attachment #2: 88-zsh2.diff --]
[-- Type: application/octet-stream, Size: 329 bytes --]

--- gnus-msg.el	1999/06/15 14:28:48	1.1
+++ gnus-msg.el	1999/06/15 14:29:27
@@ -1104,7 +1104,7 @@
 	(when (cond
 	       ((stringp match)
 		;; Regexp string match on the group name.
-		(string-match match gnus-newsgroup-name))
+		(string-match match group))
 	       ((or (symbolp match)
 		    (gnus-functionp match))
 		(cond

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]


However, all queued mails will be sent with the default posting style,
since gnus does not know which group a queued mail is sent from.

-- 
Shenghuo ZHU

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

* Re: 0.88 can't send queued mail
  1999-06-15 14:51 ` Shenghuo ZHU
@ 1999-06-18 13:56   ` Norman Walsh
  1999-07-03  9:21     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Norman Walsh @ 1999-06-18 13:56 UTC (permalink / raw)


/ Shenghuo ZHU <zsh@cs.rochester.edu> was heard to say:
| >>>>> "Norman" == Norman Walsh <ndw@nwalsh.com> writes:
| Norman> I composed some mail offline, then went online (J j) and tried to
| Norman> send the mail (J S). Bang!
[...]
| 
| I hope this patch works. 

Works great, thanks!

| However, all queued mails will be sent with the default posting style,
| since gnus does not know which group a queued mail is sent from.

But I thought the posting styles were applied when the mail was composed.
At least, the headers and signature appear to be inserted before queuing.
What am I missing?

                                        Cheers,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | What boots up must come down.
http://nwalsh.com/                 | 



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

* Re: 0.88 can't send queued mail
  1999-06-18 13:56   ` Norman Walsh
@ 1999-07-03  9:21     ` Lars Magne Ingebrigtsen
  1999-07-03 13:12       ` Norman Walsh
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-07-03  9:21 UTC (permalink / raw)


Norman Walsh <ndw@nwalsh.com> writes:

> But I thought the posting styles were applied when the mail was composed.
> At least, the headers and signature appear to be inserted before queuing.
> What am I missing?

Uhm...  Are the posting styles applied twice; once when you compose
and once when you send the messages out?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Re: 0.88 can't send queued mail
  1999-07-03  9:21     ` Lars Magne Ingebrigtsen
@ 1999-07-03 13:12       ` Norman Walsh
  0 siblings, 0 replies; 5+ messages in thread
From: Norman Walsh @ 1999-07-03 13:12 UTC (permalink / raw)


/ Lars Magne Ingebrigtsen <larsi@gnus.org> was heard to say:
| Norman Walsh <ndw@nwalsh.com> writes:
| 
| > But I thought the posting styles were applied when the mail was composed.
| > At least, the headers and signature appear to be inserted before queuing.
| > What am I missing?
| 
| Uhm...  Are the posting styles applied twice; once when you compose
| and once when you send the messages out?

No, I'm not seeing any problems at all. I had asked about a bug
where J S didn't work. Someone sent me a patch but said it would
cause all outgoing mail to get the default posting style, and I
replied as above.  AFAICT, everything is working exactly the way
it's supposed to.

                                        Cheers,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | The answer is 42. Any other answer
http://nwalsh.com/                 | is simply rounding error.



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

end of thread, other threads:[~1999-07-03 13:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-15 14:05 0.88 can't send queued mail Norman Walsh
1999-06-15 14:51 ` Shenghuo ZHU
1999-06-18 13:56   ` Norman Walsh
1999-07-03  9:21     ` Lars Magne Ingebrigtsen
1999-07-03 13:12       ` Norman Walsh

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).