From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.bugs Subject: bug#48718: 27.2; Mode-line still displays ~Active after LaTex embedded calc has ended Date: Fri, 28 May 2021 17:53:14 +0100 Message-ID: <87a6oere9x.fsf@yandex.com> References: <87im32rhks.fsf@yandex.com> <87tummkdxp.fsf@kyleam.com> 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="21470"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: , 48718@debbugs.gnu.org To: Kyle Meyer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 28 18:54:35 2021 Return-path: Envelope-to: geb-bug-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 1lmfkp-0005Ln-93 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 May 2021 18:54:35 +0200 Original-Received: from localhost ([::1]:51172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmfko-0006ly-CF for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 May 2021 12:54:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmfkK-0006ll-5b for bug-gnu-emacs@gnu.org; Fri, 28 May 2021 12:54:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmfkI-0007Rb-HQ for bug-gnu-emacs@gnu.org; Fri, 28 May 2021 12:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lmfkI-0007pi-BK for bug-gnu-emacs@gnu.org; Fri, 28 May 2021 12:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Colin Baxter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 May 2021 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48718 X-GNU-PR-Package: emacs Original-Received: via spool by 48718-submit@debbugs.gnu.org id=B48718.162222082630085 (code B ref 48718); Fri, 28 May 2021 16:54:02 +0000 Original-Received: (at 48718) by debbugs.gnu.org; 28 May 2021 16:53:46 +0000 Original-Received: from localhost ([127.0.0.1]:55251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmfjy-0007p5-TX for submit@debbugs.gnu.org; Fri, 28 May 2021 12:53:46 -0400 Original-Received: from forward101o.mail.yandex.net ([37.140.190.181]:47714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmfjh-0007oQ-Fv for 48718@debbugs.gnu.org; Fri, 28 May 2021 12:53:41 -0400 Original-Received: from iva5-8cd627e71aff.qloud-c.yandex.net (iva5-8cd627e71aff.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:7b87:0:640:8cd6:27e7]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 018A23C0205E; Fri, 28 May 2021 19:53:17 +0300 (MSK) Original-Received: from iva6-2d18925256a6.qloud-c.yandex.net (iva6-2d18925256a6.qloud-c.yandex.net [2a02:6b8:c0c:7594:0:640:2d18:9252]) by iva5-8cd627e71aff.qloud-c.yandex.net (mxback/Yandex) with ESMTP id uoUzi7joBw-rGJSOARK; Fri, 28 May 2021 19:53:16 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1622220796; bh=l8lQU+FC4NKO5pl9dEdzJFFkkJaav+nqSjT8+46rSvs=; h=In-Reply-To:Subject:To:From:Message-ID:Cc:Cc:Date:References; b=DMZcFDOt4Fl9CYBKybJoeo9CgjjSe0Uimo250maHOusAv7Grbxwi6+o2sDqErqIuj VHgsI4ma4RLba9+WBnScAGe3yG7irbdScdzcvYRhmqVlTDl/o448fxrrJll6JTZXCt tgtszcKuBIfMk2AKdZnlEK/QnG2l6xijIWQ0WixY= Authentication-Results: iva5-8cd627e71aff.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by iva6-2d18925256a6.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id HdKvNegrqy-rFMqTUY5; Fri, 28 May 2021 19:53:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: <87tummkdxp.fsf@kyleam.com> (Kyle Meyer's message of "Fri, 28 May 2021 12:42:26 -0400") Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207469 Archived-At: Hello Kyle, >>>>> Kyle Meyer writes: > Colin Baxter writes: >> 1. emacs -Q 2. C-x C-f test.tex 3. Mode line says >> "LaTeX" 3. In buffer enter $2*2$ 4. With point in expression do >> C-x * e. 8. $2*2$ changes to $4$. 9. Echo area gives message >> "Embedded Calc mode enabled; Give this command again to return to >> normal". Mode-line says "LaTeX ~Active". 10. Give command C-x * >> e again. 11. Buffer returns to normal with message "Back to >> LaTeX mode". 12. But mode-line still displays "LaTeX ~Active", >> and does so until the buffer is killed. > As far as I understand, that's by design. It indicates that > formulas are still active in the buffer. > From (info "(calc)Assignments in Embedded Mode"): > [...] Calc puts =E2=80=98~Active=E2=80=99 in the mode line if some,= but probably > not all, formulas in the buffer are active. This happens if you > activate a few formulas one at a time but never use =E2=80=98C-x * a= =E2=80=99, or > if you used =E2=80=98C-x * a=E2=80=99 but then Calc had to deactivate= a formula > because it lost track of it. If neither of these symbols appears > in the mode line, no embedded formulas are active in the buffer > (e.g., before Embedded mode has been used, or after a =E2=80=98M-- C-= x * > a=E2=80=99). > You should see an entry for the buffer in the variable > calc-embedded-active. Invoking the keybinding mentioned in the > last sentence quoted above (triggering calc-embedded-forget) > should remove the buffer's entry from calc-embedded-active and > "~Active" from the mode line. Well yes, but the above information has to be gleaned from info. The user is just told that another C-x * e will return things to normal. This is not the case. I think at the very least the user should be given further information. Best wishes, Colin.