unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 8114@debbugs.gnu.org, johnc@technology-is-evil.com
Subject: bug#8114: macros fail in emacs 23.1
Date: Fri, 25 Feb 2011 10:23:42 +0200	[thread overview]
Message-ID: <831v2wsesx.fsf@gnu.org> (raw)
In-Reply-To: <g5sjvc3g20.fsf@fencepost.gnu.org>

> From: Glenn Morris <rgm@gnu.org>
> Date: Thu, 24 Feb 2011 23:15:51 -0500
> Cc: 8114@debbugs.gnu.org
> 
> ESC <                   ;; beginning-of-buffer
> ^X (     ;; start recording keyboard macro
> 
> C-s                     ;; isearch-forward
> SPC                     ;; self-insert-command
> C-e                     ;; move-end-of-line
> C-b                     ;; backward-char
> xyz                     ;; self-insert-command * 3
> SPC                     ;; self-insert-command
> C-a                     ;; move-beginning-of-line
> C-n                     ;; next-line
> 
> ^X )                 ;; end recording
> 
> ^X e                    ;; run the macro one time
> ^X e                    ;; run the macro one time
> C-u 1 5 0 ^X e          ;; run the macro 150 times
> 
> The expected outcome is that each line in the buffer should now look
> like this:
> a xyz b
> 
> But many of the lines still look as they did at the beginning, namely:
> a b
> .
> Note that the incorrect lines are intertwingled with the
> correctly-edited lines, up to the end of the buffer.

Something related to scrolling, it seems: the unedited lines start on
the second screenful.





  reply	other threads:[~2011-02-25  8:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20110224195045.6813460112e1e451111e8106817db522.6e72ddd86f.wbe@email01.secureserver.net>
2011-02-25  4:15 ` bug#8114: macros fail in emacs 23.1 Glenn Morris
2011-02-25  8:23   ` Eli Zaretskii [this message]
2011-03-22 14:04     ` Johan Bockgård

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=831v2wsesx.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=8114@debbugs.gnu.org \
    --cc=johnc@technology-is-evil.com \
    --cc=rgm@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).