From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: minor-mode-key-binding and cua-mode Date: Sat, 01 Jul 2006 00:39:39 +0200 Message-ID: References: <44A57C97.6040805@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1151707322 15469 80.91.229.2 (30 Jun 2006 22:42:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Jun 2006 22:42:02 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 01 00:41:59 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FwRgS-0000MS-NA for ged-emacs-devel@m.gmane.org; Sat, 01 Jul 2006 00:41:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FwRgS-0004NI-5C for ged-emacs-devel@m.gmane.org; Fri, 30 Jun 2006 18:41:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FwRgE-0004LB-Tw for emacs-devel@gnu.org; Fri, 30 Jun 2006 18:41:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FwRgD-0004Kg-71 for emacs-devel@gnu.org; Fri, 30 Jun 2006 18:41:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FwRgD-0004KW-2E for emacs-devel@gnu.org; Fri, 30 Jun 2006 18:41:41 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FwRt4-0005l9-Or for emacs-devel@gnu.org; Fri, 30 Jun 2006 18:54:58 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id 2E7A4A50030; Sat, 1 Jul 2006 00:41:31 +0200 (CEST) Original-To: Lennart Borgman In-Reply-To: <44A57C97.6040805@student.lu.se> (Lennart Borgman's message of "Fri, 30 Jun 2006 21:33:43 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:56332 Archived-At: Lennart Borgman writes: > Enable cua-mode and evaluate this: > > (let ((res "")) > (dolist (binding '([(control ? )] > [(control ?v)])) > (setq res > (concat > res > (format "\n%s: kb=%s, glob=%s, loc=%s, mmkb=%s" > (key-description binding) > (key-binding binding) > (global-key-binding binding t) > (local-key-binding binding t) > (minor-mode-key-binding binding t) > )))) > (message "%s" res)) > > Should not minor-mode-key-binding return something for C-SPC too? Not really. The minor mode maps has a remapping of set-mark-command to cua-set-mark. So there is no minor-mode-key-binding for C-SPC. -- Kim F. Storm http://www.cua.dk