From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#51733: 27.1; Detect impossible email addresses better Date: Wed, 19 Jan 2022 13:49:56 +0100 Message-ID: <87iluf99fv.fsf@gmx.de> References: <87czn8etuz.7.fsf@jidanni.org> <87czkry3h8.fsf@gnus.org> <835yqjy26h.fsf@gnu.org> <878rveybyf.fsf@gnus.org> <49EACC4C-E21E-4123-A3D2-901958CF7DC4@gnu.org> <87mtju76pp.fsf@gnus.org> <83bl0awbqq.fsf@gnu.org> <87sftm5lxc.fsf@gnus.org> <835yqiwa87.fsf@gnu.org> <87ee565l4d.fsf@gnus.org> <875yqi5kk7.fsf@gnus.org> <83zgnuuucu.fsf@gnu.org> <83r196uqni.fsf@gnu.org> <87sftm3ye5.fsf@gnus.org> <87iluh4ety.fsf@gnus.org> <87ee55474p.fsf@gnus.org> <87a6ft46mr.fsf@gnus.org> <874k6146ay.fsf@gnus.org> <87zgnt2qz9.fsf@gnus.org> <87v8yh2ot4.fsf@gnus.org> <83fsplulsy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39803"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51733@debbugs.gnu.org, Lars Ingebrigtsen To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 19 14:40:48 2022 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 1nABCi-000A8v-DV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 14:40:48 +0100 Original-Received: from localhost ([::1]:51866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nABCh-0008Q0-1K for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 08:40:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAAQY-0004hu-SP for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 07:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAAQY-0000E3-FG for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 07:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAAQY-0006PG-Es; Wed, 19 Jan 2022 07:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 19 Jan 2022 12:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51733 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 51733-submit@debbugs.gnu.org id=B51733.164259660624544 (code B ref 51733); Wed, 19 Jan 2022 12:51:02 +0000 Original-Received: (at 51733) by debbugs.gnu.org; 19 Jan 2022 12:50:06 +0000 Original-Received: from localhost ([127.0.0.1]:52576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAAPd-0006Nm-V4 for submit@debbugs.gnu.org; Wed, 19 Jan 2022 07:50:06 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:33771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAAPb-0006N4-Oq for 51733@debbugs.gnu.org; Wed, 19 Jan 2022 07:50:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1642596597; bh=FARoUXJR0wmut0m9svGtWjPC0TSO7VxpDWKJ9ti40bY=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=CuKWQIuUQwhvp7/qI9xFDrpqL2RW/QGKZejr0nEBJXeCe7MA3d7eiq4zOvhMISiKt 8HOkWqlMYvkQMeaW44yOXF39Qeq/qTazoO3l6o4SNR9/7lJem73bz6A+ZB0opPBb+Q dj0KLFSaxCnRWZqCupp/Yb9TU55XsoD7f9lWcc1o= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.91.243.252]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M6UZl-1nCeRo0skT-006suH; Wed, 19 Jan 2022 13:49:57 +0100 In-Reply-To: <83fsplulsy.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Jan 2022 17:05:01 +0200") X-Provags-ID: V03:K1:vv8s5E+LbFks5wrq8w0+oP+afJ9HtIV9IcN19zT3RJanS4FeGcF /G9cQ3ptFClsB3yHBZsy4v6QJ1dV3IaFpV1/NCmtFmqZAAd8BlhY3y468QCZtBh/fTw3ghl COmlFDtzFdgxjv0HUxrhIdIBxq4/sX9EmqoGfe2iN15qIo8Nruhr7pFHn5gBTxV5anDhAyI 3+fr/Wmo0ZQZTN3OMIsZw== X-UI-Out-Filterresults: notjunk:1;V03:K0:iUsyJzHll1A=:qCzFszS7iPxSksm13mSN4X vPC0Z0e7nhnmjzy65lnaGrRLTHHLmDrxnKuy5Ja8zNgN/kZZ7soNVa0bVg9SawUC46WKYRylr 8rmb+NrQyc0h5+kNsqn2RHKbf/8igAYhN56roT4ekj15blp8LNFOCc3VSvc16ISIIPg7o+Rg5 kLQXumVvsaJHxeWTNNZIUEOKLaPChP1iCHtJALZFwKcUODwdsJAFVQm5hi5DU8CvvHwV+c1Lx VpDetEUHvgq2Hvy7gTL3Mkcq8WMkeSb/twoFow672jRMDUsiBaQ3VHqpXihRW0OjwwE4XMYv2 bIBXzW8Kz6+Q46Q0/6ZuCRmWeQTjIEAzpAFBkQnar7GOuJpQYzoePnoQ4LJYpQJr146wE8k8I 0s37LvGBu72xnEpUMSGeuBRCvVgqL9Vcb26m5fts8JbkhM2YlLRPUYs11GxmhPwOZzY66xTRk pPoTndAcBEnIJjxTlePjOdCmCFrjtJBz8Qe1wZyhtknXTJeRYUIVpPCsLNfc2/qVcPyPHfkWv TiXsXTw4k4QmHA4aMogV/tLpKB6zoKgWolOiE2IPst8uxWM4cn9RDqCKCNTYGbRXtPFSd0nqt XgtFATzRu4Pde/z3c2fCMNpRvg4bPRjZnko7WAiNOlcnA4zZd0YK8un4tepd3XMAR4r0n9h6k r2eE9A1Sw7oUnJPFKTIvzf/+q9/pEjJEXxw83qt4T0n5KhXU41WFMggayRzkpnJlTnExaq6Rh cbwfSuhJulLS36nXUhne/IFPWPcgGIz8XDInFr0ZjGa8GNfg6Od+n/7wXo7MSebfZkmcDuXz 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" Xref: news.gmane.io gmane.emacs.bugs:224577 Archived-At: Eli Zaretskii writes: Hi Eli, >> I think the places it would make sense to hook this machinery in would >> be in: >> >> * shr (displaying URLs and links) >> * Gnus/rmail (displaying email addresses) >> * Message (when responding to mail; a prompt "do you really?") >> * browse-url (prompt) > > Sounds reasonable. > > Perhaps also Tramp (host names)? =2D-8<---------------cut here---------------start------------->8--- (defconst tramp-host-regexp "[[:alnum:]_.%-]+" "Regexp matching host names.") ;; The following regexp is a bit sloppy. But it shall serve our ;; purposes. It covers also IPv4 mapped IPv6 addresses, like in ;; "::ffff:192.168.0.1". (defconst tramp-ipv6-regexp "\\(?:[[:alnum:]]*:\\)+[[:alnum:].]+" "Regexp matching IPv6 addresses.") =2D-8<---------------cut here---------------end--------------->8--- This should be sufficient, shouldn't it? Best regards, Michael.