From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67600: [PATCH] Add dashes to 'thing-at-point-email-regexp' Date: Sat, 16 Dec 2023 15:38:31 +0200 Message-ID: <838r5umfmw.fsf@gnu.org> References: <87v89fh2iz.fsf@posteo.net> <83plzn77i2.fsf@gnu.org> <87wmtjnaxd.fsf@posteo.net> <831qbrvd5g.fsf@gnu.org> <87jzpetoo3.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16286"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67600@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 16 14:40:21 2023 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 1rEUtw-00041e-VB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Dec 2023 14:40:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEUtl-000830-4Y; Sat, 16 Dec 2023 08:40:09 -0500 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 1rEUte-000814-Ds for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2023 08:40:02 -0500 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 1rEUtd-0005y8-Pv for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2023 08:40:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rEUte-0007yH-AI for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2023 08:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Dec 2023 13:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67600 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 67600-submit@debbugs.gnu.org id=B67600.170273394630540 (code B ref 67600); Sat, 16 Dec 2023 13:40:02 +0000 Original-Received: (at 67600) by debbugs.gnu.org; 16 Dec 2023 13:39:06 +0000 Original-Received: from localhost ([127.0.0.1]:54248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEUsg-0007wP-AL for submit@debbugs.gnu.org; Sat, 16 Dec 2023 08:39:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEUsd-0007vt-Pq for 67600@debbugs.gnu.org; Sat, 16 Dec 2023 08:39:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEUsW-0005ni-Dh; Sat, 16 Dec 2023 08:38:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=uwIlbhqh08wuZgsyTleQXEViuunqmkl2fkjp2xVt/lE=; b=rQ8gXKLEAdYy c44Ty51Hzj0mhhiGZjYI178hg4WInAdTgRpUf+T9gQpE4J1ybFyuAUCpDPppyRFBMq5Nit+oSc69s ZSfHYuvoFhm8myygFKihWzx2gsxPaBVgiEo6nS3Vbp0OBnfr7afAGgXdyB3o+CbbvM339Ae05sYjn GMDEUem7kIiP0aA/pFJUXrmwFrmw/dj6lTFKDfBSXod3ye6o7rmvIjGVFGCK8tY8qHH+n8PBc5a+v oWWlTWtKly1snRdUyZH8EX2c1FcHz6aZ7hB/KgTUHUJrZicUnCneN+XZOVxc5xDTQUe6wiq4Y95Cq T5vdE/49BKeXi/PgKqEQSg==; In-Reply-To: <87jzpetoo3.fsf@posteo.net> (message from Philip Kaludercic on Sat, 16 Dec 2023 10:41:32 +0000) 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:276340 Archived-At: > From: Philip Kaludercic > Cc: 67600@debbugs.gnu.org > Date: Sat, 16 Dec 2023 10:41:32 +0000 > > Eli Zaretskii writes: > > >> From: Philip Kaludercic > >> Cc: 67600@debbugs.gnu.org > >> Date: Tue, 12 Dec 2023 07:21:18 +0000 > >> > >> Eli Zaretskii writes: > >> > >> >> From: Philip Kaludercic > >> >> Date: Sun, 03 Dec 2023 12:52:04 +0000 > >> >> > >> >> I noticed this recently when trying to extract a link to an mailing list > >> >> of mine hosted on SourceHut. > >> > > >> > Looks like you are adding slashes, not dashes? > >> > >> Of course, my bad: > > > > Thanks. > > > > My bother here is that this could cause false positives whereby > > thing-at-point would recognize file names with slashes as email > > addresses. Because otherwise I don't understand why the slash was > > omitted in the first place. Can we somehow make sure this won't > > happen? > > One idea might be to just add slashes to the user name part of the > address, which would suffice to solve the issue I was having. Can you show a patch, so we could make sure we are on the same page? Thanks.