From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: [Gnus] Fetch extra categories? Date: Thu, 21 Nov 2013 22:41:34 +0100 Organization: Aioe.org NNTP Server Message-ID: <87hab5xwig.fsf@nl106-137-194.student.uu.se> References: <87a9gxo7lt.fsf@002215fd0050.amnet.co.cr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1385070313 1667 80.91.229.3 (21 Nov 2013 21:45:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Nov 2013 21:45:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 21 22:45:20 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vjc3r-00079y-Qd for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Nov 2013 22:45:19 +0100 Original-Received: from localhost ([::1]:35442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjc3r-0004yf-DH for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Nov 2013 16:45:19 -0500 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 106 Original-NNTP-Posting-Host: VVbyYd/iFZoeWNmD9i++cQ.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:RHfGv93UpAmlHk+upzsCEAiNjDU= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:202292 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94561 Archived-At: ernobe writes: > Once again, I posted to gnu.emacs.gnus and my post > failed to show up there. That's strange! > Anyways, Emacs 23 can be setup so that Gnus reads and > sends news to/from a spool directory with an external > program ( in my case slrnpull ). But it can also > handle mail and rss as if they were newsgroups. I > found that putting this in my init file prevented it > from doing the receiving of those automatically at > start-up: > > (setq gnus-secondary-select-methods > '((nnml "") > (nnrss ""))) > > But, it still asks me every time on startup if I want > to fetch extra categories. Is there a way for it not > to ask me this? (I don't even know what categories > this is referring to). Well, it seems a bit backward because I use gnus-secondary-select-methods to *add* stuff, not to remove it. I have no clue as how to solve it, anymore than how I do it. This is how I manage mails, mailing lists, and Usenet: ;; I'm on the w3m mailing list. Based on the subject, ;; the below code will filter ordinary mails from those ;; from the w3m list. (setq nnmail-split-methods '(("mail.w3m" "^Subject:.*emacs-w3m.*") ("mail.misc" "") )) ;; The below is about *sending* - it sets the signature ;; (same for everything), but when answering a *mail*, ;; it adds the Newsgroup: header if I were to change my ;; mind and make it a Usenet post instead (or "as ;; well"), *or* as is a much more common case, if I ;; send a Usenet post and when I write it I think, ;; "Man, this would be right up X's alley", but he is ;; not on Usenet, so then I need inserted a To: header ;; to make it a mail as well. ;; ;; While we are on this subject - perhaps that is a bad ;; idea in terms of spamming? Should I program it to, ;; when I send to Usenet, *first* send is as a mail, ;; remove the To: header, and then send it to Usenet ;; (i.e., without the header)? But I did this a lot ;; and no one ever complained. (setq gnus-posting-styles (let ((sig "Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu\nunderground experts united: http://user.it.uu.se/~embe8573")) `(("nnml:.*" (Newsgroups "") (signature ,sig) ) (message-this-is-news (To "") (Mail-Copies-To "never") (signature ,sig) )))) ;;; more send mail (require 'smtpmail) (setq smtpmail-smtp-server "smtp.uu.se") (setq smtpmail-local-domain "student.uu.se") (setq send-mail-function 'smtpmail-send-it) (setq message-send-mail-function 'smtpmail-send-it) (setq user-full-name "Emanuel Berg") ;;; no we get to *read* mails... (let ((username "embe8573")) (setq user-mail-address (format "%s@%s" username smtpmail-local-domain) ) (setq mail-sources `((pop :pop "pop.uu.se" :user ,username :password ,*mail-password*) ))) (require 'nnmbox) (setq gnus-secondary-select-methods '((nnml "")) mail-user-agent 'gnus-user-agent read-mail-command 'gnus) ;; this is to *save* sent mail/posts (as a Gnus group) (setq gnus-message-archive-group '("archived-news-and-mail") ) ;; OK, done with mails: Usenet (setq gnus-select-method '(nntp "Aioe.org")) ;; check out all my configuration for Gnus and the ;; Emacs message mode here: ;; http://user.it.uu.se/~embe8573/emacs.html -- Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu underground experts united: http://user.it.uu.se/~embe8573