Gnus development mailing list
 help / color / mirror / Atom feed
* drafts group/a pain in the butt
@ 1998-03-12 17:58 Harry Putnam
  1998-03-12 19:11 ` Edward J. Sabol
  0 siblings, 1 reply; 2+ messages in thread
From: Harry Putnam @ 1998-03-12 17:58 UTC (permalink / raw)



I haven't noticed any mention of a work around for the problem arising
when trying to send a posting from draft group to a foreign server.
The C-u C-c C-c doesn't work there.
I have probably been doing the most awkward and tedious procedure of
'killing'  and going back to the group, do another 'F' 'yank' and then 
C-u C-c C-c.


-- 

Harry Putnam  reader@newsguy.com


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

* Re: drafts group/a pain in the butt
  1998-03-12 17:58 drafts group/a pain in the butt Harry Putnam
@ 1998-03-12 19:11 ` Edward J. Sabol
  0 siblings, 0 replies; 2+ messages in thread
From: Edward J. Sabol @ 1998-03-12 19:11 UTC (permalink / raw)
  Cc: ding

Excerpts from [emacs.ding]: (12-Mar-98) drafts group/a pain in the butt by Harry Putnam
> I haven't noticed any mention of a work around for the problem arising
> when trying to send a posting from draft group to a foreign server.
> The C-u C-c C-c doesn't work there.
> I have probably been doing the most awkward and tedious procedure of
> 'killing'  and going back to the group, do another 'F' 'yank' and then 
> C-u C-c C-c.

I haven't tried this myself, so I don't know if it'll work or not. This is
just an educated guess, but it seems to me that you could make
gnus-post-method a variable local to the buffer in question and then set it
to the server you want the post to go to.

(defun my-set-gnus-post-method (nntpserver)
  "Makes gnus-post-method a variable local to the current buffer and then
sets it to the NNTP server the user specifies."
  (interactive "sPost article to which NNTP server?: ")
  (make-local-variable 'gnus-post-method)
  (setq gnus-post-method '(nntp "dummy"))
  (setcdr gnus-post-method nntpserver))

Even if this does work, I think a better solution should be implemented into
Gnus properly. The user just shouldn't have to do this. Here's what I suggest
instead: Gnus could insert a header (say `X-Gnus-Foreign-Server' or something
like that) into a message when it is saved into the draft group. It should
only do this when the article is being posted to a group that belongs to a
foreign server. Then, in the draft group, the function assigned to the `C-c
C-c' keybinding should be modified to do the following additional things: It
should (a) remove this header from any article that has it before posting and
(b) post to the server specified in the `X-Gnus-Foreign-Server' header when
the user does a `C-u C-c C-c'. How about it, Lars?

Later,
Ed


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

end of thread, other threads:[~1998-03-12 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-12 17:58 drafts group/a pain in the butt Harry Putnam
1998-03-12 19:11 ` Edward J. Sabol

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