[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subject field in summary buffer modified

From: Adam Sjøgren
Subject: Re: Subject field in summary buffer modified
Date: Thu, 29 Jan 2015 22:15:58 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (gnu/linux)

Adam writes:

>> It could be...  er...  `gnus-simplify-subject-functions', perhaps?  Or
>> `gnus-simplify-ignored-prefixes'.

> Let me see... Well, they are both nil :-/

Here is an article that exhibits the problem in Gnus for me:

Hm. Let me just ngrep what happens when I read it, to see what comes
over the wire..

Oh. Encryption. Great.

Ok, let me telnet:

  $ telnet nntp
  Connected to
  Escape character is '^]'.
  200 InterNetNews NNRP server INN 2.5.1 ready (posting ok)
  211 107 1 107
  article 106
  220 106 <> article
  Subject: Mindi Abair: Wild Heart [4/6]
  xover 106-106
  224 Overview information for 106-106 follows
  106     Mindi Abair: Wild Heart [4/6]   unknown <>        Tue, 
27 Jan 2015 08:00:00 +0100 <>           
     999     2       Xref:
  205 Bye!
  Connection closed by foreign host.

This makes me think that it is Gnus doing this. Hm.

Can I find the right function to edebug? Ok, found it - by trial and error:


is the culprit. It removes "^[A-Z ]*?: " (!)

My elisp fu fails me now, this function:

  (defun gnus-group-get-list-identifiers (group)
    "Get list identifier regexp for GROUP."
    (or (gnus-parameter-list-identifier group)
        (if (consp gnus-list-identifiers)
            (mapconcat 'identity gnus-list-identifiers " *\\|")

returns "^[A-Z ]*?: " even though gnus-list-identifiers is nil?!?

Something is setting gnus-list-identifiers behind my back locally, somehow?!

Because if I run: (gnus-group-get-list-identifiers
"") directly, it
returns nil, as I expect.

I can't for the life of me figure out how that happens, when I edebug
the function and do C-h v on gnus-list-identifers, I'm told it is nil.

But edebugging I can see that consp returns t and the function returns
"^[A-Z ]*?: ".

If I change it to:

  (defun gnus-group-get-list-identifiers (group)
    "Get list identifier regexp for GROUP."

The summary looks as I expected it to do, nothing removed.

Ok, elisp experts - enlighten me!

  Best regards,


 "Har du computer, som starter op i DOS, så' det:             Adam Sjøgren
  *blah* *blah* Adios amigos!"                 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]