From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Re: Two escapes as a prefix Date: Sun, 15 Feb 2015 07:35:39 -0900 Organization: AkWebsoft Message-ID: <20150215163539.GK1673@mail.akwebsoft.com> References: <20150212200349.GH1673@mail.akwebsoft.com> <87iof6fqtq.fsf@robertthorpeconsulting.com> <20150213035536.GJ1673@mail.akwebsoft.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1424018180 22488 80.91.229.3 (15 Feb 2015 16:36:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Feb 2015 16:36:20 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 15 17:36:09 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YN2Ay-0004DK-GC for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Feb 2015 17:36:08 +0100 Original-Received: from localhost ([::1]:35828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN2Ax-0000v9-MD for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Feb 2015 11:36:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN2Ak-0000v2-9O for Help-gnu-emacs@gnu.org; Sun, 15 Feb 2015 11:35:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YN2Ab-00066B-H1 for Help-gnu-emacs@gnu.org; Sun, 15 Feb 2015 11:35:54 -0500 Original-Received: from 191-232-4-64.mtaonline.net ([64.4.232.191]:61343 helo=tj49.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN2Ab-00065c-8r for Help-gnu-emacs@gnu.org; Sun, 15 Feb 2015 11:35:45 -0500 Original-Received: by tj49.com (Postfix, from userid 501) id 35F565AD9DF2; Sun, 15 Feb 2015 07:35:39 -0900 (AKST) Mail-Followup-To: Help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <20150213035536.GJ1673@mail.akwebsoft.com> User-Agent: Mutt/1.4.2.3i X-detected-operating-system: by eggs.gnu.org: Mac OS X 10.x X-Received-From: 64.4.232.191 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102732 Archived-At: * Tim Johnson [150212 19:07]: > * Robert Thorpe [150212 18:19]: > > Tim Johnson 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