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: bug#12022: [PATCH] Unable to use anonymous functions for Key Translations Date: Tue, 14 Aug 2012 08:13:22 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344946408 29789 80.91.229.3 (14 Aug 2012 12:13:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Aug 2012 12:13:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Barry OReilly Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 14 14:13:29 2012 Return-path: Envelope-to: ged-emacs-devel@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 1T1Fzz-0004j4-UR for ged-emacs-devel@m.gmane.org; Tue, 14 Aug 2012 14:13:28 +0200 Original-Received: from localhost ([::1]:34053 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Fzy-0007bU-V8 for ged-emacs-devel@m.gmane.org; Tue, 14 Aug 2012 08:13:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Fzw-0007ak-GN for emacs-devel@gnu.org; Tue, 14 Aug 2012 08:13:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1Fzv-00086p-GI for emacs-devel@gnu.org; Tue, 14 Aug 2012 08:13:24 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:29682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Fzv-00086l-CC for emacs-devel@gnu.org; Tue, 14 Aug 2012 08:13:23 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09MCqqR/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="195645285" Original-Received: from 76-10-170-145.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([76.10.170.145]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 14 Aug 2012 08:13:22 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 18CCEAE427; Tue, 14 Aug 2012 08:13:22 -0400 (EDT) In-Reply-To: (Barry OReilly's message of "Mon, 13 Aug 2012 20:02:10 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:152510 Archived-At: > I found where the definition of a key translation is called, and made a > patch. The quoted test case works correctly now. Is the change ok? Yes, good spotting, thank you. I installed your patch slightly simplified (FUNCTIONP already does the Ffboundp and SYMBOLP checks). Thanks, Stefan