From: Lars Ingebrigtsen <larsi@gnus.org>
To: Kevin Brubeck Unhammer <unhammer@fsfe.org>
Cc: 56113@debbugs.gnu.org
Subject: bug#56113: [PATCH] * lisp/mail/mail-extr.el: only set fundamental-mode if unset
Date: Tue, 21 Jun 2022 13:03:15 +0200 [thread overview]
Message-ID: <87ilouz3bg.fsf@gnus.org> (raw)
In-Reply-To: <87fsjzdruf.fsf@fastmail.com> (Kevin Brubeck Unhammer's message of "Mon, 20 Jun 2022 22:04:24 +0200")
Kevin Brubeck Unhammer <unhammer@fsfe.org> writes:
> for every mail. Apparently (fundamental-mode) is slow since I use
> evil-mode – so evil-mode could be faster, but also it seems unnecessary
> to call fundamental-mode on fresh buffers? In any case, the attached
> patch makes opening summaries 10x faster for people like me on
> gnus+bbdb+evil.
Thanks. I think calling fundamental-mode here is wrong in any case --
the buffer is always going to be in that mode already, so I think that's
just an old bug. So I've amended your patch to just remove those lines,
and pushed to Emacs 29.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2022-06-21 11:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-20 20:04 bug#56113: [PATCH] * lisp/mail/mail-extr.el: only set fundamental-mode if unset Kevin Brubeck Unhammer
2022-06-21 11:03 ` Lars Ingebrigtsen [this message]
2022-06-21 12:17 ` Kevin Brubeck Unhammer
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://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ilouz3bg.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=56113@debbugs.gnu.org \
--cc=unhammer@fsfe.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://git.savannah.gnu.org/cgit/emacs.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).