all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Prevent multi-line reformatting of embedded calc results
Date: Thu, 05 Nov 2020 15:36:38 +0100	[thread overview]
Message-ID: <87k0uzeuq1.fsf@gmail.com> (raw)
In-Reply-To: <87361nuc92.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Thu, 05 Nov 2020 14:08:57 +0000")

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



      reply	other threads:[~2020-11-05 14:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-05  8:43 Prevent multi-line reformatting of embedded calc results Eric S Fraga
2020-11-05 10:43 ` Robert Pluim
2020-11-05 14:08   ` Eric S Fraga
2020-11-05 14:36     ` Robert Pluim [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0uzeuq1.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.