[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Implement macro recording and playback
From: |
Marco Diego Aurélio Mesquita |
Subject: |
Re: [Nano-devel] Implement macro recording and playback |
Date: |
Sun, 8 Oct 2017 11:16:45 -0300 |
On Sun, Oct 8, 2017 at 7:17 AM, Benno Schulenberg <address@hidden> wrote:
> What should be done is this: when macro recording is switched on,
> then in get_key_buffer() each keystroke, as it comes in, is copied
> to a second key buffer, the macro_buffer (growing dynamically as
> needed, just like the normal key_buffer). When the runmacro key
> is pressed, all that nano needs to do is: copy the macro_buffer
> into the key_buffer, copy macro_length to key_buffer_len, and let
> the normal interpretation machinery do the rest.
>
Please take a look at the attached patch.
It implements your approach, but there are some problems when running
the macro sequentially. Don't know what causes it.
What else should be done to get this feature in?
macro.diff
Description: Text document
- [Nano-devel] Implement macro recording and playback, Marco Diego Aurélio Mesquita, 2017/10/07
- Re: [Nano-devel] Implement macro recording and playback, Benno Schulenberg, 2017/10/08
- Re: [Nano-devel] Implement macro recording and playback,
Marco Diego Aurélio Mesquita <=
- Re: [Nano-devel] implementing macro recording and playback, Benno Schulenberg, 2017/10/08
- Re: [Nano-devel] implementing macro recording and playback, Marco Diego Aurélio Mesquita, 2017/10/08
- Re: [Nano-devel] implementing macro recording and playback, Benno Schulenberg, 2017/10/09
- Re: [Nano-devel] implementing macro recording and playback, Marco Diego Aurélio Mesquita, 2017/10/09
- Re: [Nano-devel] implementing macro recording and playback, Benno Schulenberg, 2017/10/10
- Re: [Nano-devel] implementing macro recording and playback, Marco Diego Aurélio Mesquita, 2017/10/10
- Re: [Nano-devel] implementing macro recording and playback, Benno Schulenberg, 2017/10/11
- Re: [Nano-devel] implementing macro recording and playback, Marco Diego Aurélio Mesquita, 2017/10/11
- Re: [Nano-devel] implementing macro recording and playback, Brand Huntsman, 2017/10/12
- Re: [Nano-devel] implementing macro recording and playback, Benno Schulenberg, 2017/10/12