all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fred Picher <frederificc@yahoo.ca>
To: help-gnu-emacs@gnu.org
Subject: global-set-key with parameter
Date: Wed, 8 Oct 2008 11:32:31 -0700 (PDT)	[thread overview]
Message-ID: <654042.17000.qm@web59706.mail.ac4.yahoo.com> (raw)

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.





             reply	other threads:[~2008-10-08 18:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-08 18:32 Fred Picher [this message]
     [not found] <mailman.652.1223525988.25473.help-gnu-emacs@gnu.org>
2008-10-09  6:40 ` global-set-key with parameter Barry Margolin
2008-10-09 13:49   ` Fred Picher
     [not found] <mailman.685.1223560176.25473.help-gnu-emacs@gnu.org>
2008-10-09 14:11 ` harven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=654042.17000.qm@web59706.mail.ac4.yahoo.com \
    --to=frederificc@yahoo.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.