1. 04 May, 2014 1 commit
    • Leo Liu's avatar
      Support Chinese diary entries in calendar and diary · bbdcf64f
      Leo Liu authored
      * doc/emacs/cal-xtra.texi (Non-Gregorian Diary): Document new features for
      Chinese calendar and diary.
      
      * etc/NEWS: Mention support for Chinese dates in calendar and diary.
      
      * lisp/calendar/cal-china.el (calendar-chinese-month-name-array): New var.
      (calendar-chinese-from-absolute-for-diary)
      (calendar-chinese-to-absolute-for-diary)
      (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
      (diary-chinese-list-entries): New functions to list and mark
      Chinese diary entries in the calendar window.
      (diary-chinese-anniversary)
      (diary-chinese-insert-anniversary-entry)
      (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
      (diary-chinese-insert-yearly-entry): New commands to insert
      Chinese diary entries.
      
      * lisp/calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
      inserting Chinese diary entries.
      
      * lisp/calendar/calendar.el (diary-chinese-entry-symbol): New
      customizable variable.
      (calendar-mode-map): Add bindings for inserting Chinese diary
      entries.
      
      * lisp/calendar/diary-lib.el (diary-font-lock-keywords): Support
      font-locking Chinese dates.
      
      Fixes: debbugs:17393
      bbdcf64f
  2. 01 Jan, 2014 1 commit
  3. 29 Aug, 2013 1 commit
  4. 01 Jan, 2013 1 commit
  5. 11 Jan, 2012 1 commit
  6. 05 Jan, 2012 1 commit
  7. 19 Apr, 2011 1 commit
    • Glenn Morris's avatar
      calendar housekeeping prompted by lexical-binding. · bc4f7f3d
      Glenn Morris authored
      * lisp/calendar/appt.el (appt-make-list):
      * lisp/calendar/cal-china.el (calendar-chinese-date-string):
      * lisp/calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
      (diary-hebrew-yahrzeit):
      * lisp/calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
      * lisp/calendar/calendar.el (calendar-generate-window):
      * lisp/calendar/time-date.el (time-to-days):
      Remove unused local variables.
      
      * lisp/calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
      optional argument `style'.
      
      * lisp/calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
      (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
      (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
      (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
      * lisp/calendar/cal-html.el (cal-html-insert-minical):
      * lisp/calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
      (calendar-mark-date-pattern):
      Prefix "unused" locals.
      bc4f7f3d
  8. 25 Jan, 2011 1 commit
  9. 15 Jan, 2011 1 commit
  10. 02 Jan, 2011 1 commit
  11. 29 Aug, 2010 1 commit
  12. 13 Jan, 2010 1 commit
  13. 05 Sep, 2009 1 commit
  14. 05 Jan, 2009 1 commit
  15. 06 May, 2008 1 commit
  16. 23 Apr, 2008 1 commit
  17. 12 Apr, 2008 1 commit
  18. 11 Apr, 2008 1 commit
  19. 08 Apr, 2008 1 commit
  20. 07 Apr, 2008 1 commit
  21. 06 Apr, 2008 1 commit
  22. 05 Apr, 2008 1 commit
    • Glenn Morris's avatar
      (calendar-chinese): Rename custom group from chinese-calendar. Update users. · 0b41781b
      Glenn Morris authored
      (calendar-chinese-time-zone): Rename chinese-calendar-time-zone.
      Keep old name as alias, update users.
      (calendar-chinese-location-name): Rename chinese-calendar-location-name.
      Keep old name as alias.
      (calendar-chinese-daylight-time-offset):
      Rename chinese-calendar-daylight-time-offset.  Keep old name as alias,
      update users.
      (calendar-chinese-standard-time-zone-name):
      Rename chinese-calendar-standard-time-zone-name.
      Keep old name as alias, update users.
      (calendar-chinese-daylight-saving-start):
      Rename chinese-calendar-daylight-savings-starts.
      Keep old name as alias, update users.
      (calendar-chinese-daylight-saving-end):
      Rename chinese-calendar-daylight-savings-ends.  Keep old name as alias,
      update users.
      (calendar-chinese-daylight-saving-start-time):
      Rename chinese-calendar-daylight-savings-starts-time.
      Keep old name as alias, update users.
      (calendar-chinese-daylight-saving-end-time):
      Rename chinese-calendar-daylight-savings-ends-time.
      Keep old name as alias, update users.
      (calendar-chinese-celestial-stem): Rename
      calendar-chinese-celestial-stem.  Keep old name as alias, update users.
      (calendar-chinese-terrestrial-branch):
      Rename calendar-chinese-terrestrial-branch.  Keep old name as alias,
      update users.
      (calendar-chinese-zodiac-sign-on-or-after):
      Rename chinese-zodiac-sign-on-or-after.  Update callers.
      (calendar-chinese-new-moon-on-or-after): Rename chinese-new-moon-on-or-after.
      Update callers.
      (calendar-chinese-month-list): Rename chinese-month-list.  Update callers.
      (calendar-chinese-number-months): Rename number-chinese-months.  Update callers.
      (calendar-chinese-compute-year): Rename compute-chinese-year.  Update callers.
      (calendar-chinese-year-cache): Rename chinese-year-cache.  Update users.
      (calendar-chinese-year): Rename chinese-year.  Update callers.
      (calendar-chinese-year-cache-init): Rename chinese-year-cache-init.
      (calendar-chinese-to-absolute): Rename calendar-absolute-from-chinese.
      Keep old name as alias, update callers.
      (calendar-chinese-print-date): Rename calendar-print-chinese-date.
      Keep old name as alias, update callers.
      (calendar-chinese-months-to-alist): Rename make-chinese-month-assoc-list.
      Update callers.
      (calendar-chinese-months): Rename chinese-months.  Update callers.
      (calendar-chinese-goto-date): Rename calendar-goto-chinese-date.
      Keep old name as alias, update callers.
      0b41781b
  23. 04 Apr, 2008 1 commit
  24. 02 Apr, 2008 2 commits
  25. 01 Apr, 2008 1 commit
  26. 31 Mar, 2008 2 commits
  27. 26 Mar, 2008 1 commit
  28. 20 Mar, 2008 1 commit
  29. 16 Mar, 2008 1 commit
  30. 15 Mar, 2008 1 commit
  31. 14 Mar, 2008 1 commit
    • Glenn Morris's avatar
      Re-order so that functions are defined before use. · 465323b6
      Glenn Morris authored
      (displayed-month, displayed-year): Move declarations where needed.
      (chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
      (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
      Add doc strings.
      (chinese-year-cache): Recenter on 2010.  Doc fix.
      (chinese-year, number-chinese-months, calendar-absolute-from-chinese):
      Doc fix.  Simplify.
      (chinese-year-cache-init): New function.
      (compute-chinese-year, holiday-chinese-new-year)
      (calendar-chinese-date-string, calendar-goto-chinese-date)
      (make-chinese-month-assoc-list): Use cadr, nth.
      (chinese-months): Remove un-needed let.
      465323b6
  32. 13 Mar, 2008 1 commit
  33. 08 Mar, 2008 4 commits
  34. 07 Mar, 2008 1 commit
  35. 07 Jan, 2008 1 commit