From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Scholtes Newsgroups: gmane.emacs.devel Subject: Key map translations Date: Mon, 11 Apr 2011 19:32:07 -0600 Message-ID: <4DA3AB97.4070805@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1302574345 5023 80.91.229.12 (12 Apr 2011 02:12:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2011 02:12:25 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 12 04:12:16 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from [140.186.70.17] (helo=lists.gnu.org) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q9T5T-0004Ib-Aj for ged-emacs-devel@m.gmane.org; Tue, 12 Apr 2011 04:12:15 +0200 Original-Received: from localhost ([::1]:35365 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9T5S-0004wl-SG for ged-emacs-devel@m.gmane.org; Mon, 11 Apr 2011 22:12:14 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9T5P-0004vy-Qw for emacs-devel@gnu.org; Mon, 11 Apr 2011 22:12:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9T5P-0000nc-02 for emacs-devel@gnu.org; Mon, 11 Apr 2011 22:12:11 -0400 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:43767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9SSn-0000rN-5I for emacs-devel@gnu.org; Mon, 11 Apr 2011 21:32:17 -0400 Original-Received: by yws5 with SMTP id 5so3005075yws.0 for ; Mon, 11 Apr 2011 18:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=V7dmGmcrdVNN2NUNWfYAyYHRrtTrP+uFwocpnnecOBk=; b=og24p0SbLGhe68tFbS7HMS7wi+t+Z4VlynDMs19qRJn+/72tiK7deqJNaQDUa8iTch Y7u7j4Orm4H/ZWuHJEvwnJL6vnZUayWKztsdJXz76lgT0Il0IVzezYtH0r1mJFw46JGh HVOcitABCg15njpfw0dgw4mnj1bprau+MoBOY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=m8PVkH4ovDkokZnuxxadjCp+HO6Q1lvbZXxpJ8CNEW+gAc77+OeyAowA8ULE3gXlGR 8a7lXEDOGQU5JtmlgONFe0zxRo66kHN4lZUB7nRL2A18HQ7kzr4mndUpLM7lEAuWuXzP OWQ6pYtYs8GgHXEd/OPymat4wBVnzCp5lzS1U= Original-Received: by 10.101.9.3 with SMTP id m3mr4076637ani.17.1302571936253; Mon, 11 Apr 2011 18:32:16 -0700 (PDT) Original-Received: from [192.168.1.2] (70-59-0-207.hlrn.qwest.net [70.59.0.207]) by mx.google.com with ESMTPS id x32sm6589531ana.12.2011.04.11.18.32.13 (version=SSLv3 cipher=OTHER); Mon, 11 Apr 2011 18:32:15 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.41 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 X-Broken-Reverse-DNS: no host name found for IP address 140.186.70.17 Xref: news.gmane.org gmane.emacs.devel:138410 Archived-At: I was trying to assign a custom isearch enhancement to 'C-S-s' (Control-Shift-s), but that seems to be translated to 'C-s'. I skimmed through the key map section of the manual, but it is unclear to me how I would override this translation behavior (or if I even can). Is there any way to see all of these translations (if there are more than 'C-S-s' -> 'C-s') anywhere? The variable `key-translation-map' was not very helpful in this regard. I would like 'C-s' to be isearch-forward and 'C-S-s' to be my custom function, e.g. `isearch-forward yanking the word at point as the search-string'. Same with `C-M-S-s' as the regexp version of this command. Christoph