From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81607 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: [PATCH 5/5] Enable registry-warping as a fallback if warping via the current backend fails. Date: Thu, 15 Mar 2012 14:23:13 -0400 Message-ID: <1331835793-70228-6-git-send-email-dave@boostpro.com> References: <1331835793-70228-1-git-send-email-dave@boostpro.com> NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1331835932 18854 80.91.229.3 (15 Mar 2012 18:25:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Mar 2012 18:25:32 +0000 (UTC) Cc: Dave Abrahams To: ding@gnus.org Original-X-From: ding-owner+M29888@lists.math.uh.edu Thu Mar 15 19:25:29 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S8FMX-0008Tp-SD for ding-account@gmane.org; Thu, 15 Mar 2012 19:25:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1S8FLW-0003fw-9k; Thu, 15 Mar 2012 13:24:18 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1S8FLQ-0003fO-RX for ding@lists.math.uh.edu; Thu, 15 Mar 2012 13:24:12 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1S8FLP-0001Td-Sn for ding@lists.math.uh.edu; Thu, 15 Mar 2012 13:24:12 -0500 Original-Received: from mail-qc0-f172.google.com ([209.85.216.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1S8FLO-0000iN-Bt for ding@gnus.org; Thu, 15 Mar 2012 19:24:10 +0100 Original-Received: by qcsq13 with SMTP id q13so93602qcs.17 for ; Thu, 15 Mar 2012 11:24:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=n3ZEq/Lo3c5lp3CBw9iv0bfl/zDRsmdBoqfDORzMs1M=; b=PUMqKBdoHPTEASzK5093UN7Sl4okWDsLyprOGRbXrVJukGOjUiWD+f9aAJmWMDRqH2 RRFkPK5uH+KYzufnDK8OBeoUCu9t54oXspee+/xNHwty+ee6uzRMDo+Yzz9uiNQtuWPI BnZWO93+Ibg8xG15GyFVQ+LgGlvskQ9gQ72GLJrIK1znt8Bp4Msn358MKjB28H6WBxSp fLAiGT85qlLoX4RtEkxDHRQWq2yNVC98Ved1916eM0o1z8Jp181u1QHHUfU0NslKeAI8 RepBE1QPPI0m5LkyGFlmzDAD/H3JqxJKLB/WG97FFqIh8SnkE1mRQuNH7HBQDSrqEGDb XDVQ== Original-Received: by 10.229.135.196 with SMTP id o4mr2570101qct.139.1331835844495; Thu, 15 Mar 2012 11:24:04 -0700 (PDT) Original-Received: from pluto.luannocracy.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com. [207.172.223.249]) by mx.google.com with ESMTPS id z6sm5378736qap.17.2012.03.15.11.24.03 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Mar 2012 11:24:03 -0700 (PDT) X-Mailer: git-send-email 1.7.9.2 In-Reply-To: <1331835793-70228-1-git-send-email-dave@boostpro.com> X-Gm-Message-State: ALoCoQnHo9oyGaj7nUc4GjdA9gC1gZvXu6rlq9fDhUYHWmqXXcOvX11c6tgpaD8rKLU4612ot+KO X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81607 Archived-At: --- lisp/gnus-int.el | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/gnus-int.el b/lisp/gnus-int.el index 4ae6e2a..d858c3a 100644 --- a/lisp/gnus-int.el +++ b/lisp/gnus-int.el @@ -632,9 +632,11 @@ real group. Does nothing on a real group." (interactive) (let ((gnus-command-method (gnus-find-method-for-group gnus-newsgroup-name))) - (when (gnus-check-backend-function - 'warp-to-article (car gnus-command-method)) - (funcall (gnus-get-function gnus-command-method 'warp-to-article))))) + (or + (when (gnus-check-backend-function + 'warp-to-article (car gnus-command-method)) + (funcall (gnus-get-function gnus-command-method 'warp-to-article))) + (gnus-try-warping-via-registry)))) (defun gnus-request-head (article group) "Request the head of ARTICLE in GROUP." -- 1.7.5.4