10000 GitHub - emacsmirror/cal-china-x: Chinese localization, lunar/horoscope/zodiac info and more..
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Chinese localization, lunar/horoscope/zodiac info and more..

Notifications You must be signed in to change notification settings

emacsmirror/cal-china-x

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

chinese calendar

This extension mainly adds the following extra features:

  • Chinese localizations
  • Display holiday, lunar(农历), horoscope(星座), zodiac(属相、十二生肖), solar term(节气) info on mode line
  • Define holidays using holiday-lunar, holiday-solar-term
  • Highlight holidays based on different priorities
  • Add cal-china-x-chinese-holidays, cal-china-x-japanese-holidays.
  • custom week diary(like weeks in school)

To use, add something like the following to your .emacs:

(require 'cal-china-x)
(setq calendar-mark-holidays-flag t)
;; (setq mark-holidays-in-calendar t) ; before emacs-25
(setq cal-china-x-important-holidays cal-china-x-chinese-holidays)
(setq cal-china-x-general-holidays '((holiday-lunar 1 15 "元宵节")))
(setq calendar-holidays
      (append cal-china-x-important-holidays
              cal-china-x-general-holidays
              other-holidays))

Here is a screenshot:

chinese calendar

Also available in melpa .

For aligning Chinese and English font, chinese-fonts-setup may be helpful.

About

Chinese localization, lunar/horoscope/zodiac info and more..

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Languages

  • Emacs Lisp 100.0%
0