Lars Ingebrigtsen | 10 Feb 04:04 2016
Picon
Gravatar

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

Emanuel Berg <embe8573 <at> student.uu.se> writes:

>>> Result: "[ (](X-Spam-Flag \\.
>>> \"\\([^\"]*\\\\\"\\)*[^\"]*YES\\([^\"]*\\\\\"\\)*[^\"]*\")[
>>> )]"
>>> Result: re-search-forward
>>> Result: re-search-forward
>>> Result: 101 (#o145, #x65, ?e)
>>> Result: nil
>>
>> What's in the scoring buffer at this point? It looks
>> like it's this search that's failing...
>
> If you mean the *Score Trace*, then "No score rules
> apply to the current article (default score 0)."

No, in the buffer where the scoring takes place.  I think that's
possibly in the *Headers* buffer...

--

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

Lars Ingebrigtsen | 10 Feb 04:02 2016
Picon
Gravatar

Re: Fix continuation line causes empty email being sent

Pietro <pulsarpietro <at> posteo.net> writes:

> As far as I can tell my .gnus.el looks pretty common, I haven't done
> anything strange I guess, at least not on purpose.
>
> I am on another machine and I will be posting the .gnus.el file tomorrow
> UK time, I wonder if this might have something to do with the problem I
> am seeing:
>
> https://lists.gnu.org/archive/html/info-gnus-english/2007-11/msg00121.html

Are you putting your body text right after the headers without a line in
between?  

--

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

Lars Ingebrigtsen | 10 Feb 00:47 2016
Picon
Gravatar

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

Emanuel Berg <embe8573 <at> student.uu.se> writes:

> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>>> I use the interactive system and do not edit the
>>> file by hand (yet). So without Subject being in
>>> (setq gnus-extra-headers '(To Cc Keywords Gcc
>>> Newsgroups X-Spam-Flag Subject)
>>> nnmail-extra-headers gnus-extra-headers) it says it
>>> isn't there.
>>
>> I kinda doubt you can add one of the non-extra
>> headers to the extra list and have it work.
>
> ... ?
>
> How should it be done then?

To score on "Subject" you have to use subject scoring, not extra
scoring.  I think.

>> Could you try edebugging though gnus-score-string
>> and see why this doesn't work?
>
> Is there anything in particular I should look for?

[...]

>     Result: (([1 "Min fitta våt" "<embe8573 <at> student.uu.se>" "5 Feb 2016 21:24:06 +0700"
"<002d01d16022$0403d4be$66273a8e$ <at> student.uu.se>" "" 1143 41 "debian.uxu mail.ooa:1" ((To .
(Continue reading)

Julien Cubizolles | 9 Feb 18:17 2016
Picon

eww: diplay url of current buffer

Can it be done ? ATM, I have to add a bookmark to copy the url. Also, if
org-store-link could work in eww buffers, that would be very convenient.

Juien.

_______________________________________________
info-gnus-english mailing list
info-gnus-english <at> gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
Julien Cubizolles | 9 Feb 13:51 2016
Picon

Symbol's value as variable is void: message-valid-fqdn-regexp

An upgrade to Emacs 25.1.50.2 of 2016-02-09 broke gnus: calling (require
'gnus-mesg) fails with:

--8<---------------cut here---------------start------------->8---
Symbol's value as variable is void: message-valid-fqdn-regexp
--8<---------------cut here---------------end--------------->8---

This is with Ma Gnus v0.16.

Julien.

Pietro | 9 Feb 10:07 2016
Picon

Fix continuation line causes empty email being sent


Hi all,
I have recently met a strange, at least strange for me as a Gnus newbie, message
popping up in the minibuffer when sending an email, message says:

"Fix continuation lines? [y/n]"

Such message is shown for each body's line of text and answering yes for all of
them causes the email to be sent with without the body text I entered, in fact
an empty email is sent.

What does "Fix continuation lines" do and why does it get shown ?

Lars Ingebrigtsen | 9 Feb 00:39 2016
Picon
Gravatar

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

Emanuel Berg <embe8573 <at> student.uu.se> writes:

> I use the interactive system and do not edit the file
> by hand (yet). So without Subject being in
>
>     (setq gnus-extra-headers   '(To Cc Keywords Gcc Newsgroups X-Spam-Flag Subject)
>           nnmail-extra-headers gnus-extra-headers)
>
> it says it isn't there.

I kinda doubt you can add one of the non-extra headers to the extra list
and have it work.

> It is exactly "YES" unless there are whitespaces,
> newlines and such to consider. Anyway it is the same
> situation with a substring match:
>
>     (("extra"
>       ("Hej" -1000 nil s "Subject")
>       ("YES" -1000 nil s "X-Spam-Flag"))
>       ... )

Could you try edebugging though gnus-score-string and see why this
doesn't work?

--

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

(Continue reading)

Lars Ingebrigtsen | 8 Feb 05:48 2016
Picon
Gravatar

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

Emanuel Berg <embe8573 <at> student.uu.se> writes:

> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>> 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" ("larsi <at> gnus.org" nil nil s "To")))
>
> That works for me too but not so any header I try to
> add, e.g. Subject.

Well, Subject isn't one of the "extra" headers.  But it should work for
all the extra headers that you put in both those two variables
mentioned...

I saw that you had an "exact" match instead of a substring match, so
perhaps the X-Spam-Flag wasn't exactly "YES"?

--

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

Lars Ingebrigtsen | 8 Feb 05:46 2016
Picon
Gravatar

Re: Expirable mark preserved

Marcin Włodarczak <marcin <at> wlodarczak.org> writes:

> I see. But then the documentation of this variable is rather confusing,
> especially the part which says:
>
> If nil, the expirable marks will be unchanged except that the marks
> will be removed when copying or moving articles to a group that has
> not turned auto-expire on.

Sorry, I misread your message -- I thought you had the variable switched
on...

This is the code:

		(when (and expirable
			   gnus-mark-copied-or-moved-articles-as-expirable
			   (not (memq 'expire to-marks)))
		  ;; Mark this article as expirable.
		  (push 'expire to-marks)
		  (when (equal to-group gnus-newsgroup-name)
		    (push to-article gnus-newsgroup-expirable))
		  ;; Copy the expirable mark to other group.
		  (gnus-add-marked-articles
		   to-group 'expire (list to-article) info))

So it looks like it really shouldn't be copying over the expirable
marks...  Hm...

--

-- 
(domestic pets only, the antidote for overdose, milk.)
(Continue reading)

Lars Ingebrigtsen | 7 Feb 06:23 2016
Picon
Gravatar

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

Emanuel Berg <embe8573 <at> student.uu.se> 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"
  ("larsi <at> gnus.org" nil nil s "To")))

--

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

Lars Ingebrigtsen | 7 Feb 06:12 2016
Picon
Gravatar

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

Nomen Nescio <nobody <at> dizum.com> 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<----------------------------------------
>
> A message in there must be corrupting the gnus parser.  I cannot even
> delete the messages in the group to try to move forward, because I'm
> blocked from the summary buffer.  

I'm unable to reproduce this problem now, at least...

--

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

Gmane