From unknown Wed Aug 20 06:04:42 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#1416 <1416@debbugs.gnu.org> To: bug#1416 <1416@debbugs.gnu.org> Subject: Status: 23.0.60; define-mail-abbrev adds quotes when it shouldn't Reply-To: bug#1416 <1416@debbugs.gnu.org> Date: Wed, 20 Aug 2025 13:04:42 +0000 retitle 1416 23.0.60; define-mail-abbrev adds quotes when it shouldn't reassign 1416 emacs submitter 1416 happy@mcplaksin.org severity 1416 normal thanks From happy@mcplaksin.org Sun Nov 23 20:20:21 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 24 Nov 2008 04:20:21 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAO4KGRg010366 for ; Sun, 23 Nov 2008 20:20:17 -0800 Received: from mail.gnu.org ([199.232.76.166]:45235 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L4SvZ-0000Hz-7G for emacs-pretest-bug@gnu.org; Sun, 23 Nov 2008 23:20:01 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L4SRA-00027R-Cx for emacs-pretest-bug@gnu.org; Sun, 23 Nov 2008 22:48:37 -0500 Received: from mail-qy0-f31.google.com ([209.85.221.31]:53157) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L3xrG-0000R1-8a for emacs-pretest-bug@gnu.org; Sat, 22 Nov 2008 14:09:30 -0500 Received: by qyk12 with SMTP id 12so328400qyk.18 for ; Sat, 22 Nov 2008 11:09:28 -0800 (PST) Received: by 10.215.67.3 with SMTP id u3mr1321224qak.250.1227380967815; Sat, 22 Nov 2008 11:09:27 -0800 (PST) Received: from stone.tss.usg.edu (stone.tss.usg.edu [168.24.82.77]) by mx.google.com with ESMTPS id 9sm3027413yxs.5.2008.11.22.11.09.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 22 Nov 2008 11:09:27 -0800 (PST) Date: Sat, 22 Nov 2008 14:09:24 -0500 Message-Id: To: emacs-pretest-bug@gnu.org Subject: 23.0.60; define-mail-abbrev adds quotes when it shouldn't From: happy@mcplaksin.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) If you put quotes into an email address, define-mail-abbrev adds a second set of quotes. The extra quotes make the email address invalid. For example: (define-mail-abbrev "jojo" "\"Mark A. Plaksin\" ") "jojo" (abbrev-expansion "jojo" mail-abbrevs) "\"\"Mark A. Plaksin\"\" " It does the right think if you supply an address that needs quotes added like this: (define-mail-abbrev "jojo" "Mark A. Plaksin ") "jojo" (abbrev-expansion "jojo" mail-abbrevs) "\"Mark A. Plaksin\" " In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-08-15 on fire, modified by Debian (emacs-snapshot package, version 1:20080815-1) Windowing system distributor `The X.Org Foundation', version 11.0.10400090 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2'' Important settings: value of $LC_ALL: C 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: C value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: erc-track-mode: t erc-spelling-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-netsplit-mode: t erc-match-mode: t erc-log-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-autoaway-mode: t erc-autojoin-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-readonly-mode: t savehist-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t desktop-save-mode: t display-time-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t transient-mark-mode: t Recent input: C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f A . SPC C-e C-j C-n C-e C-j C-p C-p C-p C-p C-p C-p C-p C-p C-f C-f C-f C-f C-f C-p C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f A . SPC C-e C-j C-k C-e C-j C-k C-k C-k C-p C-p C-p C-k C-k C-j C-j C-_ C-_ C-n C-n C-n C-n C-k C-k C-k C-x 1 C-p C-p C-p C-p C-p C-@ C-n C-n C-n C-n C-n C-n C-n ESC w C-^ RET ESC x r e p o r b RET m a i l C-g C-^ C-n C-p RET C-^ C-n C-p C-g C-p C-p C-p C-f C-@ C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f ESC q ESC w C-^ C-g ESC x b b DEL DEL DEL r e p o r t m DEL 0 DEL - e m TAB g DEL b TAB RET C-y a d d s SPC q u o t e s SPC w h e n SPC i t SPC h s o u l d DEL DEL DEL DEL DEL DEL s h o u l d n ' t RET y C-x 1 C-y C-a C-k C-k C-^ C-n RET C-p C-p C-p C-p C-a C-@ C-n C-n C-n C-n C-n C-n C-n ESC w C-^ C-n RET C-y C-v C-v ESC < C-n C-n C-n C-n C-n C-n C-p C-p C-p C-n C-p C-n C-p C-d C-_ C-n C-n C-n C-x k RET ESC x r e p o r b RET Recent messages: Mark activated Mark set [3 times] Undo! [2 times] Mark set Quit [2 times] Mark set Quit Reinitialize buffer, and disconnect it from the visited file? (y or n) Mark set [4 times] Undo! From cyd@stupidchicken.com Tue Nov 25 18:50:23 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1416-done) by emacsbugs.donarmstrong.com; 26 Nov 2008 02:50:23 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAQ2oKTe028062 for <1416-done@emacsbugs.donarmstrong.com>; Tue, 25 Nov 2008 18:50:22 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id AA74157E04D; Tue, 25 Nov 2008 21:50:40 -0500 (EST) From: Chong Yidong To: happy@mcplaksin.org Cc: 1416-done@debbugs.gnu.org Subject: Re: 23.0.60; define-mail-abbrev adds quotes when it shouldn't Date: Tue, 25 Nov 2008 21:50:40 -0500 Message-ID: <87myfn2oan.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > If you put quotes into an email address, define-mail-abbrev adds a > second set of quotes. The extra quotes make the email address > invalid. I've checked in a fix. Thanks for the bug report. From unknown Wed Aug 20 06:04:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 Dec 2008 15:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator