Subject: Re: bug#18572: unbalanced parentheses

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 25 Jan 2017 21:22:09 +0100

Sorry for the late response; the bug report has been sitting in a part
of the bug tracker that nobody has looked at due to a misunderstanding.

lee <[email-masked]> writes:

> I was writing a follow-up to [1] and got the following in the debugger
> (null-characters replaced with '.'):
>
> Debugger entered--Lisp error: (scan-error "Unbalanced parentheses" 204 275)
>   signal(scan-error ("Unbalanced parentheses" 204 275))
>   byte-code("\204.	\203..\304\n@\nA\"\210\202..\305\306\307\310\311#\"\210\304\207" [debug-on-quit debug-on-error err orig-text signal error "Invalid data for rfc2047 encoding: %s" mm-replace-in-string "[ 	\n]+" " "] 6)
>   rfc2047-encode-region(176 275)
>   mail-encode-encoded-word-buffer()
>   message-send-mail(nil)
>   message-send-via-mail(nil)
>   message-send(nil)
>   message-send-and-exit(nil)
>   funcall-interactively(message-send-and-exit nil)
>   call-interactively(message-send-and-exit nil nil)
>   command-execute(message-send-and-exit)
>
> This seems to be caused by a header inserted by gnus:
>
> In-Reply-To: <[email-masked]> ("Philippe "Clérié\"'s" message of "Fri,
> 	26 Sep 2014 19:43:52 -0400")

I've now fixed this on the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no