From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-calc-default-modes not found! Date: Sat, 14 Apr 2018 15:07:34 -0400 Message-ID: <87y3hpy5c9.fsf@alphaville.usersys.redhat.com> References: <1869298.TNfinC2FCG@linux-vysj.suse> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7QWa-0000Xh-AD for emacs-orgmode@gnu.org; Sat, 14 Apr 2018 15:07:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7QWX-0006N1-4P for emacs-orgmode@gnu.org; Sat, 14 Apr 2018 15:07:48 -0400 Received: from [195.159.176.226] (port=52676 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f7QWW-0006LR-Se for emacs-orgmode@gnu.org; Sat, 14 Apr 2018 15:07:45 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1f7QUN-0008C9-AJ for emacs-orgmode@gnu.org; Sat, 14 Apr 2018 21:05:31 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org AW 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