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: identifying meta-key bound functions from last-command-char? Date: Mon, 25 Feb 2008 23:46:49 -0500 Message-ID: References: <2cd46e7f0802251630h2cc2ae5di1d77ed3b87611416@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204001227 4254 80.91.229.12 (26 Feb 2008 04:47:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2008 04:47:07 +0000 (UTC) Cc: ken.manheimer@gmail.com, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 26 05:47:32 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JTriz-0000hn-77 for ged-emacs-devel@m.gmane.org; Tue, 26 Feb 2008 05:47:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTriT-00084M-7x for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2008 23:46:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTriP-00083E-KQ for emacs-devel@gnu.org; Mon, 25 Feb 2008 23:46:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTriN-00082Y-TC for emacs-devel@gnu.org; Mon, 25 Feb 2008 23:46:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTriN-00082V-MB for emacs-devel@gnu.org; Mon, 25 Feb 2008 23:46:51 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JTriN-0006WJ-Fh for emacs-devel@gnu.org; Mon, 25 Feb 2008 23:46:51 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CACQow0dMCpz5Wmdsb2JhbACQVAEgm15/ X-IronPort-AV: E=Sophos;i="4.25,405,1199682000"; d="scan'208";a="15054100" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 25 Feb 2008 23:46:49 -0500 Original-Received: from pastel.home ([76.10.156.249]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id GGU87949; Mon, 25 Feb 2008 23:46:49 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 818087FA7; Mon, 25 Feb 2008 23:46:49 -0500 (EST) In-Reply-To: (Kenichi Handa's message of "Tue, 26 Feb 2008 12:59:49 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90480 Archived-At: >> > The related problem is when to change, for instance, (' ' | >> > CTRL_MASK) to '\0'. >> Traditionally Emacs has mapped CTRL_MASK + CHAR to the corresponding >> ASCII control char, if it exists. Looks like this mapping is now >> missing somewhere. > The routine doing that mapping still exists; char_string(). The question is: where is it called from and is there a place where it should be called but isn't (or is, but too late)? > But, before reaching that function, the macro > CHECK_CHARACTER rejects such an integer value. > Should we implement something like > CHECK_CHARACTER_RESOLVE_MODIFER and use it instead of > CHECK_CHARACTER at proper places? Maybe, or rather move the CHECK_CHARACTER to some later time when the mapping has taken place. Stefan