]> git.eshelyaron.com Git - emacs.git/commitdiff
(calendar-iso-from-absolute): Add autoload cookie.
authorGlenn Morris <rgm@gnu.org>
Thu, 26 Jun 2008 03:43:18 +0000 (03:43 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 26 Jun 2008 03:43:18 +0000 (03:43 +0000)
etc/NEWS
lisp/ChangeLog
lisp/calendar/cal-iso.el

index a280ba94ac6e926250337dca2d0c08d5a4d4fbf1..2b74494cccf37546394ec3af1f214ed89ff5b5ab 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -521,6 +521,14 @@ prefixes, eg `calendar-french-'.  The old names you are likely to use
 directly still exist, for the time being, as aliases, but please start
 using the new names.
 
+*** The whitespace in the calendar layout can be customized.
+See the variables:
+calendar-left-margin, calendar-intermonth-spacing, calendar-column-width,
+calendar-day-header-width, and calendar-day-digit-width.
+
+*** Text (e.g. ISO weeks) can be displayed between the calendar months.
+See the variables calendar-intermonth-header and calendar-intermonth-text.
+
 *** The function `holiday-chinese' computes holidays on the Chinese calendar.
 It has been used to add items to the list `holiday-oriental-holidays'.
 
index 7d67a5576c82f49f1fd4770ff4e811fdd9d29ac5..76728eca4b8b8f4df500c30526cb62c40392bc9e 100644 (file)
@@ -1,3 +1,34 @@
+2008-06-26  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/calendar.el (calendar-date-echo-text): Doc fix.
+       Add default :value for sexp type.
+       (calendar-month-edges): New variable.
+       (calendar-month-edges): New function.
+       (calendar-recompute-layout-variables): Set calendar-month-edges.
+       (calendar-intermonth-header, calendar-intermonth-text): New options.
+       (calendar-insert-at-column): New function.
+       (calendar-generate-month): Use calendar-insert-at-column.
+       Handle intermonth text.  Add 'date property.
+       (calendar-column-to-month): Remove function.
+       (calendar-column-to-segment): New function.
+       (calendar-cursor-to-date): Use calendar-column-to-segment.
+       Check 'date property.
+
+       * calendar/calendar.el (calendar-print-other-dates):
+       Handle mouse events.
+       * calendar/cal-menu.el (calendar-mouse-print-dates): Remove function.
+       (cal-menu-context-mouse-menu): Use calendar-print-other-dates.
+
+       * calendar/cal-move.el (calendar-cursor-to-nearest-date):
+       Use calendar-column-to-segment, calendar-month-edges, and
+       the 'date property to handle intermonth text.
+
+       * calendar/cal-iso.el (calendar-iso-from-absolute): Add autoload cookie.
+
+       * calendar/cal-menu.el (cal-menu-moon-menu, cal-menu-diary-menu)
+       (cal-menu-holidays-menu, cal-menu-goto-menu, cal-menu-scroll-menu):
+       Add doc strings.
+
 2008-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * minibuffer.el (completion-basic-try-completion): Use the text after
index cd50074be2bad29088a43e9c7e66f037d626f6f0..822bfb02655e4fd3bd16cfb67f7086685d90090a 100644 (file)
@@ -50,6 +50,7 @@ Sunday).  The Gregorian date Sunday, December 31, 1 BC is imaginary."
 (define-obsolete-function-alias 'calendar-absolute-from-iso
   'calendar-iso-to-absolute "23.1")
 
+;;;###cal-autoload
 (defun calendar-iso-from-absolute (date)
   "Compute the `ISO commercial date' corresponding to the absolute DATE.
 The ISO year corresponds approximately to the Gregorian year, but weeks