unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Rebind key and save/reuse previous bound function
Date: Sat, 31 Oct 2015 17:33:03 +0100	[thread overview]
Message-ID: <87eggbc81s.fsf@debian.uxu> (raw)
In-Reply-To: 20151029215703.25359b06@gauss

Joe Riel <joer@san.rr.com> writes:

> The function key-binding will do what I described,
> and is probably what I'll use, but what I think
> I really want is something more akin to
> substitute-key-definition, but which, rather than
> substituting a function, returns the original
> function. Does that exist?

Instead of verbalizing this in half-baked terms of
techno-techno-technology, it'll be much easier for you
and us to understand and help if you just say what you
want to *do*.

I.e.:

    1. You are looking at Emacs.

    2. Your fingertips are at keys a, s, d, f
       and j, k, l, ;

    3. Your shoulders are relaxed (OK now, sorry :)

    4. What is it at this moment that you want to
       *do*, that you cannot?

Of course, feel free to speculate how to solve the
problem. Even if the theorizing is wrong it is still
better than doing nothing and if you put it into words
that will benefit the thought process and you will
look up information in doing so, *and* people won't
hesitate to tell you if you are wrong, which is
helpful to you and everyone else reading the post.

But before you do any of that, please do answer
question 4 or else the good intentions/activity will
much rather come to nothing.

And the beat goes on...  ((d[-_-]b))

-- 
underground experts united
http://user.it.uu.se/~embe8573




  reply	other threads:[~2015-10-31 16:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-30  4:45 Rebind key and save/reuse previous bound function Joe Riel
2015-10-30  4:57 ` Joe Riel
2015-10-31 16:33   ` Emanuel Berg [this message]
2015-10-30  4:58 ` Joe Riel
2015-10-30 18:31 ` Doug Lewan
2015-10-31 20:22 ` John Mastro
2015-11-01 22:08   ` Joe Riel
2015-11-02  0:22     ` Emanuel Berg

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eggbc81s.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).