From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78325 Path: news.gmane.org!not-for-mail From: Kan-Ru Chen Newsgroups: gmane.emacs.gnus.general Subject: [PATCH 1/2] nnir.el (nnir-read-server-parm): Use default value. Date: Sun, 3 Apr 2011 22:48:24 +0800 Message-ID: <1301842105-18495-1-git-send-email-kanru@kanru.info> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1301842356 14077 80.91.229.12 (3 Apr 2011 14:52:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Apr 2011 14:52:36 +0000 (UTC) Cc: Andrew Cohen , Kan-Ru Chen To: ding@gnus.org Original-X-From: ding-owner+M26631@lists.math.uh.edu Sun Apr 03 16:52:30 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6OfG-0003yD-9I for ding-account@gmane.org; Sun, 03 Apr 2011 16:52:30 +0200 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 1Q6Obv-0001es-UT; Sun, 03 Apr 2011 09:49:03 -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 1Q6Obu-0001ei-Dx for ding@lists.math.uh.edu; Sun, 03 Apr 2011 09:49:02 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q6Obp-0002Ee-2Z for ding@lists.math.uh.edu; Sun, 03 Apr 2011 09:49:02 -0500 Original-Received: from mail-iw0-f172.google.com ([209.85.214.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q6Obn-0002a6-Qo for ding@gnus.org; Sun, 03 Apr 2011 16:48:56 +0200 Original-Received: by iwn39 with SMTP id 39so7808777iwn.17 for ; Sun, 03 Apr 2011 07:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:date:message-id :x-mailer; bh=BG7NQ+MStyXytyWk19e0ZiFwZn5sxYIZS7n0RjOV/tU=; b=L853ZhSncrdr8m5r+IAOwO8sgluy6jqfBIUa+/Y2colLGDazOKYyHmiPwHH5wc1P/k HMCzHaFyCmSXAbACuSZynXNPdF6gbshPOOaEgE93jxXlFt4yhz0W7tZTuVwO0kLxHIK1 sX3DvbTE0d9X2w+R/m4+Z2QQf+nGjD7EhhV2s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer; b=HsfKDfLWiNkQhiEdz1CtpanffIn00M3HGqzM1EO+JL37OzwWCNKtsdzYQRYC1I6PDR IUVA7qsRQ3PGBYOOP3IcgpxZ145F6TndwdrTwW144kKFHSQbXJkwHBPE0341aGKkdAI/ o9LlqiVeW+Xo1/C35zsD1SI49omARjW4KPdP4= Original-Received: by 10.42.158.196 with SMTP id i4mr8459895icx.505.1301842129087; Sun, 03 Apr 2011 07:48:49 -0700 (PDT) Original-Received: from anar.kanru.info (61-228-157-181.dynamic.hinet.net [61.228.157.181]) by mx.google.com with ESMTPS id c1sm3023278ibe.32.2011.04.03.07.48.46 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Apr 2011 07:48:48 -0700 (PDT) Original-Received: from kanru by anar.kanru.info with local (Exim 4.75) (envelope-from ) id 1Q6Obb-0004ou-Me; Sun, 03 Apr 2011 22:48:43 +0800 X-Mailer: git-send-email 1.7.4.1 X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78325 Archived-At: Signed-off-by: Kan-Ru Chen --- lisp/ChangeLog | 4 ++++ lisp/nnir.el | 1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7fd853e..4a802c5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-04-03 Kan-Ru Chen + + * nnir.el (nnir-read-server-parm): Use default value. + 2011-04-02 Chong Yidong * nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command diff --git a/lisp/nnir.el b/lisp/nnir.el index eaaac3f..6f3cd9e 100644 --- a/lisp/nnir.el +++ b/lisp/nnir.el @@ -1518,6 +1518,7 @@ server is of form 'backend:name'." (let ((method (gnus-server-to-method server))) (cond ((and method (assq key (cddr method))) (nth 1 (assq key (cddr method)))) + ((boundp key) (symbol-value key)) (t nil)))) (defun nnir-possibly-change-server (server) -- 1.7.4.1