From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87003 Path: news.gmane.org!not-for-mail From: Martin Jesper Low Madsen Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] Fix Mac OS search to not look for "nil" ports Date: Thu, 21 Apr 2016 13:04:38 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461236780 4417 80.91.229.3 (21 Apr 2016 11:06:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Apr 2016 11:06:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M35224@lists.math.uh.edu Thu Apr 21 13:06:10 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1atCQx-0007up-TL for ding-account@gmane.org; Thu, 21 Apr 2016 13:06:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.86_2) (envelope-from ) id 1atCPm-0002xP-Oq; Thu, 21 Apr 2016 06:04:54 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86_2) (envelope-from ) id 1atCPi-0002wq-Of for ding@lists.math.uh.edu; Thu, 21 Apr 2016 06:04:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_2) (envelope-from ) id 1atCPg-0007Tr-MF for ding@lists.math.uh.edu; Thu, 21 Apr 2016 06:04:50 -0500 Original-Received: from mail-lb0-f171.google.com ([209.85.217.171]) by quimby.gnus.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from ) id 1atCPf-0008Lw-8k for ding@gnus.org; Thu, 21 Apr 2016 13:04:47 +0200 Original-Received: by mail-lb0-f171.google.com with SMTP id u8so24947764lbk.0 for ; Thu, 21 Apr 2016 04:04:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martinjlowm-dk.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=6x0+tl/l79xxoHTSFbfxH3IJY6HRco4gQ0qRWQwN9Kw=; b=UjejB9KqFpMnJudSwx0SHBGald61Jcfct/eppW8eBGC1f7hsL270rb8B346xS3O7PF HGhAlxsdUbTgjjV3Vx990kvbtzbZa7liTwPNiDnBvP4G9NUMMl57tulmn+4HaDr3vENK gm2GYw0nCkmTB32yEYqgZi3FH4aRM6v/u2iI5+SEcSui2qodnqbjDBZLnGsxhpAqYNUR YscZGonamBwvw6PF2Vn4sKD8NuJrp6LYN7RmTMu+zU8LYjKzWfI/blhmqM7pWfPYazf/ NlXS6iUqkBTGHP85UngecP9BYfFOXPcJz2vFAK6/LeTZZ+alNk7KU5CE0QEGQcQPrhWy yc9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=6x0+tl/l79xxoHTSFbfxH3IJY6HRco4gQ0qRWQwN9Kw=; b=PU4dStWpTu5d4f102h4HMQE4YNKdxEvBSOBOXXOBEnO9rcQqN5P2wZs4ZPnPewuv7+ tQ/N6ZniDUccCOkG4QN7B4gQbD+R6SNvxP1BnfWWo4xH/4saH5MgZcIDPIk7EUW6+WZn cZJaVQkuZfjxbDPvA3DHYvq/8PzGoZdH+9Rzp6UojR2vh/cX8DG0gZ77F441qaYDkjEu bKBt7iElXpDt/AlbRz4LAimBoe3p0fo5hVElw1tkp4wjFCcDx8NBTmnFYZL0t3US/OFY /ywIeowT4LCN72Q8d43yD7wPaLkRSQiuFVV0ThUG9R4bvPcoUEBQwn4IiIdptSljAt/O 6Giw== X-Gm-Message-State: AOPr4FW8kGSz1D6XD1rdPz0YpsKx+9DzIuTML5HhJSImPsQfL/STLVKi9Fe+ueDykpVCqQ== X-Received: by 10.112.126.36 with SMTP id mv4mr6001015lbb.97.1461236681472; Thu, 21 Apr 2016 04:04:41 -0700 (PDT) Original-Received: from mactop ([130.225.93.166]) by smtp.gmail.com with ESMTPSA id um4sm455776lbb.1.2016.04.21.04.04.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Apr 2016 04:04:40 -0700 (PDT) X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87003 Archived-At: * lisp/auth-source.el (auth-source-macos-keychain-search): Don't turn a nil port/protocol into a string --- lisp/auth-source.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/auth-source.el b/lisp/auth-source.el index cfd21a5..4211fdf 100644 --- a/lisp/auth-source.el +++ b/lisp/auth-source.el @@ -1735,7 +1735,7 @@ entries for git.gnus.org: (items (catch 'match (dolist (host hosts) (dolist (port ports) - (let* ((port (format "%S" port)) + (let* ((port (and port (format "%S" port))) (items (apply #'auth-source-macos-keychain-search-items coll type -- 2.3.3