From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#33613: 25.2; mail-header-parse-address: scan-error "Unbalanced parenthesis" 7 32 Date: Tue, 04 Dec 2018 14:03:05 -0500 Message-ID: References: <87r2exb6cg.fsf@riseup.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1543950127 17368 195.159.176.226 (4 Dec 2018 19:02:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Dec 2018 19:02:07 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 33613@debbugs.gnu.org To: micah anderson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 04 20:02:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUFxJ-0004Lt-Nw for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Dec 2018 20:02:01 +0100 Original-Received: from localhost ([::1]:58584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUFzQ-00080r-3R for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Dec 2018 14:04:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUFzJ-000805-A5 for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 14:04:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUFzI-0006Ym-EU for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 14:04:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56702) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gUFzG-0006WZ-Ep for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 14:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gUFzG-0007C4-8z for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 14:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Dec 2018 19:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33613 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33613-submit@debbugs.gnu.org id=B33613.154395020227591 (code B ref 33613); Tue, 04 Dec 2018 19:04:02 +0000 Original-Received: (at 33613) by debbugs.gnu.org; 4 Dec 2018 19:03:22 +0000 Original-Received: from localhost ([127.0.0.1]:60960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUFyc-0007Ax-2C for submit@debbugs.gnu.org; Tue, 04 Dec 2018 14:03:22 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUFya-0007Af-MK for 33613@debbugs.gnu.org; Tue, 04 Dec 2018 14:03:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUFyR-0005PN-U6 for 33613@debbugs.gnu.org; Tue, 04 Dec 2018 14:03:13 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUFyO-0005Mo-54; Tue, 04 Dec 2018 14:03:08 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1gUFyM-0000jB-9W; Tue, 04 Dec 2018 14:03:06 -0500 X-Spook: CNCIS Fusion Center Social media Semtex Palestine X-Ran: A/5SF=J*lk+1V!mAnWAi(ww*-3nVY]HKJa4fwiNf'D6MLZRs:Y_,66}UoA X-Hue: green X-Attribution: GM In-Reply-To: <87r2exb6cg.fsf@riseup.net> (micah anderson's message of "Tue, 04 Dec 2018 11:32:31 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153074 Archived-At: micah anderson wrote: > mail-header-parse-address("dr ebs (\\_O<) ") It could probably be handled more elegantly, but IIUC "dr ebs (\\_O<) " isn't valid in an email header, because the () are special characters that should be quoted in the display name, per RFC5322. Ie this works: (mail-header-parse-address "\"dr ebs (\\_O<)\" ") A nice summary at https://stackoverflow.com/questions/24940588/validation-format-of-display-name-in-from-header