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

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

bug#58860: closed (29.0.50; [PATCH] semantic/fw.el: speed up the 'semant


From: GNU bug Tracking System
Subject: bug#58860: closed (29.0.50; [PATCH] semantic/fw.el: speed up the 'semantic-find-file-noselect')
Date: Mon, 31 Oct 2022 13:23:02 +0000

Your message dated Mon, 31 Oct 2022 15:22:20 +0200
with message-id <83tu3kdt6b.fsf@gnu.org>
and subject line Re: bug#58860: 29.0.50; [PATCH] semantic/fw.el: speed up the 
'semantic-find-file-noselect'
has caused the debbugs.gnu.org bug report #58860,
regarding 29.0.50; [PATCH] semantic/fw.el: speed up the 
'semantic-find-file-noselect'
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
58860: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58860
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- 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

Attachment: 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 ---

reply via email to

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