unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Raymond Zeitler <rzeitler@phonon.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "r.zeitler@ieee.org" <r.zeitler@ieee.org>,
	"13452@debbugs.gnu.org" <13452@debbugs.gnu.org>
Subject: bug#13452: 24.1; Macro Playback Fails When Buffer Scrolls
Date: Tue, 15 Jan 2013 20:55:02 +0000	[thread overview]
Message-ID: <3D3BECA95B858C4D9F42F2A6CDFC04DD37BE93D9@Exchange2010.PHONON.com> (raw)
In-Reply-To: <83obgq8dgl.fsf@gnu.org>

Dear Eli:

Thank you so much for your helpful and quick reply, and also for your involvement in the mailing lists, which has helped me many times before.

Sorry about sending a bug report, especially using MS Outlook.

Peace.

- Ray

-----Original Message-----
From: Eli Zaretskii [mailto:eliz@gnu.org] 
Sent: Tuesday, January 15, 2013 2:16 PM
To: Raymond Zeitler
Cc: 13452@debbugs.gnu.org; r.zeitler@ieee.org
Subject: Re: bug#13452: 24.1; Macro Playback Fails When Buffer Scrolls

> From: Raymond Zeitler <rzeitler@phonon.com>
> Date: Tue, 15 Jan 2013 18:01:13 +0000
> Cc: "r.zeitler@ieee.org" <r.zeitler@ieee.org>
> 
> Create a file with many more lines than the buffer can display at once.
> In my test, the buffer has about 500 identical lines like this:
> 
> 123456789 0123456789 01234567890
> 
> Then place Point at line 1 column 1.
> 
> I recorded the keyboard macro that you see in Recent Input, which merely
> moves point just past the first 9, then deletes it and puts an "x" in
> its place for the first three lines.  Then it puts a "y" for the next
> three.  Point is then moved to the start of the next line before the
> macro is finished recording.
> 
> Play back the macro a few dozen times.
> 
> As Point keeps moving down, the buffer will need to scroll.  When it
> does scroll, Point will not return to the start of the next line.

Set line-move-visual to nil, and Bob's your uncle.

> I'm amazed that I've been using Emacs (with macros) for 12.5 years and
> never noticed this before!

line-move-visual didn't exist before Emacs 23.  So most of those 12.5
years, the bug didn't exist, because the only behavior available was
the one you see when you set line-move-visual to a nil value.





      reply	other threads:[~2013-01-15 20:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-15 18:01 bug#13452: 24.1; Macro Playback Fails When Buffer Scrolls Raymond Zeitler
2013-01-15 19:15 ` Eli Zaretskii
2013-01-15 20:55   ` Raymond Zeitler [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

  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=3D3BECA95B858C4D9F42F2A6CDFC04DD37BE93D9@Exchange2010.PHONON.com \
    --to=rzeitler@phonon.com \
    --cc=13452@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=r.zeitler@ieee.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).