From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EM7nAjFOHGAEbQAA0tVLHw (envelope-from ) for ; Thu, 04 Feb 2021 19:42:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gIAQOjBOHGB5FQAAbx9fmQ (envelope-from ) for ; Thu, 04 Feb 2021 19:42:40 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7C02A940251 for ; Thu, 4 Feb 2021 19:42:40 +0000 (UTC) Received: from localhost ([::1]:58190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7kWV-0005M8-8f for larch@yhetil.org; Thu, 04 Feb 2021 14:42:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7k46-00072W-TP for guix-devel@gnu.org; Thu, 04 Feb 2021 14:13:18 -0500 Received: from imta-36.everyone.net ([216.200.145.36]:54770 helo=imta-38.everyone.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7k44-0003Vo-GM for guix-devel@gnu.org; Thu, 04 Feb 2021 14:13:18 -0500 Received: from pps.filterd (m0004960.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 114J7mo8020493; Thu, 4 Feb 2021 11:13:09 -0800 X-Eon-Originating-Account: XZ9iNOaHm9kijN2S-m8FIIVxSydBiPfpuGk115Zvxyo X-Eon-Dm: m0117124.ppops.net Received: by m0117124.mta.everyone.net (EON-AUTHRELAY2 - 53b92cd1) id m0117124.601839f7.55c41; Thu, 4 Feb 2021 11:13:06 -0800 X-Eon-Sig: AQMHrIJgHEdC1eKgpwIAAAAC,ad0af4a1ec00f8dec18a819dc4b5f354 X-Eip: Lxa6xbpvwUCMBGF64BWipY5-UabFog1FjZn2-AHrv1U Date: Thu, 4 Feb 2021 20:12:57 +0100 From: Bengt Richter To: Chris Marusich Subject: Re: Emacs and URLs in Git commit messages Message-ID: <20210204191257.GA17807@LionPure> References: <87o8h0mdmt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87o8h0mdmt.fsf@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.737 definitions=2021-02-04_10:2021-02-04, 2021-02-04 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 phishscore=0 mlxlogscore=999 lowpriorityscore=0 spamscore=0 bulkscore=0 mlxscore=0 impostorscore=0 priorityscore=1501 suspectscore=0 clxscore=1034 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102040115 Received-SPF: pass client-ip=216.200.145.36; envelope-from=bokr@oz.net; helo=imta-38.everyone.net X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.36 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 7C02A940251 X-Spam-Score: -0.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2wMNtgWxO5ca Hi Chris, On +2021-02-04 00:38:18 -0800, Chris Marusich wrote: > Hi, > > Many Guix commits look like this: > > commit f9978346e73359ac1d8b88c9ed874edc7225582b > Author: Ludovic Courtès > Date: Fri Dec 18 18:10:04 2020 +0100 > > avahi: Remove poll timeout when possible. > > Fixes . > > * guix/avahi.scm (avahi-browse-service-thread): Change timeout default value > to false when no "stop-loop?" procedure is passed. Adapt "iterate-simple-poll" > call accordingly. > > Signed-off-by: Mathieu Othacehe > > Regarding the URL, do people just type it all out, including the opening > and closing brackets (<>)? Or is there an Emacs command that does it > for you? I've briefly looked on the Internet, but this is the kind of > thing that seems difficult to search for. > I am not sure I understand your context or goal in searching ;/ I.e., what did you briefly look for on the internet? Did you search for an instance of "" hoping to find discussion of it elsehere than at the URL itself? What were you referring to with the "this" in "...this is the kind of thing that seems difficult to search for." ? If you were looking for alternate site discussion of bug#45314, duckduckgo seems to respond better without the '#' and narrowed by a last search term specifying the year, like duckduckgo "bug 45314" 2020 (don't leave out the quotes, and don't put the year inside them) NB: there are lots of bug trackers out there, so you will probably want to Ctl-f to ask your browser to walk through all the 45314's just by hitting Enter after that (firefox example). Not so many hits for 2021 yet, so I can show the result: (2 irrelevant hits :) --8<---------------cut here---------------start------------->8--- DuckDuckGo [...] FreeNAS - Bug #45314 [Search domain redmine.ixsystems.com/issues/45314.pdf] https://redmine.ixsystems.com/issues/45314.pdf FreeNAS - Bug #45314 Add the ability to set the password on first login if user left password blank during installation 09/07/2018 07:54 AM - Bonnie Follweiler Possible IPad/1.7 bug - Unity Forum [Search domain forum.unity.com/threads/possible-ipad-1-7-bug.45314/] https://forum.unity.com/threads/possible-ipad-1-7-bug.45314/ Unity ID. A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community. No more results found for "bug 45314" 2021. [...] --8<---------------cut here---------------end--------------->8--- If your context is in emacs editing a git commit, and you just want an easy command to insert a line like Fixes . ... I'm sure you can handle that yourself if you want to, hence my confusion about what you were up to ;) But maybe you are lazy like me, and wanted to see what was available. For me, that brings up the question of what form of solution would be most helpful to the most people if I offered one. E.g., I could 1. point you to the others' elisp solutions, 2. offer a bash script that formats the line based on clipboard-captured number (e.g., using xclip or wl-paste) which you can easily invoke from emacs by "Esc 1 Esc ! bash-script" 3. offer a guile script to do the same 4. offer a bash script that will compile and link a C program (source and commands all in script) that will do the same, assuming you have a usual x86_64 tool chain at hand, or 5. write it in some other interesting language (rash? :) I am not sure having the solution be dependent on emacs' (or any limiting entity's) internals is the most generally useful, but it's something I think about. I'd be interested in what you all think, though maybe it ought to be a new thread ;) > -- > Chris -- Regards, Bengt Richter