all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: [Gnus] Fetch extra categories?
Date: Thu, 21 Nov 2013 22:41:34 +0100	[thread overview]
Message-ID: <87hab5xwig.fsf@nl106-137-194.student.uu.se> (raw)
In-Reply-To: 87a9gxo7lt.fsf@002215fd0050.amnet.co.cr

ernobe <ernobe@yahoo.com> 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


  parent reply	other threads:[~2013-11-21 21:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-21 19:52 [Gnus] Fetch extra categories? ernobe
2013-11-21 20:06 ` Jambunathan K
2013-11-21 21:41 ` Emanuel Berg [this message]
2013-11-27 21:06   ` Usenet/mail compose (was: Re: [Gnus] Fetch extra categories?) Emanuel Berg

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=87hab5xwig.fsf@nl106-137-194.student.uu.se \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.