From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mickey Ferguson Newsgroups: gmane.emacs.help Subject: key binding Date: Tue, 4 Feb 2014 22:18:01 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1391552307 31617 80.91.229.3 (4 Feb 2014 22:18:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2014 22:18:27 +0000 (UTC) To: "Emacs Help (help-gnu-emacs@gnu.org)" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 04 23:18:35 2014 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 1WAoK8-00022G-N5 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 23:18:32 +0100 Original-Received: from localhost ([::1]:55901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAoK8-0001jN-2u for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 17:18:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAoJm-0001Yv-Qo for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 17:18:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAoJg-0001E3-Rg for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 17:18:10 -0500 Original-Received: from mail.plantcml-eads.com ([67.151.52.7]:17582 helo=mail.cassidiancommunications.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAoJg-0001Dp-Ip for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 17:18:04 -0500 Original-Received: from TEMCAS01.peinet.peinc.com (temcas01.peinet.peinc.com [172.16.4.12]) by mail.cassidiancommunications.com with smtp (TLS: TLSv1/SSLv3,128bits,AES128-SHA) id 44ed_20e2_8273d7d4_305a_4660_8caa_58cb236b6dc9; Tue, 04 Feb 2014 14:18:02 -0800 Original-Received: from TEMCAS01.peinet.peinc.com ([::1]) by TEMCAS01.peinet.peinc.com ([::1]) with mapi id 14.02.0387.000; Tue, 4 Feb 2014 14:18:01 -0800 Thread-Topic: key binding Thread-Index: Ac8h9vbeZoiQkjQaTjqn0LGHkret8A== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.10.30] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 67.151.52.7 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:95912 Archived-At: I want to bind the key sequence Esc-F3 (or Alt-F3) to the function I have d= efined that will compare windows, ignoring whitespace. The lambda that I'v= e defined works fine. I found the following lisp line of code that will ma= ke this key mapping: (global-set-key (kbd "") (lambda () (interactive) (compare-windows t))) Unfortunately, it has the side effect of killing the other Esc- = types of commands. For example, I frequently use Esc-> and Esc-< to move t= o the end of beginning of a buffer, and they no longer work. I've confirme= d that this one line is the culprit by commenting out the command, keeping = the rest of my initialization intact, and all is well. So can anyone else = suggest how I can safely map the Esc-F3 (Alt-F3) key combination? Replies = to Mickey (dot) Ferguson (at) CassidianCommunications (dot) com.