[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prevent multi-line reformatting of embedded calc results
From: |
Robert Pluim |
Subject: |
Re: Prevent multi-line reformatting of embedded calc results |
Date: |
Thu, 05 Nov 2020 15:36:38 +0100 |
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> On Thursday, 5 Nov 2020 at 11:43, Robert Pluim wrote:
>> You could override 'math-format-nice-expr' to not do that.
>
> Hi Robert,
>
> Thank you for this suggestion. It did not work but it did send me down
> a very interesting rabbit hole. :-) Calc code is, shall we say, somewhat
> terse at times.
>
Thatʼs one way to put it :-)
> I eventually got out of the rabbit hole and did so with a very simple
> solution:
>
> % [calc-mode: break: nil]
>
> I should have known that Calc would have what I want; it's just that
> there's so much that it's difficult to find what you need at times. The
> key, for embedded mode, is the variable calc-embedded-mode-vars which
> tells you what mode settings are possible/understood.
That tells me I looked at completely the wrong part of the code :-)
(hey, itʼs even documented, kind of)
Robert