all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Daniel Martín" <mardani29@yahoo.es>
To: Robert Thorpe <rt@robertthorpeconsulting.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Performance problem with keyboard macros and C-n
Date: Wed, 11 Nov 2020 23:56:04 +0100	[thread overview]
Message-ID: <m1wnyrcxkr.fsf@yahoo.es> (raw)
In-Reply-To: <871rh2f4j0.fsf@robertthorpeconsulting.com> (Robert Thorpe's message of "Tue, 10 Nov 2020 00:18:27 +0000")

Robert Thorpe <rt@robertthorpeconsulting.com> writes:

> On Reddit someone pointed to a performance problem with a keyboard
> macro. I investigated it a bit more and found that it was caused by an
> interaction between C-n and some programming modes.
>
> Basically, the macro is extremely slow if C-n is used to move between
> lines and the macro is run in python-mode or c-mode.  However, it is
> very fast if fundamental-mode is used or if forward-line is used to move
> to the next line.  It is also very fast if apply-macro-to-region-lines
> is used.
>
> Is this a known performance bug, or should I open a bug report?
>
> BR,
> Robert Thorpe

I think it's better to open a bug report with a detailed recipe to
reproduce the performance problem.  Thanks.



      reply	other threads:[~2020-11-11 22:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-10  0:18 Performance problem with keyboard macros and C-n Robert Thorpe
2020-11-11 22:56 ` Daniel Martín [this message]

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=m1wnyrcxkr.fsf@yahoo.es \
    --to=mardani29@yahoo.es \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rt@robertthorpeconsulting.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.