emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undo boundaries inside macros?


From: Andreas Schwab
Subject: Re: Undo boundaries inside macros?
Date: Thu, 22 Mar 2018 17:47:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)

On Mär 22 2018, Robert Pluim <address@hidden> wrote:

> <f3> 1 2 <f4> <f4> C-/ ; this undoes all the effects of the macro
>
> <f3> 1 RET 2 <f4> <f4> C-/ ; this only undoes the '2'
>
> I was expecting undo to be an all-or-nothing affair, but adding lines
> introduces an undo boundary inside the macro. It matches what happens
> when you type '1 RET 2' interactively, but should it?

I think it should, as kbd macros are really more or less equivalent to
typing interactively.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]