From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 2C5B86DE0F3B for ; Thu, 28 Mar 2019 04:23:43 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.018 X-Spam-Level: X-Spam-Status: No, score=-0.018 tagged_above=-999 required=5 tests=[AWL=-0.017, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WK2FJE-rEug4 for ; Thu, 28 Mar 2019 04:23:42 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 0B3066DE0F18 for ; Thu, 28 Mar 2019 04:23:41 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1h9T8F-00045f-Mc; Thu, 28 Mar 2019 07:23:39 -0400 Received: (nullmailer pid 21429 invoked by uid 1000); Thu, 28 Mar 2019 11:23:37 -0000 From: David Bremner To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH v1 1/1] emacs: Easy access to URLs mentioned in the current message In-Reply-To: <20181108104508.84911-1-dme@dme.org> References: <20181108104508.84911-1-dme@dme.org> Date: Thu, 28 Mar 2019 08:23:37 -0300 Message-ID: <874l7nz1hi.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2019 11:23:43 -0000 David Edmondson writes: > +(defun notmuch-show--browse-urls () > + "Offer to browse any URLs in the current message." > + (interactive) > + (let ((urls (notmuch-show--gather-urls))) > + (if urls > + (browse-url (completing-read "Browse URL: " (cdr urls) nil nil (car urls))) > + (message "No URLs found.")))) > + > (provide 'notmuch-show) It's a minor point, but should this really have -- to signal a private function? It's bound to key which sortof makes it defacto public, no? d