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#51733: 27.1; Detect impossible email addresses better Date: Wed, 19 Jan 2022 13:53:59 +0200 Message-ID: <8335lkszzc.fsf@gnu.org> References: <87czn8etuz.7.fsf@jidanni.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> <87r1952omd.fsf@gnus.org> <831r14vq70.fsf@gnu.org> <87tue0nkrx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21647"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51733@debbugs.gnu.org, larsi@gnus.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 19 13:34:18 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 1nAAAL-0005Qi-Nj for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 13:34:17 +0100 Original-Received: from localhost ([::1]:35788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAAAI-0006Mi-Tk for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 07:34:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nA9YM-0000co-I6 for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 06:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nA9YM-0004uv-5y for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 06:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nA9YM-0002f4-5k; Wed, 19 Jan 2022 06:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 19 Jan 2022 11:55: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.164259325710152 (code B ref 51733); Wed, 19 Jan 2022 11:55:02 +0000 Original-Received: (at 51733) by debbugs.gnu.org; 19 Jan 2022 11:54:17 +0000 Original-Received: from localhost ([127.0.0.1]:52538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nA9Xd-0002dg-0Y for submit@debbugs.gnu.org; Wed, 19 Jan 2022 06:54:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nA9Xa-0002dN-R3 for 51733@debbugs.gnu.org; Wed, 19 Jan 2022 06:54:15 -0500 Original-Received: from [2001:470:142:3::e] (port=34148 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nA9XT-0004p6-Lo; Wed, 19 Jan 2022 06:54:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=PUlwJgBTM8I8ymJJNwGksbJmtbBi9qREnUzOMtTDhgQ=; b=CTUxjHdny86jJJxaMjnk pg8s5ikAOtxX3nGEOx8pVwYi9P1A/2l6NGVZqiXHEKk0Rl00eGNAB8sg9YyVOH5EcIM+uL94vzVMF doxY4BEITH7MM0lUERZRCNuNzwb6fRSWXVj3zVke4xCRpjn6Ms3afKOyW9ns5XVlKt0JtFTH4vLJU 6i+oXGpZXf0NQ8DCzOIuR3rwYxX/MJdKQlhwAClZeQUjZLGA72vygJJpqA+6Dj6knusRMMWnd/+BU pmVfb87RJ4N+staBmAxAev6oBZvLnETFuc0GX0135VeLAIMM8LlrTNZBSx/ZrWi7+rLSTM/hxRyv6 V7KS8kQi3PpQXw==; Original-Received: from [87.69.77.57] (port=1102 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nA9XP-0004TT-Km; Wed, 19 Jan 2022 06:54:06 -0500 In-Reply-To: <87tue0nkrx.fsf@gmail.com> (message from Robert Pluim on Wed, 19 Jan 2022 10:21:22 +0100) 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:224559 Archived-At: > From: Robert Pluim > Cc: Lars Ingebrigtsen , 51733@debbugs.gnu.org > Date: Wed, 19 Jan 2022 10:21:22 +0100 > > Eli> Does textsec-email-suspicious-p expect non-ASCII email addresses to be > Eli> RFC 2047 encoded? If so, it will not work in the Rmail display > Eli> buffers, where email addresses are shown decoded. For non-ASCII names > Eli> the function signals an error. > > It does? Do you have an example? The following works fine Here: (textsec-email-suspicious-p "אבגד ") => (wrong-type-argument stringp nil) with this backtrace: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-search("=?" nil) rfc2047-decode-string(nil) mail-header-parse-address("אבגד " t) textsec-email-suspicious-p("אבגד ") (progn (textsec-email-suspicious-p "אבגד ")) eval((progn (textsec-email-suspicious-p "אבגד ")) t) elisp--eval-last-sexp(t) eval-last-sexp(t) eval-print-last-sexp(nil) funcall-interactively(eval-print-last-sexp nil) call-interactively(eval-print-last-sexp nil nil) command-execute(eval-print-last-sexp)