From: Gregory Heytings <gregory@heytings.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 51523@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#51523: 29.0.50; gnus-mime-view-part-externally very slow
Date: Mon, 01 Nov 2021 09:28:15 +0000 [thread overview]
Message-ID: <6abcac838b8fa4cf219b@heytings.org> (raw)
In-Reply-To: <6abcac838bb94542451d@heytings.org>
<6abcac838bb842604d22@heytings.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="9Oi2R2STSB"
--9Oi2R2STSB
Content-Type: text/plain; charset=us-ascii; format=flowed
I attach a better patch, it uses a file-has-change-p function instead of a
when-file-has-changed macro.
--9Oi2R2STSB
Content-Type: text/x-diff; name=Read-mailcaps-again-only-when-necessary.patch
Content-Transfer-Encoding: base64
Content-ID: <6abcac838bae8618f52f@heytings.org>
Content-Description:
Content-Disposition: attachment; filename=Read-mailcaps-again-only-when-necessary.patch
RnJvbSA0MTA2YjM0MmZlNDBkNGI1ODVmNDNjMTliYTQ1Y2NjNmYzZjZjMWUx
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogR3JlZ29yeSBIZXl0
aW5ncyA8Z3JlZ29yeUBoZXl0aW5ncy5vcmc+DQpEYXRlOiBNb24sIDEgTm92
IDIwMjEgMDk6MjU6MjMgKzAwMDANClN1YmplY3Q6IFtQQVRDSF0gUmVhZCBt
YWlsY2FwcyBhZ2FpbiBvbmx5IHdoZW4gbmVjZXNzYXJ5Lg0KDQoqIGxpc3Av
bmV0L21haWxjYXAuZWwgKG1haWxjYXAtcGFyc2UtbWFpbGNhcHMpOiBSZWFk
IG1haWxjYXBzIGFnYWluDQpvbmx5IHdoZW4gYXQgbGVhc3Qgb25lIG9mIHRo
ZSBtYWlsY2FwIGZpbGVzIGhhcyBjaGFuZ2VkLiAgRml4ZXMNCmJ1ZyM1MTUy
My4NCg0KKiBsaXNwL2ZpbGVzLmVsIChmaWxlLWhhcy1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pIHBhdGgpDQorICAgICAgOzsgVGhlIH4v
Lm1haWxjYXAgZW50cmllcyB3aWxsIGVuZCB1cCBmaXJzdCBpbiB0aGUgcmVz
dWx0aW5nIGRhdGEuDQorICAgICAgKGRvbGlzdCAoc3BlYyAocmV2ZXJzZQ0K
KwkJICAgICAoaWYgKHN0cmluZ3AgcGF0aCkNCisJCQkgKHNwbGl0LXN0cmlu
ZyBwYXRoIHBhdGgtc2VwYXJhdG9yIHQpDQorCQkgICAgICAgcGF0aCkpKQ0K
KwkobGV0ICgoc291cmNlIChhbmQgKGNvbnNwIHNwZWMpIChjYWRyIHNwZWMp
KSkNCisJICAgICAgKGZpbGUtbmFtZSAoaWYgKHN0cmluZ3Agc3BlYykNCisJ
CQkgICAgIHNwZWMNCisJCQkgICAoY2FyIHNwZWMpKSkpDQorCSAgKHdoZW4g
KGFuZCAoZmlsZS1yZWFkYWJsZS1wIGZpbGUtbmFtZSkNCisJCSAgICAgKGZp
bGUtcmVndWxhci1wIGZpbGUtbmFtZSkpDQorCSAgICAobWFpbGNhcC1wYXJz
ZS1tYWlsY2FwIGZpbGUtbmFtZSBzb3VyY2UpKSkpKQ0KICAgICAoc2V0cSBt
YWlsY2FwLXBhcnNlZC1wIHQpKSkNCiANCiAoZGVmdW4gbWFpbGNhcC1wYXJz
ZS1tYWlsY2FwIChmbmFtZSAmb3B0aW9uYWwgc291cmNlKQ0KLS0gDQoyLjMz
LjANCg0K
--9Oi2R2STSB--
next prev parent reply other threads:[~2021-11-01 9:28 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-31 4:11 bug#51523: 29.0.50; gnus-mime-view-part-externally very slow Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-31 15:27 ` Lars Ingebrigtsen
2021-10-31 21:47 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-31 23:41 ` Gregory Heytings
2021-11-01 0:01 ` Lars Ingebrigtsen
2021-11-01 0:11 ` Gregory Heytings
2021-11-01 0:15 ` Lars Ingebrigtsen
2021-11-01 2:26 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-01 13:38 ` Lars Ingebrigtsen
2021-11-01 0:17 ` Gregory Heytings
2021-11-01 0:21 ` Lars Ingebrigtsen
2021-11-01 0:55 ` Gregory Heytings
2021-11-01 1:24 ` Gregory Heytings
2021-11-01 1:26 ` Gregory Heytings
[not found] ` <6abcac838bb94542451d@heytings.org>
2021-11-01 9:28 ` Gregory Heytings [this message]
[not found] ` <6abcac838bb83b0904d7@heytings.org>
[not found] ` <6abcac838bad7cded4c5@heytings.org>
2021-11-01 12:26 ` Gregory Heytings
2021-11-01 13:52 ` Lars Ingebrigtsen
2021-11-01 15:00 ` Eli Zaretskii
2021-11-01 15:20 ` Gregory Heytings
2021-11-01 15:23 ` Lars Ingebrigtsen
2021-11-01 16:46 ` Eli Zaretskii
2021-11-01 16:59 ` Lars Ingebrigtsen
2021-11-01 17:03 ` Eli Zaretskii
2021-11-01 17:15 ` Eli Zaretskii
2021-11-01 17:19 ` Lars Ingebrigtsen
2021-11-01 17:21 ` Eli Zaretskii
2021-11-01 17:23 ` Lars Ingebrigtsen
2021-11-01 17:28 ` Eli Zaretskii
2021-11-01 17:34 ` Lars Ingebrigtsen
2021-11-01 18:17 ` Eli Zaretskii
2021-11-01 21:14 ` Gregory Heytings
2021-11-02 14:50 ` Lars Ingebrigtsen
2021-11-02 15:12 ` Eli Zaretskii
2021-11-03 10:45 ` Gregory Heytings
2021-11-03 12:02 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-03 12:57 ` Gregory Heytings
2021-11-03 13:17 ` Eli Zaretskii
2021-11-03 13:27 ` Gregory Heytings
2021-11-03 13:53 ` Eli Zaretskii
2021-11-03 14:25 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-03 14:26 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-03 15:20 ` Gregory Heytings
2021-11-03 18:56 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-03 13:06 ` Eli Zaretskii
2021-11-01 0:04 ` Lars Ingebrigtsen
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=6abcac838b8fa4cf219b@heytings.org \
--to=gregory@heytings.org \
--cc=51523@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=monnier@iro.umontreal.ca \
/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.