From: "Lorenzo Isella" <lorenzo.isella@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Smart switch interactor <----> edit area in ECB
Date: Thu, 23 Oct 2008 18:16:36 +0200 [thread overview]
Message-ID: <a2b3004b0810230916l23265c02pda0cd2934442e5ac@mail.gmail.com> (raw)
In-Reply-To: <20081023145441.GB3132@groll.co.za>
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.
prev parent reply other threads:[~2008-10-23 16:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a2b3004b0810230916l23265c02pda0cd2934442e5ac@mail.gmail.com \
--to=lorenzo.isella@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.