From unknown Thu Sep 11 11:24:18 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10314 <10314@debbugs.gnu.org> To: bug#10314 <10314@debbugs.gnu.org> Subject: Status: 24.0.92; ietf-drums-parse-address and non-ASCII names Reply-To: bug#10314 <10314@debbugs.gnu.org> Date: Thu, 11 Sep 2025 18:24:18 +0000 retitle 10314 24.0.92; ietf-drums-parse-address and non-ASCII names reassign 10314 emacs,gnus submitter 10314 Aaron Ecay severity 10314 normal tag 10314 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 16 11:54:42 2011 Received: (at submit) by debbugs.gnu.org; 16 Dec 2011 16:54:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rbb3R-0005En-An for submit@debbugs.gnu.org; Fri, 16 Dec 2011 11:54:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbVWq-0004lB-3f for submit@debbugs.gnu.org; Fri, 16 Dec 2011 06:00:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbVVI-0001dh-7f for submit@debbugs.gnu.org; Fri, 16 Dec 2011 05:59:05 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:33135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbVVI-0001dd-64 for submit@debbugs.gnu.org; Fri, 16 Dec 2011 05:59:04 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbVVH-0006Te-6C for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 05:59:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbVVC-0001cb-0j for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 05:59:03 -0500 Received: from mail-qy0-f169.google.com ([209.85.216.169]:35690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbVVB-0001cK-Tj for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 05:58:57 -0500 Received: by qcsd17 with SMTP id d17so1995011qcs.0 for ; Fri, 16 Dec 2011 02:58:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:user-agent:date:message-id:mime-version :content-type:content-transfer-encoding; bh=kiFSaN+Sq9P+ONo+Aosysa5MksObO/UFVxeyzT+0TAw=; b=os30wVAzEeN2LVZCMkh4fFGvDHiiKth+KaMv0QCkDrajbcGalyp1UYGdM5dN7Dm+aE 7HQd+gO/zhOsjicjhH/FOpedu3eA7Gw6pFabJNB5GIssBWDUe+KUc3I42cXXSOF7pkOt hRKVA6mg7QBO0vKZ452QbCSoLzaPUl9pCrlfo= Received: by 10.229.137.21 with SMTP id u21mr1202661qct.23.1324033136844; Fri, 16 Dec 2011 02:58:56 -0800 (PST) Received: from localhost (c-68-80-94-73.hsd1.pa.comcast.net. [68.80.94.73]) by mx.google.com with ESMTPS id gg6sm19011840qab.3.2011.12.16.02.58.55 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 16 Dec 2011 02:58:56 -0800 (PST) From: Aaron Ecay To: bug-gnu-emacs@gnu.org Subject: 24.0.92; ietf-drums-parse-address and non-ASCII names User-Agent: Notmuch/0.10.1+56~gd709fd6 (http://notmuchmail.org) Emacs/24.0.92.3 (i386-apple-darwin10.8.0) Date: Fri, 16 Dec 2011 05:58:51 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 16 Dec 2011 11:54:36 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': The function ietf-drums-parse-address cannot cope with (unquoted) non-ASCII characters in email addresses. An example is the following From: line (from a message on the mailing list for the notmuch email client, archives accessible here, real email address obfuscated: http://notmuchmail.org/pipermail/notmuch/ ) From: =3D?utf-8?q?Philipp_=3DC3=3D9Cberbacher?=3D (the quoted character is an uppercase U-umlaut: =C3=9C) In the process of parsing this line, the function emits a minibuffer message, and then returns the name without the non-ASCII character: =E2=80=9CPhilipp berbacher=E2=80=9D This is because of the ietf-drums-atex= t-token regex, which includes only ASCII alphabet characters. ----- If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Users/aecay/Applications/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 24.0.92.3 (i386-apple-darwin10.8.0, NS apple-appkit-1038.36) of 2011-12-12 on awe Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns' '--without-gnutls'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t --=20 Aaron Ecay From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 06 20:27:23 2012 Received: (at 10314) by debbugs.gnu.org; 7 Jan 2012 01:27:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RjL47-0004GK-0A for submit@debbugs.gnu.org; Fri, 06 Jan 2012 20:27:23 -0500 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RjL44-0004GB-EZ for 10314@debbugs.gnu.org; Fri, 06 Jan 2012 20:27:21 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RjL0R-00089T-O8; Sat, 07 Jan 2012 02:23:35 +0100 From: Lars Magne Ingebrigtsen To: Aaron Ecay Subject: Re: bug#10314: 24.0.92; ietf-drums-parse-address and non-ASCII names References: X-Now-Playing: Chris Watson's _El Tren Fantasma (The Signal Man's Mix)_: "El Dvisadero The Telegraph" Date: Sat, 07 Jan 2012 02:23:35 +0100 In-Reply-To: (Aaron Ecay's message of "Fri, 16 Dec 2011 05:58:51 -0500") Message-ID: User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1RjL0R-00089T-O8 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1326504215.89794@q9S5pXKpi4gqIzRZrfYCcg X-Spam-Status: No X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10314 Cc: 10314@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Aaron Ecay writes: > The function ietf-drums-parse-address cannot cope with (unquoted) > non-ASCII characters in email addresses. An example is the following > From: line (from a message on the mailing list for the notmuch email > client, archives accessible here, real email address obfuscated: > http://notmuchmail.org/pipermail/notmuch/ > ) > > From: =?utf-8?q?Philipp_=C3=9Cberbacher?= I'm unable to reproduce this bug: (ietf-drums-parse-address "=?utf-8?q?Philipp_=C3=9Cberbacher?= ") => ("foo@bar.com" . "=?utf-8?q?Philipp_=C3=9Cberbacher?=") Do you have a test case? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 13 03:30:03 2012 Received: (at 10314) by debbugs.gnu.org; 13 Jan 2012 08:30:03 +0000 Received: from localhost ([127.0.0.1]:55810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RlcWM-0002Ww-AK for submit@debbugs.gnu.org; Fri, 13 Jan 2012 03:30:03 -0500 Received: from mail-qy0-f172.google.com ([209.85.216.172]:41923) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RlcWF-0002Wj-Tc for 10314@debbugs.gnu.org; Fri, 13 Jan 2012 03:29:56 -0500 Received: by qcsc1 with SMTP id c1so134080qcs.3 for <10314@debbugs.gnu.org>; Fri, 13 Jan 2012 00:29:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; bh=Zmucr49juqIlg7IDE6pRYjXbsZW73kW/I2hotAwtVE8=; b=JXDnzJKJhFxJSbZZuhUGZPDCvGG+k+Cma/QOVM5CaiBGvpmHF4adeD7u6XnjE9OQ1m DCjUy8UeiMXtwbv5gkq/BuT1uk0TEjAiJLfgYTz61QuDnP2okagpifQVHXhqR/LmhP3Q MZISjVpUWgyngzjA5Wgr6jV6hoep3Co45mhV0= Received: by 10.229.78.197 with SMTP id m5mr455153qck.48.1326443355741; Fri, 13 Jan 2012 00:29:15 -0800 (PST) Received: from localhost (c-68-80-94-73.hsd1.pa.comcast.net. [68.80.94.73]) by mx.google.com with ESMTPS id ft9sm15262851qab.20.2012.01.13.00.29.13 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Jan 2012 00:29:13 -0800 (PST) From: Aaron Ecay To: Lars Magne Ingebrigtsen Subject: Re: bug#10314: 24.0.92; ietf-drums-parse-address and non-ASCII names In-Reply-To: References: User-Agent: Notmuch/0.10.1+56~gd709fd6 (http://notmuchmail.org) Emacs/24.0.92.1 (i386-apple-darwin10.8.0) Date: Fri, 13 Jan 2012 03:29:08 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10314 Cc: 10314@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sat, 07 Jan 2012 02:23:35 +0100, Lars Magne Ingebrigtsen wrote: > I'm unable to reproduce this bug: >=20 > (ietf-drums-parse-address "=3D?utf-8?q?Philipp_=3DC3=3D9Cberbacher?=3D ") > =3D> ("foo@bar.com" . "=3D?utf-8?q?Philipp_=3DC3=3D9Cberbacher?=3D") >=20 > Do you have a test case? This would arise in the notmuch email reader, which would decode the address to UTF-8 before calling this function. So you can get the behavior by doing: (ietf-drums-parse-address "Philipp =C3=9Cberbacher ") ; -> ("foo@bar.com" . "Philipp berbacher") When this happens, there is also a message displayed in the echo area: =E2=80=9CUnknown symbol: =C3=9C=E2=80=9D. Thanks, --=20 Aaron Ecay From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 25 18:27:29 2012 Received: (at 10314) by debbugs.gnu.org; 25 Jan 2012 23:27:30 +0000 Received: from localhost ([127.0.0.1]:44103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqCFV-00036z-IR for submit@debbugs.gnu.org; Wed, 25 Jan 2012 18:27:29 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:37256) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqCFS-00036o-VU for 10314@debbugs.gnu.org; Wed, 25 Jan 2012 18:27:27 -0500 Received: from 93-41-173-241.ip82.fastwebnet.it ([93.41.173.241] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RqCEt-0003hS-SZ; Thu, 26 Jan 2012 00:26:52 +0100 From: Lars Ingebrigtsen To: Aaron Ecay Subject: Re: bug#10314: 24.0.92; ietf-drums-parse-address and non-ASCII names References: Date: Thu, 26 Jan 2012 00:26:50 +0100 In-Reply-To: (Aaron Ecay's message of "Fri, 13 Jan 2012 03:29:08 -0500") Message-ID: <87k44ffjnp.fsf@gnus.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-MailScanner-ID: 1RqCEt-0003hS-SZ X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1328138812.12615@yLoEAiq3s0ToVIwhIUkrzA X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10314 Cc: 10314@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Aaron Ecay writes: > This would arise in the notmuch email reader, which would decode the > address to UTF-8 before calling this function. So you can get the > behavior by doing: > > (ietf-drums-parse-address "Philipp =DCberbacher ") > ; -> ("foo@bar.com" . "Philipp berbacher") > > When this happens, there is also a message displayed in the echo area: > =93Unknown symbol: =DC=94. That's not what that function is meant to do. It parses a DRUMS address, which is basically an RFC2047-encoded address. It's undefined what it does on addresses that are of a different format. So this sounds like a bug in Notmuch, and you should take it up with them. --=20 (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 25 18:29:30 2012 Received: (at control) by debbugs.gnu.org; 25 Jan 2012 23:29:30 +0000 Received: from localhost ([127.0.0.1]:44108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqCHR-0003A0-1z for submit@debbugs.gnu.org; Wed, 25 Jan 2012 18:29:30 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:37274) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RqCHQ-00039u-5o for control@debbugs.gnu.org; Wed, 25 Jan 2012 18:29:28 -0500 Received: from 93-41-173-241.ip82.fastwebnet.it ([93.41.173.241] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RqCGr-0003jq-Vq for control@debbugs.gnu.org; Thu, 26 Jan 2012 00:28:54 +0100 Date: Thu, 26 Jan 2012 00:28:52 +0100 Message-Id: <87ipjzfjkb.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #10314 X-MailScanner-ID: 1RqCGr-0003jq-Vq X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1328138934.32276@zfG1uQv9r5+uIUjgs6L4Wg X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) tags 10314 notabug close 10314 From unknown Thu Sep 11 11:24:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 Feb 2012 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator