From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Why all the Alt bindings by default? Date: Thu, 27 Oct 2011 08:28:19 -0400 Message-ID: References: <6F1ADCC148584A4A80CF9FF727BE1915@us.oracle.com> <67D259D03C5D4CEEB3735689FE31215A@us.oracle.com> <83r51zaxhg.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1319718522 18405 80.91.229.12 (27 Oct 2011 12:28:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2011 12:28:42 +0000 (UTC) Cc: Tim Cross , schwab@linux-m68k.org, drew.adams@oracle.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 27 14:28:37 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RJP4V-000201-JS for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2011 14:28:35 +0200 Original-Received: from localhost ([::1]:53404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJP4V-0008Mj-6A for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2011 08:28:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJP4S-0008MH-EW for emacs-devel@gnu.org; Thu, 27 Oct 2011 08:28:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJP4M-00006E-UT for emacs-devel@gnu.org; Thu, 27 Oct 2011 08:28:32 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:45431 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJP4G-0008VX-NP; Thu, 27 Oct 2011 08:28:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak0JAHJNqU5MCrTo/2dsb2JhbABCqE2BD4EGgXIBAQQBViMFCws0EhQYDSSIFbR5iH4EoUOERQ X-IronPort-AV: E=Sophos;i="4.69,413,1315195200"; d="scan'208";a="144743864" Original-Received: from 76-10-180-232.dsl.teksavvy.com (HELO pastel.home) ([76.10.180.232]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 27 Oct 2011 08:28:20 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C23A359208; Thu, 27 Oct 2011 08:28:19 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Thu, 27 Oct 2011 04:24:31 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145647 Archived-At: >> No, what I was asking is what happens if I do want to bind alt-R? I >> think this was answered in another post i.e. you have to 'undo' the >> key translation first. > That's false. Just try it. I tried this: > M-x global-set-key RET > Alt-R > ignore RET > After that, "C-h c Alt-R" says > =AE (translated from A-R) runs the command ignore But then if you have some other key that generates =AE, it will also be rebound to `ignore' since you have really just done (global-set-key [?=AE] 'ignore) I think these Alt bindings should either be removed, or turned into function-key-map bindings (so they don't take precedence over real key bindings). Also we should address the problem that those key-bindings are only present after loading iso-transl.el. Stefan