[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:
news.gmane.org gwene.dk.gaffa.anmeldelser.cd:106
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 news.gwene.org nntp
Trying 80.91.229.13...
Connected to news.gwene.org.
Escape character is '^]'.
200 news.gmane.org InterNetNews NNRP server INN 2.5.1 ready (posting ok)
group gwene.dk.gaffa.anmeldelser.cd
211 107 1 107 gwene.dk.gaffa.anmeldelser.cd
article 106
220 106 <x1-uNZ7JGyTNme0mVkrfXTsQk2zjXE@gwene.org> 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 <post@gwene.org> Tue,
27 Jan 2015 08:00:00 +0100 <x1-uNZ7JGyTNme0mVkrfXTsQk2zjXE@gwene.org>
999 2 Xref: news.gmane.org gwene.dk.gaffa.anmeldelser.cd:106
.
quit
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:
gnus-summary-remove-list-identifiers
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 " *\\|")
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
"nntp+news.gwene.org:gwene.dk.gaffa.anmeldelser.cd") 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."
nil)
The summary looks as I expected it to do, nothing removed.
Ok, elisp experts - enlighten me!
Best regards,
Adam
--
"Har du computer, som starter op i DOS, så' det: Adam Sjøgren
*blah* *blah* Adios amigos!" asjo@koldfront.dk