From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-calc-default-modes not found!
Date: Sat, 14 Apr 2018 15:07:34 -0400 [thread overview]
Message-ID: <87y3hpy5c9.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 1869298.TNfinC2FCG@linux-vysj.suse
AW <alexander.willand@t-online.de> 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: @3$1=@1$1+@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
next prev parent reply other threads:[~2018-04-14 19:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-13 15:41 org-calc-default-modes not found! AW
2018-04-14 19:07 ` Nick Dokos [this message]
2018-04-14 20:34 ` AW
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y3hpy5c9.fsf@alphaville.usersys.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).