Default format for calc changed to (fload 8)

This gives better accuracy and less surprises.
This commit is contained in:
Carsten Dominik 2008-05-16 12:34:24 +02:00
parent 56a96e0364
commit 8ee2a8b7d8
4 changed files with 9 additions and 3 deletions

View File

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

View File

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

View File

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

View File

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