unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim Johnson <tim@akwebsoft.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: Two escapes as a prefix
Date: Sun, 15 Feb 2015 07:35:39 -0900	[thread overview]
Message-ID: <20150215163539.GK1673@mail.akwebsoft.com> (raw)
In-Reply-To: <20150213035536.GJ1673@mail.akwebsoft.com>

* Tim Johnson <tim@akwebsoft.com> [150212 19:07]:
> * Robert Thorpe <rt@robertthorpeconsulting.com> [150212 18:19]:
> > Tim Johnson <tim@akwebsoft.com> writes:
> > 
> > > To be clear, I'm proposing alternate bindings, so possible
> > > overwrites by incidental major or minor modes wouldn't "cripple"
> > > me.
> > >
> > > I'd welcome comments and observations. I expect I will be
> > > edified serendipitously. 
> > 
> > That seems like a great idea.  For some reason though it seems to
> > interfer with the key's normal functioning.  If I bind '(kbd "ESC
> > M-p")' then the intended key works but, the normal 'p' key stops
> > working.  I could see why this could happen on terminals, though I
> > don't understand why it happens on Emacs in X.
>   It sounds like we have a bit of an experiment and it just might be
>   platform-and-guid-dependant. I'm going to play with some bindings
>   on _Saturday_ (not Friday) and see what I find. And in the
>   meantime, looking forward to more comments.
> 
;; So far I have these alternate bindings 
(global-set-key (kbd "ESC M-a") 'beginning-of-buffer)
(global-set-key (kbd "ESC M-e") 'end-of-buffer)
(global-set-key (kbd "ESC M-RET") 'tj-toggle-bookmark)
(global-set-key (kbd "ESC C-M-n") 'bm-next)
(global-set-key (kbd "ESC C-M-p") 'bm-previous)
(global-set-key (kbd "ESC M-n") 'global-next-subroutine)
(global-set-key (kbd "ESC M-p") 'global-previous-subroutine)
;; and all seem to work
;; FYI: Some are wrappers of my own derivation
cheers
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com, http://www.tj49.com



  reply	other threads:[~2015-02-15 16:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-12 20:03 Two escapes as a prefix Tim Johnson
2015-02-13  3:11 ` Robert Thorpe
2015-02-13  3:55   ` Tim Johnson
2015-02-15 16:35     ` Tim Johnson [this message]
2015-02-13  3:31 ` John Mastro

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=20150215163539.GK1673@mail.akwebsoft.com \
    --to=tim@akwebsoft.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.
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).