unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jon Fineman <jon@fineman.me>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Cc: Jon Fineman <jon@fineman.me>
Subject: Re: Forward email error - forward-sexp: Scan error
Date: Tue, 19 Mar 2024 09:26:13 -0400	[thread overview]
Message-ID: <875xxi5p56.fsf@ryzen.jonjfineman.com> (raw)
In-Reply-To: <8734sm76vt.fsf@tethera.net>

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)


  reply	other threads:[~2024-03-19 13:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18 15:21 Forward email error - forward-sexp: Scan error Jon Fineman
2024-03-19 12:17 ` David Bremner
2024-03-19 13:26   ` Jon Fineman [this message]
2024-04-03 10:33     ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875xxi5p56.fsf@ryzen.jonjfineman.com \
    --to=jon@fineman.me \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).