From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Prevent multi-line reformatting of embedded calc results Date: Thu, 05 Nov 2020 15:36:38 +0100 Message-ID: <87k0uzeuq1.fsf@gmail.com> References: <87o8kctcqz.fsf@ucl.ac.uk> <87tuu4jd76.fsf@gmail.com> <87361nuc92.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21306"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eric S Fraga Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 05 15:37:52 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kagOe-0005S1-R7 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 05 Nov 2020 15:37:52 +0100 Original-Received: from localhost ([::1]:59788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kagOd-0004PV-Sp for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 05 Nov 2020 09:37:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kagO3-0004Mt-U3 for help-gnu-emacs@gnu.org; Thu, 05 Nov 2020 09:37:15 -0500 Original-Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:37189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kagO2-0007Kl-63 for help-gnu-emacs@gnu.org; Thu, 05 Nov 2020 09:37:15 -0500 Original-Received: by mail-wr1-x42f.google.com with SMTP id w1so2045406wrm.4 for ; Thu, 05 Nov 2020 06:37:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=Gc45bwOLJ5mIyJOqSx9BhiJr141tbu83lp2cdywtoY8=; b=nIExJTPzPklRlEqfZ7Jv9TzFE9d4GXyDOwKZyDDVy9faGxGL3VKZTMQcReygcG1JqC uAvaQXSqZH9K3rDu8XHru4yl9mnOkgDiBhXYs/r+lCrF1E5sLKyJJvcHM/twX8BNheyC pks8CWMMMcgwdJuyU8AJGEYRFHazNLGXz5dx/NJlxbYf0XfU73qCNWprqXrtN3fywRFJ eJX7ilwpCjF9SzHTcDsoEWK8kUzNXe+BDw3JHJ+eJNty41gwAkkFh3ZNfbAp2QNNvp0m Wo+rtnLK1+cEaUPMTypDlUw3wzpW+FjcEorm80PO2xbGQrlwEWI9GaQ8qapUQIctJM88 sgzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=Gc45bwOLJ5mIyJOqSx9BhiJr141tbu83lp2cdywtoY8=; b=j0mBQAhEP8SLVupL++7geJS1J8SROntx27Yxyc9iyvBGCBPzVUKWr2Y3T3LFtD3Tqx R6wU3IM99NW+8pDSc+2M4yKiSZxR1Qthop+S37hkji1wb7BjcQ+MHzraeZ41z7PzRlov RdaJ9hehkKnK8X6E4Pl2ZAFGrLFD/l53fNhIoeD5prZFQ4FYGohS4gvxCTVKEzUqH1R3 oyC/9f4PPe70zgUCBY7Dt+HgTVhhjn4p1p0s4UuW6NbWKmbksxi1YZ1S2NLl0Zv5c2+E X5Bd2GB4iSHSUvGO0vFeWb05AScCea3ls1JVTklpwOX1rotVnMNhXWfKpSfY/2cFaHpq BzCQ== X-Gm-Message-State: AOAM531sat41VjCwV1N4vERBg8lYB+EIXqgPhfgY8LvcJUcwD/yG9Tkq nJsP1nPl3Qc4ZmkHrnY9eGZsKPJUaA4= X-Google-Smtp-Source: ABdhPJzi376fuBesXycmA9EQGuXRvv54Dtnl7jSyVdb1A5l1SRf9S+uex1l9Vwot0f/cEK9vCTVZ4w== X-Received: by 2002:adf:c547:: with SMTP id s7mr3354461wrf.222.1604587031610; Thu, 05 Nov 2020 06:37:11 -0800 (PST) Original-Received: from rltb (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id q2sm2590516wrw.40.2020.11.05.06.37.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2020 06:37:10 -0800 (PST) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87361nuc92.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Thu, 05 Nov 2020 14:08:57 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125013 Archived-At: Eric S Fraga 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=CA=BCs 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=CA=BCs even documented, kind of) Robert