From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject: Re: weird key bindings... Date: Tue, 30 May 2017 00:32:11 +0900 Message-ID: <4BB82E01-A3EA-48AF-94E7-E634EFBFADD0@gmail.com> References: <6BFEF22A-2A4A-4320-81A5-FF78D613ADF7@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1496071968 31893 195.159.176.226 (29 May 2017 15:32:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 May 2017 15:32:48 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 29 17:32:44 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFMey-0008BZ-5C for geh-help-gnu-emacs@m.gmane.org; Mon, 29 May 2017 17:32:44 +0200 Original-Received: from localhost ([::1]:49238 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFMf3-00008r-KE for geh-help-gnu-emacs@m.gmane.org; Mon, 29 May 2017 11:32:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFMeZ-00008f-Am for help-gnu-emacs@gnu.org; Mon, 29 May 2017 11:32:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFMeW-0005xz-94 for help-gnu-emacs@gnu.org; Mon, 29 May 2017 11:32:19 -0400 Original-Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]:33793) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFMeW-0005xb-2x for help-gnu-emacs@gnu.org; Mon, 29 May 2017 11:32:16 -0400 Original-Received: by mail-pg0-x22c.google.com with SMTP id u28so24349805pgn.1 for ; Mon, 29 May 2017 08:32:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=xMXAM+T9y7nIvLe9IvQ84v0YLZ4Ut/wil99YBv5wFrM=; b=B7OT+no7tqOkEGZcK3Byh9YYoDlIl8YZrD4Mb4nZ4ckCiuyTn+NNu4Dqft7ugfmsmj 8jfN+xFY7hW2ynqtnHGMaJk2Vg5aGGn25f1HzD+3VNjnJcy+GkCO5o9dYAp24/F+3x9v 5o1+ckQ4FO8LOCutKgZKUlXRerrLw7Hxp+R4G2G6LJPybCqeHnkGrCWxfbc0ezPqcfSI Cunou7qPsrCOhlei8mVJ2A+e5xdea+TbhEYkbE2YTuQ31lmrQnAtflGcFtlxmyEKygIG o6sNMpNvm3YwEIieqe/2XsEfbVFkxpL5nGZtUPP2XzHRp22RzB4j98aY6NgTfhDKpwDv xnyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=xMXAM+T9y7nIvLe9IvQ84v0YLZ4Ut/wil99YBv5wFrM=; b=scshEb6oYpjpPTBSUQiRb6EtOLkDBiCh0hx8gw+v1GF2u+zvXoztg8mf9eac9hDkkd roA9fqAMU0QEficmJVB8K0YgX6o8M0hxAt0ds6N9j2vyrzS6eLMPBl0ZlAA7OzurQuV/ Q64d6DVWFhi1cVQgHhk5+/NdAwcx6mP0Egx8SCRKna6J6XYRInDy5SntrBa6xQzDRbQt pUecAkqSMU0oJgygVcjSk/95mEd+KRulkn8NR5Rqw/ImuLsraA33jkQ7j2vVgHrDPYfC Rx/3JYPskoqtHJuG/+3eLFsEAF4jsR4USFhKjVWPcE5w//S2gOhW5j0keFtxvi2mfojL Q2eA== X-Gm-Message-State: AODbwcCLwdUnS8TRKyPuZ1vKFuY1PpyJWG68vDHtnuZHcZjSKGR0QNfK bWFb/49i5I38+E6dvAMIjg== X-Received: by 10.98.56.78 with SMTP id f75mr18748725pfa.227.1496071934937; Mon, 29 May 2017 08:32:14 -0700 (PDT) Original-Received: from [192.168.24.63] (pl25298.ag0304.nttpc.ne.jp. [133.232.153.210]) by smtp.gmail.com with ESMTPSA id z21sm16032214pgc.15.2017.05.29.08.32.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 May 2017 08:32:14 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::22c X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:113245 Archived-At: And org-mode-map is very different depending on the launching mode too. Jean-Christophe=20 > On May 30, 2017, at 0:21, Jean-Christophe Helary = wrote: >=20 > After a chat on #emacsfr here is further weirdness: >=20 > M-: (lookup-key org-mode-map (kbd "ESC ")) > (GUI) nil > (terminal) org-metaleft >=20 > Jean-Christophe=20 >=20 >> On May 29, 2017, at 23:49, Jean-Christophe Helary = wrote: >>=20 >>>=20 >>> On May 29, 2017, at 23:37, Yuri Khan wrote: >>>=20 >>> On Mon, May 29, 2017 at 10:49 AM, Jean-Christophe Helary >>> wrote: >>>=20 >>>>> When I'm in org-mode, most of the bindings involving Meta (esc on = my Mac) do not produce the expected results. For ex. M-left should do = org-do-promote but what it does is forward-word, although I *am* in = org-mode. >>>=20 >>>> Ok, it looks like I get expected keybindings (as far as org-mode is = concerned at least) when I launch emacs with -nw. When I launch it with = a graphical frame, I get a lot of bindings overridden. >>>>=20 >>>> It is not my .emacs.el that does that, and as far as I can tell it = is nothing in my .emacs.d ... So what would be the cause of that = behavior ? >>>=20 >>> Press C-h k M- when you are in Emacs in terminal. What does it = say? >>=20 >> ESC (translated from ESC M-O D) runs the command org-metaleft = =20 >> (found in org-mode-map), which is an interactive compiled Lisp = =20 >> function in =E2=80=98org.el=E2=80=99. =20 >>=20 >>> Press C-h k M- when you are in Emacs GUI. What does it say? >>=20 >> ESC (translated from ) runs the command >> backward-word (found in global-map), which is an interactive compiled >> Lisp function in =E2=80=98simple.el=E2=80=99. >>=20 >> Jean-Christophe >=20