GNU bug report logs - #10808
gnus-summary-cancel-article does not check from-address of current group

Previous Next

Package: gnus;

Reported by: Peter Münster <pmlists <at> free.fr>

Date: Mon, 13 Feb 2012 23:22:01 UTC

Severity: normal

Tags: fixed

Found in version 5.130002

Fixed in version 24.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #30 received at 10808 <at> debbugs.gnu.org (full text, mbox):

From: Peter Münster <pmlists <at> free.fr>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 10808 <at> debbugs.gnu.org
Subject: Re: bug#10808: gnus-summary-cancel-article does not check
 from-address of current group
Date: Sat, 01 Feb 2014 12:08:35 +0100
On Fri, Jan 31 2014, Lars Ingebrigtsen wrote:

> Can you edebug through `gnus-summary-cancel-article' to see what
> `user-mail-address' ends up being?

Hi Lars,

It ends up being "pmrb <at> free.fr", my main address.

But it seems, that another function is interesting: `message-is-yours-p'

--8<---------------cut here---------------start------------->8---
	   ;; Email address in From field equals to our address
	   (and (setq from (message-fetch-field "from"))
		(string-equal
		 (downcase (car (mail-header-parse-address from)))
		 (downcase (car (mail-header-parse-address
				 (message-make-from))))))
--8<---------------cut here---------------end--------------->8---

`message-make-from' returns my main address, and not the address for the
group ("pmlists <at> free.fr"). That's why `message-is-yours-p' returns nil
in the end.


> It seems to work for me...

Perhaps you have set 'message-alternative-emails'? In my setup it's nil.

-- 
           Peter




This bug report was last modified 11 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.