From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nusret Newsgroups: gmane.emacs.help Subject: Re: a question about keymaps Date: Sat, 30 Jun 2007 16:25:12 -0700 (PDT) Message-ID: <534582.17482.qm@web36915.mail.mud.yahoo.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1183245939 24975 80.91.229.12 (30 Jun 2007 23:25:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Jun 2007 23:25:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 01 01:25:33 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I4mJn-0007oV-Kv for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Jul 2007 01:25:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I4mJm-0005jU-MW for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jun 2007 19:25:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I4mJa-0005jN-MU for help-gnu-emacs@gnu.org; Sat, 30 Jun 2007 19:25:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I4mJY-0005jB-8h for help-gnu-emacs@gnu.org; Sat, 30 Jun 2007 19:25:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I4mJY-0005j8-2n for help-gnu-emacs@gnu.org; Sat, 30 Jun 2007 19:25:16 -0400 Original-Received: from web36915.mail.mud.yahoo.com ([209.191.85.83]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I4mJX-00010K-LY for help-gnu-emacs@gnu.org; Sat, 30 Jun 2007 19:25:15 -0400 Original-Received: (qmail 18938 invoked by uid 60001); 30 Jun 2007 23:25:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=FHgSEczEn+4lTmF927I25+SB03hOAZRICtUk9fIipKY+DToR9OidMt6unVI6DOXLxO5jr5gEZayQShJGthw6SRVcDG8ar3HIfQ27GmnCRgnighKvu0OSnBKjO5gfTKUUlTT5r0A+hEj414SdJ+wYVFGhrVvD3maD7G8LEbwZnn8=; X-YMail-OSG: h8VpA88VM1nXPbjQ7BtS0G7njBWXssVdD4PeW_aspbagx.PUiGfvVrY.9.TizdBuL_.vj6bs276wt8s35xxcJ7S18pMeSEyntoIQ31ym.bcalR270i9Hfwj_e2tQXQ-- Original-Received: from [149.159.1.208] by web36915.mail.mud.yahoo.com via HTTP; Sat, 30 Jun 2007 16:25:12 PDT In-Reply-To: X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45396 Archived-At: --- Peter Dyballa wrote: > > Am 30.06.2007 um 23:38 schrieb nusret: > > > QUESTION: How can I correct the first form so that > it > > does what I expect? Also, what causes this > behavior? > > You need to bind a key to a function. [C-mouse-1] is > no function. > > Typing C-h k and then pressing C-mouse-1 you get the > function bound > to the left-most mouse key(mouse-buffer-menu) . Then > bind it to S-C- > mouse-3! Peter, Thank you for the suggestion. The reason I tried what i tried is the following: (define-key function-key-map [(control tab)] [?\M-\t]) This one works and binds "\C-\t" to the action of the key [?\M-\t]. Yet the other one doesn't work. there should be a reason for this, but I'm not sure what. What could be the difference? As to your suggestion, I tried it upon your suggestion. But it gives the error: "Function returns invalid key sequence" Apparently the function "mouse-buffer-menu" requires an argument and probably this causes the problem?? Just a guess... Any suggestions? thank you again, Nusret ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC