Subject: bug#10808: gnus-summary-cancel-article does not check from-address of current group

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 02 Feb 2014 14:55:09 -0800

Peter Münster <[email-masked]> writes:

> I don't know. For me it's quite natural, because of the first `let' in
> the function:
>   (let ((message-post-method
> 	 `(lambda (arg)
> 	    (gnus-post-method (eq ',symp 'a) ,gnus-newsgroup-name)))
> 	(user-mail-address user-mail-address))
> `user-mail-address' gets the value of `user-mail-address'.

The code looks like this:

  (let ((message-post-method
	 `(lambda (arg)
	    (gnus-post-method (eq ',symp 'a) ,gnus-newsgroup-name)))
	(user-mail-address user-mail-address))

[...]

		(setq user-mail-address
		      (car (mail-header-parse-address from)))))
	    (kill-buffer (current-buffer))))

The interesting bit is what `user-mail-address' is after the `setq'
there.

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