开源软件名称(OpenSource Name):xwl/cal-china-x
开源软件地址(OpenSource Url):https://github.com/xwl/cal-china-x
开源编程语言(OpenSource Language):
Emacs Lisp
100.0%
开源软件介绍(OpenSource Introduction):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 mark-holidays-in-calendar t)
(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:
Also available in melpa .
For aligning Chinese and English font, chinese-fonts-setup may be helpful.
|
请发表评论