From: Christophe Troestler <Christophe.Troestler@umons.ac.be>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: 34387@debbugs.gnu.org
Subject: bug#34387: 26.1; Gnus: handle empty message parts
Date: Tue, 12 Feb 2019 08:31:39 +0100 [thread overview]
Message-ID: <87ftstea3o.fsf@poincare.umons.ac.be> (raw)
In-Reply-To: <b4msgwt7hha.fsf@jpl.org>
[-- Attachment #1: Type: text/plain, Size: 4448 bytes --]
On 12 February 2019 at 05:34 CET, Katsumi Yamaoka wrote:
>
> […] Could you let me know how it fails?
Here is the debugger trace (message attached) :
Debugger entered--Lisp error: (args-out-of-range 4409 4410)
#f(compiled-function (handle) #<bytecode 0x1471e8d>)((#<buffer *mm*-671873> ("text/html" (charset . "Windows-1252")) quoted-printable (lambda nil (let ((inhibit-read-only t)) (delete-region #<marker at 4408 in *Article*> #<marker at 4408 in *Article*>))) nil nil nil nil))
apply(#f(compiled-function (handle) #<bytecode 0x1471e8d>) (#<buffer *mm*-671873> ("text/html" (charset . "Windows-1252")) quoted-printable (lambda nil (let ((inhibit-read-only t)) (delete-region #<marker at 4408 in *Article*> #<marker at 4408 in *Article*>))) nil nil nil nil))
gnus-mime-display-single@fix(#f(compiled-function (handle) #<bytecode 0x1471e8d>) (#<buffer *mm*-671873> ("text/html" (charset . "Windows-1252")) quoted-printable (lambda nil (let ((inhibit-read-only t)) (delete-region #<marker at 4408 in *Article*> #<marker at 4408 in *Article*>))) nil nil nil nil))
apply(gnus-mime-display-single@fix #f(compiled-function (handle) #<bytecode 0x1471e8d>) (#<buffer *mm*-671873> ("text/html" (charset . "Windows-1252")) quoted-printable (lambda nil (let ((inhibit-read-only t)) (delete-region #<marker at 4408 in *Article*> #<marker at 4408 in *Article*>))) nil nil nil nil))
gnus-mime-display-single((#<buffer *mm*-671873> ("text/html" (charset . "Windows-1252")) quoted-printable (lambda nil (let ((inhibit-read-only t)) (delete-region #<marker at 4408 in *Article*> #<marker at 4408 in *Article*>))) nil nil nil nil))
gnus-mime-display-part((#<buffer *mm*-671873> ("text/html" (charset . "Windows-1252")) quoted-printable (lambda nil (let ((inhibit-read-only t)) (delete-region #<marker at 4408 in *Article*> #<marker at 4408 in *Article*>))) nil nil nil nil))
mapcar(gnus-mime-display-part ((#<buffer *mm*-671873> ("text/html" (charset . "Windows-1252")) quoted-printable (lambda nil (let ((inhibit-read-only t)) (delete-region #<marker at 4408 in *Article*> #<marker at 4408 in *Article*>))) nil nil nil nil) (#<buffer *mm*-589619> ("application/pdf" (name . "homologie_de_contact_legendrienne_bilinearisee.pdf")) base64 nil ("attachment" (modification-date . "Fri, 08 Feb 2019 11:42:34 GMT") (creation-date . "Fri, 08 Feb 2019 11:40:17 GMT") (size . "308005") (filename . "homologie_de_contact_legendrienne_bilinearisee.pdf")) "homologie_de_contact_legendrienne_bilinearisee.pdf" nil nil)))
gnus-mime-display-mixed(((#<buffer *mm*-671873> ("text/html" (charset . "Windows-1252")) quoted-printable (lambda nil (let ((inhibit-read-only t)) (delete-region #<marker at 4408 in *Article*> #<marker at 4408 in *Article*>))) nil nil nil nil) (#<buffer *mm*-589619> ("application/pdf" (name . "homologie_de_contact_legendrienne_bilinearisee.pdf")) base64 nil ("attachment" (modification-date . "Fri, 08 Feb 2019 11:42:34 GMT") (creation-date . "Fri, 08 Feb 2019 11:40:17 GMT") (size . "308005") (filename . "homologie_de_contact_legendrienne_bilinearisee.pdf")) "homologie_de_contact_legendrienne_bilinearisee.pdf" nil nil)))
gnus-mime-display-part((#("multipart/mixed" 0 15 (boundary "_002_VI1PR0101MB215751953182701525CB4AD9E7690VI1PR0101MB2157_" buffer #<buffer *mm*-468382> from "Damien.GALANT@student.umons.ac.be" start nil)) (#<buffer *mm*-671873> ("text/html" (charset . "Windows-1252")) quoted-printable (lambda nil (let ((inhibit-read-only t)) (delete-region #<marker at 4408 in *Article*> #<marker at 4408 in *Article*>))) nil nil nil nil) (#<buffer *mm*-589619> ("application/pdf" (name . "homologie_de_contact_legendrienne_bilinearisee.pdf")) base64 nil ("attachment" (modification-date . "Fri, 08 Feb 2019 11:42:34 GMT") (creation-date . "Fri, 08 Feb 2019 11:40:17 GMT") (size . "308005") (filename . "homologie_de_contact_legendrienne_bilinearisee.pdf")) "homologie_de_contact_legendrienne_bilinearisee.pdf" nil nil)))
gnus-display-mime()
gnus-article-prepare-display()
> Otherwise, could you show me a sample email in question? […]
Attached.
>> […] (define-advice gnus-mime-display-single (:around (oldfn &rest handle) fix)
>> "Protect against bad handling of empty message parts."
>> (ignore-errors (apply oldfn handle)))
>
> I'd like to fix those problems in the Gnus code. :)
Sure — it was just a suggestion in the meantime! ;-)
Best,
Christophe
[-- Attachment #2: Plan th�orie des nSuds --]
[-- Type: message/rfc822, Size: 421186 bytes --]
[-- Attachment #2.1.1: Type: text/html, Size: 416 bytes --]
[-- Attachment #2.1.2: homologie_de_contact_legendrienne_bilinearisee.pdf --]
[-- Type: application/pdf, Size: 307661 bytes --]
next prev parent reply other threads:[~2019-02-12 7:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-08 14:58 bug#34387: 26.1; Gnus: handle empty message parts Christophe Troestler
[not found] ` <handler.34387.B.154963794230369.ack@debbugs.gnu.org>
2019-02-08 15:39 ` bug#34387: Acknowledgement (26.1; Gnus: handle empty message parts) Christophe Troestler
2019-02-12 4:34 ` bug#34387: 26.1; Gnus: handle empty message parts Katsumi Yamaoka
2019-02-12 7:31 ` Christophe Troestler [this message]
2019-02-13 4:53 ` Katsumi Yamaoka
2019-02-13 17:26 ` Christophe Troestler
2019-02-13 23:20 ` Katsumi Yamaoka
2019-02-14 2:16 ` Katsumi Yamaoka
2019-02-14 12:30 ` Christophe Troestler
2019-02-14 22:50 ` Katsumi Yamaoka
2019-02-15 8:28 ` Christophe Troestler
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ftstea3o.fsf@poincare.umons.ac.be \
--to=christophe.troestler@umons.ac.be \
--cc=34387@debbugs.gnu.org \
--cc=yamaoka@jpl.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.