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

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

bug#4558: forw_comment slowdown since 22.3


From: Stefan Kangas
Subject: bug#4558: forw_comment slowdown since 22.3
Date: Wed, 15 Jan 2020 06:38:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <address@hidden> writes:

> Dan Nicolaescu <address@hidden> writes:
>
>> $ cd emacs/src
>>
>> $ cat emacs.c emacs.c emacs.c emacs.c emacs.c > /tmp/emacs.c
>>
>> $ emacs /tmp/emacs.c
>> C-x h
>> M-;
>> C-x C-s
>> C-x C-c
>>
>> $ cat /tmp/t.el
>> (defun myfwd ()
>>   (interactive)
>>   (dotimes (n 1)
>>     (while (forward-comment 1))
>>     (while (forward-comment -1)))
>>   (save-buffers-kill-emacs))
>> ;; increase N if your machine is much faster
>>
>> Now do:
>>
>> emacs -Q -l /tmp/t.el /tmp/emacs.c -f myfwd
>
> (I'm going through old bug reports that unfortunately didn't get any
> response at the time.)
>
> I've tried this in Emacs 27, and it seems quite fast -- much less than a
> second.  But, then again, computers are faster now than they were back
> when this was reported.  Are you still seeing slow forw_comment in more
> modern Emacs versions?

More information was requested, but none was given within 15 weeks, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.

Best regards,
Stefan Kangas





reply via email to

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