From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 19 13:53:36 2020 Received: (at submit) by debbugs.gnu.org; 19 Aug 2020 17:53:36 +0000 Received: from localhost ([127.0.0.1]:40941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8SHG-0006sA-Ar for submit@debbugs.gnu.org; Wed, 19 Aug 2020 13:53:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:37756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8Mca-0000W6-RS for submit@debbugs.gnu.org; Wed, 19 Aug 2020 07:51:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8McZ-0000G5-Sh for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2020 07:51:12 -0400 Received: from out0.migadu.com ([2001:41d0:2:267::]:37710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8McX-0004HF-0D for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2020 07:51:11 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=distinctly.pink; s=key1; t=1597837864; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=bjyHUFVH72QjlOjRWKXALP3I9n2A0406sDurK3gFHwA=; b=HCQ0m+qvGKPJQvKsQ4UWsEvegb/x1PReIr2Papm8Z7QU9MwdtdhbZuC3fpkPMa0XFo14PD k1I4EQixtNj2ogqh9t2dpRHNQP9PEKQ38y5UPNC+0LJDDlXOjNi5j0i4uLyK+M92cFOXOF Iems8hw/Wm+5Iyeaznk4oFF1BGtuMVIt3Qin/aEGEzocwmXxv0F3YrD5fUJXrDjRwIJvFl 5cQEDG6mRkyW712QO2+T/q2Klb7UZBsOv1R2j9rNndHjRL4VgKTFRUsBDSKN+v48N4tOmg tenjgMSO23dxOtxgTzaHpKdaRjuSG5D1cg2y6Y9L3n0pUDZMpJySZGXCBt3OyA== From: noah swainland To: bug-gnu-emacs@gnu.org Subject: [PATCH] * lisp/net/goto-addr.el: Add global minor mode for goto-addr-mode. Date: Wed, 19 Aug 2020 12:49:22 +0100 Message-Id: <20200819114922.54402-1-noah@distinctly.pink> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.00 Received-SPF: pass client-ip=2001:41d0:2:267::; envelope-from=noah@distinctly.pink; helo=out0.migadu.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/19 07:51:04 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MIME_QP_LONG_LINE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 19 Aug 2020 13:53:31 -0400 Cc: noah swainland X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Found that I couldn't enable goto-addr either globally or through the customize interface, so added it. I found it unclear which version I should add in the key-value lines, if this is wrong please let me know and I'll send another patch. --- lisp/net/goto-addr.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lisp/net/goto-addr.el b/lisp/net/goto-addr.el index 9436f45aa3..95f8a43144 100644 --- a/lisp/net/goto-addr.el +++ b/lisp/net/goto-addr.el @@ -280,6 +280,16 @@ Also fontifies the buffer appropriately (see `goto-address= -fontify-p' and (widen) (goto-address-unfontify (point-min) (point-max))))) =20 +(defun turn-on-goto-addr-mode () + (when (not goto-address-mode) + (goto-address-mode 1))) + +;;;###autoload +(define-globalized-minor-mode global-goto-address-mode + goto-address-mode turn-on-goto-addr-mode + :group 'goto-address + :version "27.1") + ;;;###autoload (define-minor-mode goto-address-prog-mode "Like `goto-address-mode', but only for comments and strings." --=20 2.28.0 -- Email domain proudly hosted at https://migadu.com From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 20 09:20:07 2020 Received: (at 42937) by debbugs.gnu.org; 20 Aug 2020 13:20:07 +0000 Received: from localhost ([127.0.0.1]:41941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8kUB-0006W7-1F for submit@debbugs.gnu.org; Thu, 20 Aug 2020 09:20:07 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8kU7-0006VF-MY for 42937@debbugs.gnu.org; Thu, 20 Aug 2020 09:20:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lFf4P1bEGY7AvMRHA0I2gsXOdUE637abW6rB0YLMv24=; b=ke6jaQZ6M3fMGHPAsAk7qZPN8+ 9Y8wHaz1EYOVZ5WmsDrF2SSzTtTsyE9xkYmxzmvpMO4uxUX8H4SxTbUqYpLWhEmQi+Isrg/CSh4+f SFD4M9W8TBKDjT349tpN8Cpa7R4meF8DGOS8kwmd54/uInxHLfLIJ2aHYWrTBT9EJA74=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8kTv-0003lG-2V; Thu, 20 Aug 2020 15:19:57 +0200 From: Lars Ingebrigtsen To: noah swainland Subject: Re: bug#42937: [PATCH] * lisp/net/goto-addr.el: Add global minor mode for goto-addr-mode. References: <20200819114922.54402-1-noah@distinctly.pink> X-Now-Playing: Various's _SHAPE Platform 2019_: "Lutto Lento - Angels" Date: Thu, 20 Aug 2020 15:19:48 +0200 In-Reply-To: <20200819114922.54402-1-noah@distinctly.pink> (noah swainland's message of "Wed, 19 Aug 2020 12:49:22 +0100") Message-ID: <87o8n5wj2j.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: noah swainland writes: > Found that I couldn't enable goto-addr either globally or through the > customize interface, so added it. Makes sense to me. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42937 Cc: 42937@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) noah swainland writes: > Found that I couldn't enable goto-addr either globally or through the > customize interface, so added it. Makes sense to me. > I found it unclear which version I should add in the key-value lines, > if this is wrong please let me know and I'll send another patch. Thanks; I altered it to "28.1" and applied it to the trunk. The patch was small enough that it could be applied without doing a copyright assignment, but further Emacs improvements would need an assignment. If you think that's likely, would you be willing to sign a copyright assignment to the FSF? If so, here's the way to get started: Please email the following information to assign@gnu.org, and we will send you the assignment form for your past and future changes. Please use your full legal name (in ASCII characters) as the subject line of the message. ---------------------------------------------------------------------- REQUEST: SEND FORM FOR PAST AND FUTURE CHANGES [What is the name of the program or package you're contributing to?] Emacs [Did you copy any files or text written by someone else in these changes? Even if that material is free software, we need to know about it.] [Do you have an employer who might have a basis to claim to own your changes? Do you attend a school which might make such a claim?] [For the copyright registration, what country are you a citizen of?] [What year were you born?] [Please write your email address here.] [Please write your postal address here.] [Which files have you changed so far, and which new files have you written so far?] -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 20 09:20:11 2020 Received: (at control) by debbugs.gnu.org; 20 Aug 2020 13:20:11 +0000 Received: from localhost ([127.0.0.1]:41946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8kUF-0006WV-9v for submit@debbugs.gnu.org; Thu, 20 Aug 2020 09:20:11 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8kUD-0006Vq-6L for control@debbugs.gnu.org; Thu, 20 Aug 2020 09:20:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/y/lm7CJTm1o46X6EX72iAaCtpbDjWs+r9h3fm7dXLg=; b=XYUQ6ANFVKjYljDTx+28X2uYVC rrM1m+OVPn4xCS10Nh1EWAck+Yput8PIS8KCAAzTVhsVKnxZD0GqILJAzMD7iaSUd4ICFEREH5DZU 36dazJ/7PjxAqHp954CyhIKf1h07Dyj9OeNoNIVnuxSdAESUT3NFwB7tVPBuAxMaLBYQ=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8kU5-0003lS-Gl for control@debbugs.gnu.org; Thu, 20 Aug 2020 15:20:03 +0200 Date: Thu, 20 Aug 2020 15:20:00 +0200 Message-Id: <87mu2pwj27.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #42937 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 42937 fixed close 42937 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 42937 fixed close 42937 28.1 quit From unknown Tue Aug 19 12:50:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 18 Sep 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator