Reserve 10 chars for weekday name in agenda.

This to accommodate German locale.
This commit is contained in:
Carsten Dominik 2008-03-21 15:36:56 +01:00
parent 37b3e9cae2
commit f2ab617d2a
2 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,8 @@
(org-entry-get): Respect value `selective' for the INHERIT
argument.
(org-tag-inherit-p, org-property-inherit-p): New functions.
(org-agenda-format-date-aligned): Allow 10 characters for
weekday, to acomodate German locale.
* org.texi (Property inheritance, Tag inheritance): Document
selective inheritance.

3
org.el
View File

@ -2932,7 +2932,7 @@ This function makes sure that dates are aligned for easy reading."
(weekstring (if (= day-of-week 1)
(format " W%02d" iso-week)
"")))
(format "%-9s %2d %s %4d%s"
(format "%-10s %2d %s %4d%s"
dayname day monthname year weekstring)))
(defcustom org-agenda-include-diary nil
@ -28400,7 +28400,6 @@ work correctly."
;;;; Functions extending outline functionality
(defun org-beginning-of-line (&optional arg)
"Go to the beginning of the current line. If that is invisible, continue
to a visible line beginning. This makes the function of C-a more intuitive.