/alarm-clock

An alarm clock for Emacs

Primary LanguageEmacs Lisp

alarm-clock

MELPA License

An alarm clock for Emacs

Requirements

Get started

  • Via MELPA.

  • Get alarm-clock

    • Manually download alarm-clock and set-up your load path.
  • To auto-start alarm-clock every time you open Emacs add these lines to your .emacs file:

      (require 'alarm-clock) ; Not needed if you use package.el
    

Basic Usage

alarm-clock-set

Set an alarm clock with the time following tips.
TIME can be "6"(6 seconds), "11 minutes", "10 hours", "11:40pm", etc.
MESSAGE will be shown when notifying at setting time.

alarm-clock-list-view

Display the alarm clock list.
Use a to set a new alarm clock, d or C-k to delete current alarm
clock, g to refresh the view, and space (' ') to turn off
a ringing alarm (M-x alarm-clock-stop).

alarm-clock-stop

Turn off the currently ringing alarm.

alarm-clock-save

Save alarm-clock to cache file.

alarm-clock-restore

Restore alarm-clock from cache file.

Configurations

Enable autosave-and-restore feature

  • Change cache file path by setting the variable alarm-clock-cache-file to any file path you like.

  • Add these lines to your .emacs file:

      (alarm-clock-turn-autosave-on)
    

Q & A

  • Meet (wrong-type-argument package-desc nil) on Mac OSX.

    • Install gnu-tar.

      brew install gnu-tar

    • Try to set quelpa-build-tar-executable to the path of gtar, (e.g "/usr/local/bin/gtar").

    • Then reinstall this package.

Appendix

I'd be glad to receive patches, comments and your considered criticism.

Have fun with alarm-clock!