bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56113: [PATCH] * lisp/mail/mail-extr.el: only set fundamental-mode i


From: Lars Ingebrigtsen
Subject: bug#56113: [PATCH] * lisp/mail/mail-extr.el: only set fundamental-mode if unset
Date: Tue, 21 Jun 2022 13:03:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]