From: Fred Picher <frederificc@yahoo.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: global-set-key with parameter
Date: Thu, 9 Oct 2008 06:49:30 -0700 (PDT) [thread overview]
Message-ID: <38651.52727.qm@web59705.mail.ac4.yahoo.com> (raw)
In-Reply-To: <barmar-B0829E.02405109102008@news.motzarella.org>
--- On Thu, 10/9/08, Barry Margolin <barmar@alum.mit.edu> wrote:
> From: Barry Margolin <barmar@alum.mit.edu>
> Subject: Re: global-set-key with parameter
> To: help-gnu-emacs@gnu.org
> Received: Thursday, October 9, 2008, 6:40 AM
Hello,
> You need to write a new Elisp function that calls
> window-configuration-to-register with the parameter, and bind
> the key to THAT function.
> (defun window-config-to-register-w ()
> "Store the window configuration in register 'w'."
> (interactive)
> (window-configuration-to-register ?w))
> (global-set-key [f5] 'window-configuration-to-register-w)
Thanks for the help. That sounds quite straightforward
although I do not know any lisp. For this reason I'm a bit lost
when I get the following error message after pressing F5:
Symbol's function definition is void: window-configuration-to-register-w
__________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at
http://ca.toolbar.yahoo.com.
next prev parent reply other threads:[~2008-10-09 13:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
[not found] <mailman.685.1223560176.25473.help-gnu-emacs@gnu.org>
2008-10-09 14:11 ` harven
2008-10-08 18:32 Fred Picher
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38651.52727.qm@web59705.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).