[Top][All Lists]

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

Re: [Nano-devel] [PATCH] "unbind M-Space all" in rcfile changes behaviou

From: Rishabh Dave
Subject: Re: [Nano-devel] [PATCH] "unbind M-Space all" in rcfile changes behaviour of Ctrl-Left
Date: Sun, 18 Sep 2016 17:17:29 +0530

On Fri, Sep 16, 2016 at 6:55 PM, Benno Schulenberg
<address@hidden> wrote:
> On Thu, Sep 15, 2016, at 20:06, Rishabh Dave wrote:
>> Link to the bug -
>> I have come up with two solutions.
>> First one, we execute function little after we recognize controlleft
>> and controlright. [...]
> That will make Ctrl+Left/Right stop working at the prompt.
> No good.

You mean prompt when do ^O, ^W, ^R? Okay, I never considered them.

>  Please provide as a separate patch the first step that was indicated in
> the above bug.

Okay, attached patch has /only/ the first step: where retval is
controlleft or controlright, make sc_seq_or()  return keycode instead
of 0 when there is no match.

> As far as
> I can see it is just that "unbind ^Space all" has no effect (but it
> should)

Currently, even with patch unapplied, when I add "unbind ^Space all"
to ~/.nanorc it works i.e. when I hit ^Space, gives an error message
"Unbound key ^@".

Attachment: 0001-winio.c-make-sc_seq_or-return-keycode.patch
Description: Text Data

reply via email to

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