emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-calc-default-modes not found!


From: Nick Dokos
Subject: Re: [O] org-calc-default-modes not found!
Date: Sat, 14 Apr 2018 15:07:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

AW <address@hidden> writes:

> Dear list!
>
> org-version: Org mode version 9.1.9 (9.1.9-8-gf05c2e-elpa @ .../.emacs.d/elpa/
> org-20180409/)
>
> [I shortened the path]
>
> C-h v org-calc TAB
>
> results in [No match]
>
> Expected result: find variable org-calc-default-modes
>
> But I'd like to set (float 8) to (float 16) in orgtbl-mode tables, because 
> when I export them to LaTex, in my case I get some rounding errors I'd like 
> to 
> avoid. 
>
> However, I'm really concerned about the fact that the whole variable isn't 
> found.
>
> org-table.el is there and it contains the variable. I loaded org-mode via 
>
> (add-to-list 'package-archives
>  '("org" . "https://orgmode.org/elpa/";) t)
>
> No other org-mode around, as far as I can see. 
>
> For testing  I inserted into my .emacs under custom-set-variables these lines:
>
> '(org-calc-default-modes
>    (quote
>     (calc-internal-prec 12 calc-float-format
>                       (float 16)
>                       calc-angle-mode deg calc-prefer-frac nil 
> calc-symbolic-mode nil 
> calc-date-format
>                       (YYYY "-" MM "-" DD " " Www
>                             (" " hh ":" mm))
>                       calc-display-working-message t)))
>
> As far as I can see, the calculation is correct, Example:
>
> | 105000200.77 |
> | 105000400.05 |
> |--------------|
> | 210000600.82 |
>
> #+TBLFM: @address@hidden@2$1
>
> But why is the variable not found?
>

Just a guess.

You need to load org-table.el where the variable is defined. That file
is probably set up to be autoloaded when you invoke some table
functions, but if you have not invoked any of the autoloads yet, then
you might encounter this problem.

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]