[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Smart switch interactor <----> edit area in ECB
From: |
Lorenzo Isella |
Subject: |
Re: Smart switch interactor <----> edit area in ECB |
Date: |
Thu, 23 Oct 2008 18:16:36 +0200 |
OK, that basically sorts everything out.
Now, the remaining question is: how can invoke different
functions/macros with the same key-binding depending on whether I am
on an interactor on the edit area?
Cheers
2008/10/23 Jonathan Groll <lists@groll.co.za>:
> On Thu, Oct 23, 2008 at 03:54:54PM +0200, Lorenzo Isella wrote:
>>
>> Dear All,
>> I am giving a go to ECB (actually, I am finding it pretty useful).
>>
>> http://ecb.sourceforge.net/
>>
>> I am using the 'left9' layout (so I only have the method interactor),
>> and I can switch from the edit area to the interactor using this
>> simple macro:
>>
>> ;; macro for going to interactor
>>
>> (fset 'go-to-interactor
>> "\C-c.gm")
>>
>> (global-set-key (kbd "C-c e") 'go-to-interactor)
>>
>> However, there is a problem with this macro: I do not know how to
>> leave the interactor and C-x o takes me to a different buffer with
>> respect to the initial one where I invoked the macro.
>> I would like to extend the macro in such a way that, if I am on the
>> interactor, it takes me to the same buffer in the edit area where I
>> previously invoked it.
>> Any idea about how to do that?
>
> C-c.g1
>
> Cheers,
> Jonathan
>
--
Free will does not consist in inverting the river flow, but in being
the fish that leaps upstream.