From: Ypo <ypuntot@gmail.com>
To: Michael Heerdegen <michael_heerdegen@web.de>,
Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Is there a list with calc modes for calc embedded?
Date: Tue, 16 Jan 2024 23:05:21 +0100 [thread overview]
Message-ID: <fa03e417-59b2-6d10-a7ec-dc8e02263348@gmail.com> (raw)
In-Reply-To: <87r0ijmp1t.fsf@web.de>
Lovely!
# [calc-mode: angles: rad]
sin(pi) => 0.
Thanks!!!
On 15/01/2024 1:13, Michael Heerdegen wrote:
> Ypo<ypuntot@gmail.com> writes:
>
>> I have tried:
>>
>> % [calc-mode: calc-angle-mode : calc-radians-mode]
>> % [calc-mode: calc-angle-mode : radians-mode]
>> % [calc-mode: calc-radians-mode : t]
>>
>> sin(90) => 1
> The Calc manual suggests to switch the according setting when embedded
> mode is active to let Calc insert the spec itself. Did you try that?
>
>> But I never get the result in radians. Is there a list where I could
>> see all the calc-modes we can use in embedded calc?
> That should be `calc-embedded-mode-vars' AFAIU.
>
> Michael.
On 16/01/2024 16:38, Eric S Fraga wrote:
> On Saturday, 13 Jan 2024 at 14:57, Ypo wrote:
>> I have tried:
>>
>> % [calc-mode: calc-angle-mode : calc-radians-mode]
>> % [calc-mode: calc-angle-mode : radians-mode]
>> % [calc-mode: calc-radians-mode : t]
> Try
>
> % [calc-mode: angles: rad]
>
> Easy way to generate this line: enter embedded edit mode (C-x *e) and
> then ask for radians mode (m r). Emacs Calc should add the line
> automatically for you.
>
> HTH,
> eric
>
next prev parent reply other threads:[~2024-01-16 22:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-13 13:57 Is there a list with calc modes for calc embedded? Ypo
2024-01-15 0:13 ` Michael Heerdegen
2024-01-16 22:05 ` Ypo [this message]
2024-01-16 15:38 ` Eric S Fraga
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fa03e417-59b2-6d10-a7ec-dc8e02263348@gmail.com \
--to=ypuntot@gmail.com \
--cc=e.fraga@ucl.ac.uk \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
/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.
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).