From: Colin Baxter <m43cap@yandex.com>
To: Kyle Meyer <kyle@kyleam.com>
Cc: , 48718@debbugs.gnu.org
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 [thread overview]
Message-ID: <87a6oere9x.fsf@yandex.com> (raw)
In-Reply-To: <87tummkdxp.fsf@kyleam.com> (Kyle Meyer's message of "Fri, 28 May 2021 12:42:26 -0400")
Hello Kyle,
>>>>> Kyle Meyer <kyle@kyleam.com> writes:
> Colin Baxter writes:
>> 1. emacs -Q <RET> 2. C-x C-f test.tex <RET> 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 ‘~Active’ 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 ‘C-x * a’, or
> if you used ‘C-x * a’ 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 ‘M-- C-x *
> a’).
> 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.
next prev parent reply other threads:[~2021-05-28 16:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-28 15:41 bug#48718: 27.2; Mode-line still displays ~Active after LaTex embedded calc has ended Colin Baxter
2021-05-28 16:42 ` Kyle Meyer
2021-05-28 16:53 ` Colin Baxter [this message]
2022-07-15 11:43 ` Lars Ingebrigtsen
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=87a6oere9x.fsf@yandex.com \
--to=m43cap@yandex.com \
--cc=48718@debbugs.gnu.org \
--cc=kyle@kyleam.com \
/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.