Re: Forward email error - forward-sexp: Scan error

Subject: Re: Forward email error - forward-sexp: Scan error

Date: Tue, 19 Mar 2024 09:26:13 -0400

To: David Bremner, notmuch@notmuchmail.org

Cc: Jon Fineman

From: Jon Fineman


David Bremner <david@tethera.net> writes:

> Jon Fineman <jon@fineman.me> writes:
>
>> Received this error while trying to forward a complex html email from ebay.
>>
>> Unfortunately there is probably some PII embedded in it, so trying to
>> remove that to include the email might confuse things.
>>
>> Any suggestions on how to find the error?
>>
>>
>> Sending...
>> forward-sexp: Scan error: "Unbalanced parentheses", 22384, 32216
>>
>>
>
> Does "M-x toggle-debug-on-error" yield a useful backtrace?


Debugger entered--Lisp error: (scan-error "Unbalanced parentheses" 22384 32216)
  scan-sexps(22384 1)
  forward-sexp()
  mml-expand-html-into-multipart-related((part (type . "text/html") (charset . "UTF-8") (nofile . "yes") (tag-location . 907) (contents . "<!DOCTYPE html>\n<!--a71f943b-ab8b-549b-4cb2-514a60...")))
  mml-expand-all-html-into-multipart-related((part (type . "text/html") (charset . "UTF-8") (nofile . "yes") (tag-location . 907) (contents . "<!DOCTYPE html>\n<!--a71f943b-ab8b-549b-4cb2-514a60...")))
  mml-expand-all-html-into-multipart-related((multipart (type . "mixed") (tag-location . 883) (part (type . "text/html") (charset . "UTF-8") (nofile . "yes") (tag-location . 907) (contents . "<!DOCTYPE html>\n<!--a71f943b-ab8b-549b-4cb2-514a60..."))))
  mapcar(mml-expand-all-html-into-multipart-related ((part (type . "text/plain") (contents . "\n-------------------- Start of forwarded message -...")) (multipart (type . "mixed") (tag-location . 883) (part (type . "text/html") (charset . "UTF-8") (nofile . "yes") (tag-location . 907) (contents . "<!DOCTYPE html>\n<!--a71f943b-ab8b-549b-4cb2-514a60..."))) (part (type . "text/plain") (contents . "-------------------- End of forwarded message ----..."))))
  mml-generate-mime(nil nil)
  message-encode-message-body()
  message-send-mail(nil)
  message-send-via-mail(nil)
  message-send(nil)
  message-send-and-exit(nil)
  notmuch-mua-send-common(nil t)
  notmuch-mua-send-and-exit(nil)
  funcall-interactively(notmuch-mua-send-and-exit nil)
  call-interactively(notmuch-mua-send-and-exit nil nil)
  command-execute(notmuch-mua-send-and-exit)


_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: