[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Single Page

Top Document: Gnus (Emacs Newsreader) FAQ
Previous Document: Q3.8 Evil nntp
Next Document: Q3.10 Gnus hangs when I try to send a post to my news server. What is wrong and what can I do to fix it?


Q3.9 Posting to foreign servers.



   Reading news off of multiple news servers is great, but posting to
   foreign servers fails. What do I do?
   
   Give a prefix to the posting command. That is, type C-u C-c C-c
   instead of C-c C-c.
   
   This will be changed in the near future so that postings will go to
   the server that the group is being read from when no prefix is given.
   
   Steinar Bang <sb@metis.no> suggests a workaround until then:
   
   Put the following in ~/.emacs or ~/.gnus:
   
;; Hack for posting on foreign servers
(add-hook 'message-setup-hook
          (lambda ()
            (local-set-key "\C-c\C-c" 'message-send-and-exit-with-prefix)))

(defun message-send-and-exit-with-prefix ()
  "Call the message-send-and-exit function with a positive number argument
to make it post the message on the foreign NNTP server of a group, instead
of the default NNTP server"
  (interactive)
  (message-send-and-exit 1))



Top Document: Gnus (Emacs Newsreader) FAQ
Previous Document: Q3.8 Evil nntp
Next Document: Q3.10 Gnus hangs when I try to send a post to my news server. What is wrong and what can I do to fix it?

Single Page


[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
Justin Sheehy <dworkin@ccs.neu.edu>

Last Update October 23 2009 @ 08:41 AM

Some parts © 2009 Advameg, Inc.