all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sujith <m.sujith@gmail.com>
Cc: 29889@debbugs.gnu.org
Subject: bug#29889: 27.0.50; Slow visual selection
Date: Fri, 29 Dec 2017 11:04:01 +0200	[thread overview]
Message-ID: <83tvw9gb26.fsf@gnu.org> (raw)
In-Reply-To: <87y3lmgphl.fsf@gmail.com> (message from Sujith on Fri, 29 Dec 2017 09:22:22 +0530)

> From: Sujith <m.sujith@gmail.com>
> Date: Fri, 29 Dec 2017 09:22:22 +0530
> 
> Visual selection of text becomes very slow and hogs the
> CPU in some cases.
> 
> For example, open the file lisp/progmodes/vhdl-mode.el in
> the emacs codebase. And then, to reproduce this issue:
> 
> * Scroll patiently to the bottom using C-v.
>   (this is essential, jumping to the bottom doesn't seem to bring
>   up this issue).
> * Set mark with C-SPC.
> * Go to the beginning with M-<.
> * Now move the cursor up and down.
> 
> The selection is jerky and CPU usage is very high.
> I have tried this with emacs -Q and can see the issue. I am using
> the master branch.

Confirmed.  Additional info:

This happens also on the emacs-26 branch and in the 26.0.90 pretest,
but not in Emacs 25.2.

It also isn't limited to *.el files: I see it with, e.g., xterm.c.

The painfully slow first step can be replaced with this much simpler
step:

  M-: (font-lock-fontify-region (point-min) (point-max)) RET

I guess some bisecting is in order.





  reply	other threads:[~2017-12-29  9:04 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-29  3:52 bug#29889: 27.0.50; Slow visual selection Sujith
2017-12-29  9:04 ` Eli Zaretskii [this message]
2017-12-30  1:36   ` Sujith
2017-12-30 10:23     ` Eli Zaretskii
2017-12-31  5:25       ` Sujith
2017-12-31  7:20         ` Eli Zaretskii
2017-12-31  7:29           ` Eli Zaretskii
2018-01-06  1:15             ` Sujith
2018-01-06  8:37               ` Eli Zaretskii
2018-01-06 15:37                 ` Stefan Monnier
2018-01-06 16:16                   ` Eli Zaretskii
2018-01-07 15:24                     ` bug#29889: [SUSPECTED SPAM] " Stefan Monnier
2018-01-07 16:08                     ` martin rudalics
2018-01-07 17:36                       ` Eli Zaretskii
2018-01-07 17:54                         ` Stefan Monnier
2018-01-06 15:46                 ` Sujith
2017-12-31  8:42           ` Sujith
2017-12-31 15:37             ` Eli Zaretskii
2017-12-31 18:43               ` Eli Zaretskii
2022-04-21 13:25 ` Lars Ingebrigtsen
2022-05-20  2:13   ` Lars Ingebrigtsen
2022-05-20  7:16     ` Eli Zaretskii
2022-05-20  9:07       ` Lars Ingebrigtsen
2022-05-20  8:35     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20  8:39       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 11:02         ` Eli Zaretskii
2022-05-20  9:03       ` Lars Ingebrigtsen
2022-05-20  9:23         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 10:11           ` Lars Ingebrigtsen
2022-05-20 11:13             ` Eli Zaretskii
2022-05-20 11:32               ` Lars Ingebrigtsen
2022-05-20 11:47               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 12:13                 ` Eli Zaretskii
2022-05-20 12:16                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 12:21                     ` Eli Zaretskii
2022-05-20 12:47                       ` Lars Ingebrigtsen
2022-05-20 13:19                         ` Eli Zaretskii
2022-05-21 12:16                           ` Lars Ingebrigtsen
2022-05-21 12:24                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-21 13:29                               ` Lars Ingebrigtsen
2022-05-22  1:13                                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-22 11:16                                   ` Lars Ingebrigtsen
2022-05-22 12:07                                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-22 12:11                                       ` Lars Ingebrigtsen
2022-05-22 12:30                                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-23  7:50                                           ` Lars Ingebrigtsen
2022-05-23  9:04                                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-23  9:11                                               ` Lars Ingebrigtsen
2022-05-23  9:56                                                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 11:45             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 11:52               ` Lars Ingebrigtsen
2022-05-20 11:08           ` Eli Zaretskii
2022-05-20 11:51             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 12:19               ` Eli Zaretskii
2022-05-20 12:39                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 13:18                   ` Eli Zaretskii
2022-05-20 13:27                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 11:03       ` Eli Zaretskii
2022-05-20 11:49         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-20 12:16           ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83tvw9gb26.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=29889@debbugs.gnu.org \
    --cc=m.sujith@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.