فهرست منبع

Default format for calc changed to (fload 8)

This gives better accuracy and less surprises.
Carsten Dominik 17 سال پیش
والد
کامیت
8ee2a8b7d8
4فایلهای تغییر یافته به همراه9 افزوده شده و 3 حذف شده
  1. 3 1
      doc/org.texi
  2. 3 0
      lisp/ChangeLog
  3. 2 1
      lisp/org-clock.el
  4. 1 1
      lisp/org-table.el

+ 3 - 1
doc/org.texi

@@ -4943,7 +4943,9 @@ filed below the target heading as a subitem.  Depending on
 subitem.@* By default, all level 1 headlines in the current buffer are
 considered to be targets, but you can have more complex definitions
 across a number of files.  See the variable @code{org-refile-targets}
-for details.
+for details.  If you would like to select a location via a file-pathlike
+completion along the outline path, see the variable
+@code{org-refile-use-outline-path}.
 @kindex C-u C-c C-w
 @item C-u C-c C-w
 Use the refile interface to jump to a heading.

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
 
+	* org-table.el (org-calc-default-modes): Change default number
+	format to (float 8).
+
 	* org.el (org-olpath-completing-read): New function.
 	(org-time-clocksum-format): New option.
 	(org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.

+ 2 - 1
lisp/org-clock.el

@@ -499,6 +499,7 @@ This creates a new overlay and stores it in `org-clock-overlays', so that it
 will be easy to remove."
   (let* ((c 60) (h (floor (/ time 60))) (m (- time (* 60 h)))
 	 (l (if level (org-get-valid-level level 0) 0))
+	 (fmt (concat "%s " org-time-clocksum-format "%s"))
 	 (off 0)
 	 ov tx)
     (org-move-to-column c)
@@ -507,7 +508,7 @@ will be easy to remove."
     (setq ov (org-make-overlay (1- (point)) (point-at-eol))
 	  tx (concat (buffer-substring (1- (point)) (point))
 		     (make-string (+ off (max 0 (- c (current-column)))) ?.)
-		     (org-add-props (format "%s %2d:%02d%s"
+		     (org-add-props (format fmt
 					    (make-string l ?*) h m
 					    (make-string (- 16 l) ?\ ))
 			 '(face secondary-selection))

+ 1 - 1
lisp/org-table.el

@@ -187,7 +187,7 @@ t:      accept as input and present for editing"
 
 (defcustom org-calc-default-modes
   '(calc-internal-prec 12
-    calc-float-format  (float 5)
+    calc-float-format  (float 8)
     calc-angle-mode    deg
     calc-prefer-frac   nil
     calc-symbolic-mode nil