all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Smart switch interactor <----> edit area in ECB
@ 2008-10-23 13:54 Lorenzo Isella
       [not found] ` <20081023145441.GB3132@groll.co.za>
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Isella @ 2008-10-23 13:54 UTC (permalink / raw)
  To: help-gnu-emacs

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?
Many thanks

Lorenzo

-- 
Free will does not consist in inverting the river flow, but in being
the fish that leaps upstream.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Smart switch interactor <----> edit area in ECB
       [not found] ` <20081023145441.GB3132@groll.co.za>
@ 2008-10-23 16:16   ` Lorenzo Isella
  0 siblings, 0 replies; 2+ messages in thread
From: Lorenzo Isella @ 2008-10-23 16:16 UTC (permalink / raw)
  To: help-gnu-emacs

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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-23 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-23 13:54 Smart switch interactor <----> edit area in ECB Lorenzo Isella
     [not found] ` <20081023145441.GB3132@groll.co.za>
2008-10-23 16:16   ` Lorenzo Isella

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.