unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Key binding phases of the moon
@ 2020-11-17 23:10 Christopher Dimech
  2020-11-17 23:18 ` Jude DaShiell
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Christopher Dimech @ 2020-11-17 23:10 UTC (permalink / raw)
  To: Help Gnu Emacs

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Key binding phases of the moon
  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
  2020-11-17 23:26 ` Jean Louis
  2 siblings, 0 replies; 5+ messages in thread
From: Jude DaShiell @ 2020-11-17 23:18 UTC (permalink / raw)
  To: Christopher Dimech, Help Gnu Emacs

Even if you manage to set such a binding, emacs only knows about 4 phases
of the moon.  In terms of Astrology from which this knowledge originated
there are 8 phases of the moon. On Wed, 18 Nov 2020, Christopher Dimech
wrote:

> Date: Tue, 17 Nov 2020 18:10:16
> From: Christopher Dimech <dimech@gmx.com>
> To: Help Gnu Emacs <help-gnu-emacs@gnu.org>
> Subject: Key binding phases of the moon
>
> 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
>
>
>
>

-- 
United States has 633 Billionaires with only 10 doing any annual
significant giving.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Key binding phases of the moon
  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
  2020-11-17 23:26 ` Jean Louis
  2 siblings, 0 replies; 5+ messages in thread
From: Jean Louis @ 2020-11-17 23:23 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Help Gnu Emacs

* 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)



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Key binding phases of the moon
  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
@ 2020-11-17 23:26 ` Jean Louis
  2020-11-18  0:21   ` Christopher Dimech
  2 siblings, 1 reply; 5+ messages in thread
From: Jean Louis @ 2020-11-17 23:26 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Help Gnu Emacs

* 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

I cannot find phases-of-moon, as maybe you are reading that old-gnu Manual.

I have M-x lunar-phases

Friday, October 2, 2020: Full Moon 12:03am (EAT) 
Saturday, October 10, 2020: Last Quarter Moon 3:45am (EAT) 
Friday, October 16, 2020: New Moon 10:32pm (EAT) 
Friday, October 23, 2020: First Quarter Moon 4:24pm (EAT) 
Saturday, October 31, 2020: Full Moon 5:48pm (EAT) 
Sunday, November 8, 2020: Last Quarter Moon 4:51pm (EAT) 
Sunday, November 15, 2020: New Moon 8:09am (EAT) 
Sunday, November 22, 2020: First Quarter Moon 7:46am (EAT) 
Monday, November 30, 2020: Full Moon 12:29pm (EAT) ** Lunar Eclipse **
Tuesday, December 8, 2020: Last Quarter Moon 3:42am (EAT) 
Monday, December 14, 2020: New Moon 7:19pm (EAT) ** Solar Eclipse **
Tuesday, December 22, 2020: First Quarter Moon 2:43am (EAT) 
Wednesday, December 30, 2020: Full Moon 6:27am (EAT) ** Lunar Eclipse possible **



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Key binding phases of the moon
  2020-11-17 23:26 ` Jean Louis
@ 2020-11-18  0:21   ` Christopher Dimech
  0 siblings, 0 replies; 5+ messages in thread
From: Christopher Dimech @ 2020-11-18  0:21 UTC (permalink / raw)
  To: Jean Louis; +Cc: Help Gnu Emacs

> Sent: Wednesday, November 18, 2020 at 12:26 AM
> 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
>
> * 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
>
> I cannot find phases-of-moon, as maybe you are reading that old-gnu Manual.
>
> I have M-x lunar-phases

You are quite right.

> Friday, October 2, 2020: Full Moon 12:03am (EAT)
> Saturday, October 10, 2020: Last Quarter Moon 3:45am (EAT)
> Friday, October 16, 2020: New Moon 10:32pm (EAT)
> Friday, October 23, 2020: First Quarter Moon 4:24pm (EAT)
> Saturday, October 31, 2020: Full Moon 5:48pm (EAT)
> Sunday, November 8, 2020: Last Quarter Moon 4:51pm (EAT)
> Sunday, November 15, 2020: New Moon 8:09am (EAT)
> Sunday, November 22, 2020: First Quarter Moon 7:46am (EAT)
> Monday, November 30, 2020: Full Moon 12:29pm (EAT) ** Lunar Eclipse **
> Tuesday, December 8, 2020: Last Quarter Moon 3:42am (EAT)
> Monday, December 14, 2020: New Moon 7:19pm (EAT) ** Solar Eclipse **
> Tuesday, December 22, 2020: First Quarter Moon 2:43am (EAT)
> Wednesday, December 30, 2020: Full Moon 6:27am (EAT) ** Lunar Eclipse possible **
>
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-18  0:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2020-11-17 23:26 ` Jean Louis
2020-11-18  0:21   ` Christopher Dimech

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).