From: "Sean Richards" <somebody@nowhere.com>
Subject: Re: emacs calculator
Date: Sun, 16 Jan 2005 15:46:52 +1300 [thread overview]
Message-ID: <87llau6qg3.fsf@hugin.valhalla.net> (raw)
In-Reply-To: 10uj7k64bp0tr43@corp.supernews.com
"B.T. Raven" <ecmn@cpinternet.com> writes:
> I added the following lines to my .emacs (i386-mingw: 21.3.1):
>
> (autoload 'calculator "calculator"
> "Run the Emacs calculator." t)
> (global-set-key [(control return)] 'calculator)
>
> After saving this, exiting, restarting, still no go. C-h k C-return is
> shown as undefined.
>
> Then I replaced the last line with:
> (define-key global-map [(control return)] 'calculator)
>
> Same result. What I am I doing wrong?
I prefer a different notation for emacs key bindings. Try this way
(global-set-key (kbd "C-<return>") 'calculator)
Sean
--
"Hver sin smak", sa vintapperen, han drakk mens de andre sloss.
next prev parent reply other threads:[~2005-01-16 2:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-15 22:50 emacs calculator B.T. Raven
2005-01-16 2:46 ` Sean Richards [this message]
2005-01-16 10:33 ` kurtz
2005-01-16 13:16 ` Matthew Huggett
[not found] ` <mailman.13475.1105882289.27204.help-gnu-emacs@gnu.org>
2005-01-16 22:41 ` B.T. Raven
2005-01-17 1:16 ` Peter Dyballa
2005-01-17 20:38 ` Stefan Monnier
[not found] ` <mailman.13583.1105927733.27204.help-gnu-emacs@gnu.org>
2005-01-18 3:40 ` B.T. Raven
2005-01-18 7:09 ` Sean Richards
2005-01-18 10:52 ` Peter Dyballa
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=87llau6qg3.fsf@hugin.valhalla.net \
--to=somebody@nowhere.com \
--cc=sean_news@myrealbox.com \
/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).