--- Begin Message ---
Subject: |
29.0.50; [PATCH] semantic/fw.el: speed up the 'semantic-find-file-noselect' |
Date: |
Sat, 29 Oct 2022 05:01:42 +0000 |
Hi,
The emacs will be extremely slow after I first time enable the
semantic mode and open a simple C source file which includes the
stdio.h.
I find the semantic mode will try to analyse the chained header files,
by calling the function (semantic-find-file-noselect ...) to open the
file and analyse its content, while the `find-file-hook` may have many
heavy functions.
Disabling the `find-file-hook` do have great performance improvement
for semantic mode.
Please help review this patch. Thanks
Best regards
Lin
0001-semantic-fw.el-speed-up-the-semantic-find-file-nosel.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#58860: 29.0.50; [PATCH] semantic/fw.el: speed up the 'semantic-find-file-noselect' |
Date: |
Mon, 31 Oct 2022 15:22:20 +0200 |
> From: lin Sun <sunlin7@yahoo.com>
> Date: Sun, 30 Oct 2022 17:13:18 +0000
> Cc: Eli Zaretskii <eliz@gnu.org>, 58860@debbugs.gnu.org
>
> Hi Stefan, Eli,
>
> Thanks for your comments, and agree with you.
> I'll check my local `find-file-hook` first, and remove the heavy functions.
> For using with-temp-buffer and insert-file-contents together, maybe
> just a little improvement, not the key point.
> So, please close this ticket, and if I find other significant
> enhancements, I'll send a new patch. Thank you.
Thanks, closing.
--- End Message ---