From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Madhu Newsgroups: gmane.emacs.bugs Subject: bug#74132: Acknowledgement (31.0.50; thing-at-pt, ffap and Github markdown) Date: Fri, 01 Nov 2024 11:08:42 +0530 (IST) Message-ID: <20241101.110842.137608817097414398.enometh@meer.net> References: <20241031.160649.1619221016115134543.enometh@meer.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30196"; mail-complaints-to="usenet@ciao.gmane.io" To: 74132@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 01 06:39:25 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t6kNY-0007iB-HH for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Nov 2024 06:39:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6kNE-0007VA-W6; Fri, 01 Nov 2024 01:39:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6kND-0007UX-Ai for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 01:39:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t6kNC-0007YX-Lr for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 01:39:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Mime-Version:References:In-Reply-To:From:Date:To:Subject; bh=lYj/+/15+wvkXoD4hAoL0+PxWmvzhOf207fqIWYtjAU=; b=Brjz/Rit+3TC3II4Hf1wYxT7K2R2hbOP0v8chomzvbCLRoFOIOAnR8KY3vrc9iWQO1/gWxg/bNLfqqo+2aaQdJfAetVLDzGYZBgn1ChSh5qq4zjCtyquM/1y7Q2McHxjASWQdpn+EQRaMwGwPL93wBY+xcp2NI4fZCKQWKYbTciDw4kL13E08dtQjl/IUdLEfq/ZIcykqUd+KYYt5sq/Bv73i8TRFJ5SWlBO8g/pgMpMpg+pOCA5jvQkiCwbH92LxM9O+r1GRvo85I9Js0X3bj3YgmxwyZEiXM+xfxYLAe6y5LBFi/TNxmVW62aTw2jV7VLwQ6qkeNmwjFVuFVEfQQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6kNC-00026C-FM for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 01:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Madhu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2024 05:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74132-submit@debbugs.gnu.org id=B74132.17304395318043 (code B ref 74132); Fri, 01 Nov 2024 05:39:02 +0000 Original-Received: (at 74132) by debbugs.gnu.org; 1 Nov 2024 05:38:51 +0000 Original-Received: from localhost ([127.0.0.1]:46876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6kN0-00025e-Ie for submit@debbugs.gnu.org; Fri, 01 Nov 2024 01:38:50 -0400 Original-Received: from smtp0.ctinetworks.com ([205.166.61.207]:51258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6kMy-00025Y-1L for 74132@debbugs.gnu.org; Fri, 01 Nov 2024 01:38:48 -0400 X-ctinetworks-Watermark: 1731303526.69588@TbC8g8Gjpnpj9EKWP2B71w X-ctinetworks-Envelope-From: enometh@meer.net X-ctinetworks-VirusCheck: Found to be clean X-ctinetworks-Message-ID: 7DF94601C.A5514 Original-Received: from localhost (unknown [117.254.37.0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: enometh@meer.net) by smtp0.ctinetworks.com (Postfix) with ESMTPSA id 7DF94601C for <74132@debbugs.gnu.org>; Fri, 1 Nov 2024 01:38:45 -0400 (EDT) In-Reply-To: X-Mailer: Mew version 6.9 on Emacs 31.0.50 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294654 Archived-At: There was a typo in the patch I posted. It should instead look like this ``` diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el @@ -502,9 +502,15 @@ thing-at-point-bounds-of-url-at-point (let* ((allowed-chars "--:=&?$+@-Z_[:alpha:]~#,%;*()!'[]") (skip-before "^[0-9a-zA-Z]") (skip-after ":;.,!?'") + (hard-beg (and thing-at-point-beginning-of-url-regexp + (save-excursion + (and + (re-search-backward + thing-at-point-beginning-of-url-regexp nil t) + (point))))) (pt (point)) (beg (save-excursion - (skip-chars-backward allowed-chars) + (skip-chars-backward allowed-chars hard-beg) (skip-chars-forward skip-before pt) (point))) (end (save-excursion ```