From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fred Picher Newsgroups: gmane.emacs.help Subject: global-set-key with parameter Date: Wed, 8 Oct 2008 11:32:31 -0700 (PDT) Message-ID: <654042.17000.qm@web59706.mail.ac4.yahoo.com> Reply-To: frederificc@yahoo.ca NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223526060 26403 80.91.229.12 (9 Oct 2008 04:21:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 04:21:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 06:21:57 2008 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 1Knn2C-0002ti-97 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 06:21:56 +0200 Original-Received: from localhost ([127.0.0.1]:35090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Knn18-0000SF-DM for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 00:20:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kndpq-00043I-FA for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 14:32:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kndpo-0003yr-Lm for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 14:32:33 -0400 Original-Received: from [199.232.76.173] (port=55050 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kndpo-0003yd-Gq for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 14:32:32 -0400 Original-Received: from n7a.bullet.mail.ac4.yahoo.com ([76.13.13.70]:49030) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kndpo-0001Mc-5o for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 14:32:32 -0400 Original-Received: from [76.13.13.26] by n7.bullet.mail.ac4.yahoo.com with NNFMP; 08 Oct 2008 18:32:31 -0000 Original-Received: from [76.13.10.179] by t3.bullet.mail.ac4.yahoo.com with NNFMP; 08 Oct 2008 18:32:31 -0000 Original-Received: from [127.0.0.1] by omp120.mail.ac4.yahoo.com with NNFMP; 08 Oct 2008 18:32:31 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 845068.43588.bm@omp120.mail.ac4.yahoo.com Original-Received: (qmail 17376 invoked by uid 60001); 8 Oct 2008 18:32:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=VI4q3bmKwakoGOJg/aNV5lJ3ZqcnKMHmhHeEa+wmh8mqsMxaa6PBcV1EwPMjIHDGYcfLs9ha09XxNZRyB6Jue+dTI26pFHnU5lG+jU1O5L5MuyKUSwFP8pdtf07AMlVKzn1J4Xh3f2KV1A8XYdy5ecZ/zlF7JGN4panzSnt5lsg=; X-YMail-OSG: B573sJkVM1l7EWmic4pdsiwa95ObRBMod4lPeC7FRNJPFsDyrqxiX7gEu9GDUFx3u2umcZaigxFNqKk5Pz_gsgW23bhALP5QZp9KFUtb2A9NcXG9xKOsMJ0BIVXmUIbHgVKNkKPgGMnU3tTzOBwSPLSetwhB Original-Received: from [216.58.41.159] by web59706.mail.ac4.yahoo.com via HTTP; Wed, 08 Oct 2008 11:32:31 PDT X-Mailer: YahooMailWebService/0.7.218.2 X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) X-Mailman-Approved-At: Thu, 09 Oct 2008 00:19:44 -0400 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:58598 Archived-At: Hello all, I would like to bind the following function and parameter to the F5 key in emacs 23, which is currently undefined. This is to save the buffer layout to be recalled using the lowercase 'w' key: C-x r w w That would be the window-configuration-to-register command I think. I could do something like: (global-set-key [f5] 'window-configuration-to-register) But how is the 'w' parameter passed to this command ? Thanks. __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com.