Hi Elias,
mapping two ^C to one is maybe not so good an idea.
IBM APL2 distinguishes between interrupt and attention and they have
different keys for that. interrupt interrupts execution immediately while
attention interrupts execution at the end of the statement.
Currently GNU APL is behaving slightly differently, but the plan is to
align that long term.
Instead of two keys for interrupt and attention I found it more
convenient to have single ^C for attention
and double ^C for interrupt.
This is also why two ^C are needed to abort the display of results.
If you eat single ^C in emacs then this would prevent attention from
being signaled.
I would propose instead that every ^C is simply passed on to GNU APL.
/// Jürgen
On 08/02/2014 06:29 PM, Elias Mårtenson wrote:
Do you think there is a way to configure that? Perhaps disable the
double-thing when in Emacs mode? The reason is that in Emacs mode you
already have to press C-c twice to send a sinvlde C-c to the
underlying process. That means that in order to interrupt right now I
need to press it 4 times within 500 ms, which is very difficult.
Regards,
Elias
On 3 August 2014 00:27, Juergen Sauermann
<juergen.sauerm...@t-online.de <mailto:juergen.sauerm...@t-online.de>>
wrote:
Hi Blake,
good. The double ^C is on purpose to avoid accidentally hitting ^C.
Its actually two ^C within 500 ms.
/// Jürgen