bug-apl
[Top][All Lists]
Advanced

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

Re: canceling ∇-edit mode


From: Dr . Jürgen Sauermann
Subject: Re: canceling ∇-edit mode
Date: Wed, 8 Apr 2020 13:38:24 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi Otto,

thanks for reporting this. I guess I simply missed that case.

Fxed in *SVN 1254*.

Best Regards,
Jürgen Sauermann


On 4/8/20 12:13 PM, Otto Diesenbacher-Reinmüller wrote:
> Hi APLers,
>
> first let me thank, for that wonderful piece of software!
>
> Using the ∇-editor I found some inconsistencies, perhaps a bug or am I
> using ∇ wrong? Reference APL2 docu and Nabla.cc:
> "  // we expect one of the following:
>    //
>    // [⎕] [n⎕] [⎕m] [n⎕m] [⎕n-m]                    (show)
>    //     [n∆] [∆m] [n∆m] [∆n-m] [∆n1 n2 ...]       (delete)
>    // [→]                                           (escape)
>    // [n]                                           (goto)
>    // text                                          (override text)"
>
>
> I create a new function:
>       ∇z←a plus b
> [1] z←a+b
> [2] ∇
>
> afterwards I start changing the function, but want to cancel the
> changes. Entering [→] won't let me leave the ∇-mode. I have to end it
> with '∇'? BUT then, only the header remains - whole function body is
> no longer available:
>
>       ∇plus
> [2] [⎕]
>     ∇
> [0]   z←a plus b
> [1]   z←a+b
>     ∇
> [2] [0.5] ⍝ a comment
> [0.6] [→]                    ⍝ I am not leaving the ∇-mode?
> [0.6] ∇                      ⍝ I have to leave with ∇?
>       ∇plus[⎕]∇
>     ∇
> [0]   z←a plus b
>     ∇
>       ⎕CR 'plus'
> ┌→─────────┐
> ↓z←a plus b│
> └──────────┘
>
> Is this a bug, or is there another way to leave the ∇-mode without
> saving last changes?
>
> br & many thanks - Otto
>




reply via email to

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