From: Eli Zaretskii <eliz@gnu.org>
To: Markus Triska <triska@metalevel.at>
Cc: 23555@debbugs.gnu.org
Subject: bug#23555: 24.5; Keyboard macros unexpectedly depend on frame size
Date: Mon, 16 May 2016 21:53:53 +0300 [thread overview]
Message-ID: <83oa854ywu.fsf@gnu.org> (raw)
In-Reply-To: <m2k2ivfrn0.fsf@metalevel.at> (message from Markus Triska on Sun, 15 May 2016 14:10:59 +0200)
> From: Markus Triska <triska@metalevel.at>
> Date: Sun, 15 May 2016 14:10:59 +0200
>
> Next, simply execute the macro, repeatedly, with:
>
> C-x e e e e
>
> After this, you will see that the fourth <pre> block is unexpectedly
> changed to:
>
> <pre>
>
>
>
>
>
> ).
> </pre>
>
> whereas the expected result it:
>
> <pre>
> mi2_safe(g(G)) :-
> ( safe_goal(G) ->
> mi_clause(G, Body),
> mi2_safe(Body)
> ; throw(cannot_execute(G))
> ).
> </pre>
>
>
> However, if I revert all changes and simply enlarge the frame, or try
> the exact same sequence after removing the filler text between lines 33
> and 52, or try the macro on the fourth snippet while the <pre> block is
> completely in view, everything works exactly as expected.
>
> Thus, implicit scrolling and the frame size may unexpectedly interact
> with this keyboard macro.
This is related to the C-n behavior when executing macros, the same
problem which causes bug#23551 and #13452. If you set
line-move-visual to nil in the buffer where you run the macro, the
problem disappears.
Thanks.
prev parent reply other threads:[~2016-05-16 18:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-15 12:10 bug#23555: 24.5; Keyboard macros unexpectedly depend on frame size Markus Triska
2016-05-16 18:53 ` Eli Zaretskii [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=83oa854ywu.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=23555@debbugs.gnu.org \
--cc=triska@metalevel.at \
/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.