Gnus development mailing list
 help / color / mirror / Atom feed
From: "Edward J. Sabol" <sabol@alderaan.gsfc.nasa.gov>
Cc: ding@gnus.org
Subject: Re: drafts group/a pain in the butt
Date: Thu, 12 Mar 1998 14:11:20 -0500	[thread overview]
Message-ID: <199803121911.OAA20778@alderaan.gsfc.nasa.gov> (raw)
In-Reply-To: <m3ogzbyeo3.fsf@org.com> (message from Harry Putnam on 12 Mar 1998 09:58:20 -0800)

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


      reply	other threads:[~1998-03-12 19:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-12 17:58 Harry Putnam
1998-03-12 19:11 ` Edward J. Sabol [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199803121911.OAA20778@alderaan.gsfc.nasa.gov \
    --to=sabol@alderaan.gsfc.nasa.gov \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).