From: Jean Louis <bugs@gnu.support>
To: Christopher Dimech <dimech@gmx.com>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Key binding phases of the moon
Date: Wed, 18 Nov 2020 02:23:25 +0300 [thread overview]
Message-ID: <X7RbbXTSov15az9n@protected.rcdrun.com> (raw)
In-Reply-To: <trinity-83641ab3-3ea8-4808-8a6b-ee990ec5d5fa-1605654616105@3c-app-mailcom-bs06>
* Christopher Dimech <dimech@gmx.com> [2020-11-18 02:11]:
> How can I display the phases of the moon by setting
> a keybinding in my emacs init file?
>
> Emacs says that I can use 'M-x phases-of-moon'.
> But how can I set a key binding for it?
>
> https://ftp.gnu.org/old-gnu/Manuals/emacs/html_node/emacs_423.html
use the manual within Emacs by using C-h r to get Emacs info manual.
I suggest you find this section there:
File: emacs.info, Node: Key Bindings, Next: Init File, Prev: Variables, Up: Customization
49.3 Customizing Key Bindings
=============================
Globally over all various modes of editing you may define key binding as:
(global-set-key (kbd "<f5>") 'phases-of-moon)
next prev parent reply other threads:[~2020-11-17 23:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-17 23:10 Key binding phases of the moon Christopher Dimech
2020-11-17 23:18 ` Jude DaShiell
2020-11-17 23:23 ` Jean Louis [this message]
2020-11-17 23:26 ` Jean Louis
2020-11-18 0:21 ` Christopher Dimech
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=X7RbbXTSov15az9n@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=dimech@gmx.com \
--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).