Browse Source

Reserve 10 chars for weekday name in agenda.

This to accommodate German locale.
Carsten Dominik 17 years ago
parent
commit
f2ab617d2a
2 changed files with 3 additions and 2 deletions
  1. 2 0
      ChangeLog
  2. 1 2
      org.el

+ 2 - 0
ChangeLog

@@ -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.

+ 1 - 2
org.el

@@ -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.