Re: auto-kill mails with "X-Spam-Flag: YES"

2016-02-06 Thread Lars Ingebrigtsen
Emanuel Berg writes: > ("YES" -1000 nil e "X-Spam-Flag")) > (mark-and-expunge -999) > ) I don't have X-Spam-Flag in my extra headers, but I have To. If I score on that, it works as expected: (("extra" ("la...@gnus.org" nil nil s "To"))) -- (domestic pets only, the antidote for overdose

Re: newsgroup gwene.com.fatwallet.hotdeals breaks gnus

2016-02-06 Thread Lars Ingebrigtsen
Nomen Nescio writes: > Retrieving newsgroup: nntp+news.gmane.org:gwene.com.fatwallet.hotdeals... > Fetching headers for nntp+news.gmane.org:gwene.com.fatwallet.hotdeals... > byte-code: Invalid read syntax: ". in wrong context" > Mark saved where search started > ===8<-

Re: Expirable mark preserved

2016-02-06 Thread Lars Ingebrigtsen
Marcin Włodarczak writes: > In another attempt to move over to Gnus, I have been trying to figure > out a thing I have stubled over previously. So I have auto-expiry turn > on in my inbox and when I open an email, it is correctly marked as > expirable. However, when I then move a message to anoth

Re: auto-kill mails with "X-Spam-Flag: YES"

2016-02-06 Thread Emanuel Berg
Lars Ingebrigtsen writes: >>> I would also recommend using scoring instead >>> of killing. >> >> OK, I did this: >> (setq gnus-extra-headers '(To Cc Keywords Gcc Newsgroups X-Spam-Flag)) > > Did you also tweak nnmail-extra-headers? You are right I didn't do that, and there is an interesting reas

Re: Intermittent problem with gnus and Gmail POP3

2016-02-06 Thread Lars Ingebrigtsen
Bill Harris writes: > , > | Mail source (pop :server pop.gmail.com :port 995 :user > | @gmail.com :password :stream ssl) error (POP SSL > | connexion failed). Continue? (yes or no) > ` > > If I don't get that message, it works just fine. > > When I'm sending a message, a

Re: auto-kill mails with "X-Spam-Flag: YES"

2016-02-06 Thread Lars Ingebrigtsen
Emanuel Berg writes: > Lars Ingebrigtsen writes: > >> I would also recommend using scoring instead >> of killing. > > OK, I did this: > > (setq gnus-extra-headers '(To Cc Keywords Gcc Newsgroups X-Spam-Flag)) Did you also tweak nnmail-extra-headers? -- (domestic pets only, the antidote fo

Re: auto-kill mails with "X-Spam-Flag: YES"

2016-02-06 Thread Emanuel Berg
Lars Ingebrigtsen writes: > I would also recommend using scoring instead > of killing. OK, I did this: (setq gnus-extra-headers '(To Cc Keywords Gcc Newsgroups X-Spam-Flag)) And in ~/News/nnml:mail.misc.SCORE (("extra" ("YES" -1000 nil e "X-Spam-Flag"))) But still with `V t' it

Re: gnus hangs when refreshing Gmail

2016-02-06 Thread Lars Ingebrigtsen
David Mann writes: > I find that when pressing 'g' in the Group buffer, gnus will hang in the > midst of fetching from imap.gmail.com, usually fetching about 90K of > data and then freezing. I can press C-g and then press 'g' again and it > is able to complete fetching the mail. After a while (

Re: nntp-prepare-post-hook in ~/.gnus

2016-02-06 Thread Lars Ingebrigtsen
"Andrzej A. Filip" writes: > How to add hook to nntp-prepare-post-hook in ~/.gnus? > Simple minded attempt below has no effect: > > (add-hook 'nntp-prepare-post-hook 'my-nntp-rewrite) > > * package emacs24 in Debian/testing > * gnus is started via gnus-unplugged It's a server variable, so yo

Re: imap split-fancy greedy match?

2016-02-06 Thread Lars Ingebrigtsen
Emanuel Evans writes: > Hi! I'm trying to use fancy splitting with nnimap like so: > > (nnimap-split-fancy > (| (to "\\([-_[:alnum:]]+\\)@noreply\\.github\\.com" "github.\\1") > ;; etc. > )) > > The problem: it seems to not match the whole "To" field, so (for > instance) "database_clea..

Re: gibberish

2016-02-06 Thread Lars Ingebrigtsen
ZWu writes: > newbie to Gnus. Encounter gibberish for non-English characters: > > 1. When press ENTER into a group, 'minibuffer' will remind to input the > number of articles to display, but minibuffer show group name as > gibberish: This should now be fixed in emacs-25. -- (domestic pets only

Re: auto-kill mails with "X-Spam-Flag: YES"

2016-02-06 Thread Lars Ingebrigtsen
Emanuel Berg writes: > How do I automatically kill mails that are > > X-Spam-Flag: YES > > ? > > I tried > > (gnus-kill "X-Spam-Flag" "YES" '(gnus-summary-mark-as-read nil "X") t) > > in my KILL file but it won't evaluate. I would guess that that header isn't included in the ones that ar

Re: how to save ~/.authinfo.gpg?

2016-02-06 Thread Lars Ingebrigtsen
ZWu writes: > I am saving ~/.authinfo.gpg (Gnus imap password info), Emacs ask > for 'recipients': > > > > From, the picture, press either `m' or `u', minibuffer reminds: "no > key on this line". > > What the hell does this mean? If you had a list of recipients, then they would have been display

Re: mail back to UTF-8 before save to HD

2016-02-06 Thread Emanuel Berg
Emanuel Berg writes: >>> How can I then view the mail/post with Gnus (i.e., >>> the shortcuts etc. intact) but see the post as if >>> I would use cat(1) in the shell? >> >> How about typing "| cat RET"? > > Wonderful! > > I wrote this - > > (defun gnus-article-cat-message () (interactive) > (gnus

Re: mail back to UTF-8 before save to HD

2016-02-06 Thread Emanuel Berg
a...@koldfront.dk (Adam Sjøgren) writes: >> How can I then view the mail/post with Gnus (i.e., >> the shortcuts etc. intact) but see the post as if >> I would use cat(1) in the shell? > > How about typing "| cat RET"? Wonderful! I wrote this - (defun gnus-article-cat-message () (interactive)

Re: mail back to UTF-8 before save to HD

2016-02-06 Thread Adam Sjøgren
Emanuel writes: > How can I then view the mail/post with Gnus (i.e., the > shortcuts etc. intact) but see the post as if I would > use cat(1) in the shell? How about typing "| cat RET"? Best regards, Adam -- "Ok, Jack, time for your lobotomy!! Hand me a bigAdam Sjøgren s

Re: mail back to UTF-8 before save to HD

2016-02-06 Thread Emanuel Berg
a...@koldfront.dk (Adam Sjøgren) writes: > So you expect raw mode not to show you raw bytes, > but utf-8 decoded text? OK, let's rephrase... As you know there are some washing performed to make the mails/posts look good. Rarely, but still, washing doesn't work and instead it messes up some detai

Re: mail back to UTF-8 before save to HD

2016-02-06 Thread Adam Sjøgren
Emanuel writes: > In the *bodies* of the archived mails (which are files in UTF-8) the > Swedish chars are now shown, but after `C-u g' in Gnus article mode it > is the same old - So you expect raw mode not to show you raw bytes, but utf-8 decoded text? Best regards, Adam -- "The choi

Re: mail back to UTF-8 before save to HD

2016-02-06 Thread Emanuel Berg
a...@koldfront.dk (Adam Sjøgren) writes: >> Then the only issue left is why the UTF-8 don't >> show up in the raw article mode. > > They won't, because the standards (RFCs) do not > allow 8-bit characters in headers, as I just wrote > above. "Raw" headers must be encoded, in the way > specified in

Re: mail back to UTF-8 before save to HD

2016-02-06 Thread Emanuel Berg
Teemu Likonen writes: >> Only the Subject is now >> =?utf-8?B?w6XDpMO2IMOFw4TDlg==? > > And that's how it should be. Headers must be "Q" or > "B" coded (quoted printable or base64, > respectively). > > It is actually possible to make headers unencoded > with variable gnus-group-posting-charset-al

Re: mail back to UTF-8 before save to HD

2016-02-06 Thread Adam Sjøgren
Emanuel writes: > a...@koldfront.dk (Adam Sjøgren) writes: >>> Only the Subject is now =?utf-8?B?w6XDpMO2IMOFw4TDlg==? >> 8-bit is not allowed in headers; rfc2047 specifies >> how to encode non-ascii values in headers - the >> result is what you see. > Then the only issue left is why the UTF-8