Gnus development mailing list
 help / color / mirror / Atom feed
From: Miles Bader <miles@gnu.org>
Subject: code diff between trunk and 5.10
Date: Thu, 16 Feb 2006 14:07:33 -0500	[thread overview]
Message-ID: <61d5hnjf62.fsf@fencepost.gnu.org> (raw)

lisp/gnus-art.el has the following difference between the two branches,
inside `article-strip-banner'; the code is the same, except that in the
trunk, `article-really-strip-banner' is called from the "throw", whereas in
5.10 it's unconditionally called.  As the non-throw case presumably only
results in nil, the two methods may actually be equivalent in effect.

Is this difference intentional, or just an accident?

Thanks,

-Miles

<<<<<<< TREE
	  (let ((from (save-restriction
			(widen)
			(article-narrow-to-head)
			(mail-fetch-field "from"))))
	    (when (and from
		       (setq from
			     (cadr (funcall gnus-extract-address-components
					    from))))
	      (catch 'found
		(dolist (pair gnus-article-address-banner-alist)
		  (when (string-match (car pair) from)
		    (throw 'found
			   (article-really-strip-banner (cdr pair)))))))))))))
=======
	  (article-really-strip-banner
	   (let ((from (save-restriction
			 (widen)
			 (article-narrow-to-head)
			 (mail-fetch-field "from"))))
	     (when (and from
			(setq from
			      (cadr (funcall gnus-extract-address-components
					     from))))
	       (catch 'found
		 (dolist (pair gnus-article-address-banner-alist)
		   (when (string-match (car pair) from)
		     (throw 'found (cdr pair)))))))))))))
>>>>>>> MERGE-SOURCE


-- 
((lambda (x) (list x x)) (lambda (x) (list x x)))



             reply	other threads:[~2006-02-16 19:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-16 19:07 Miles Bader [this message]
2006-02-16 22:55 ` Katsumi Yamaoka
2006-02-17  0:08   ` Miles Bader
2006-02-17  0:17     ` Katsumi Yamaoka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61d5hnjf62.fsf@fencepost.gnu.org \
    --to=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).