GNU bug report logs - #45917
[PATCH] Use big brackets in Calc in big mode

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattiase <at> acm.org>

Date: Sat, 16 Jan 2021 17:11:01 UTC

Severity: normal

Tags: patch

Done: Mattias Engdegård <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mattias Engdegård <mattiase <at> acm.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#45917: closed ([PATCH] Use big brackets in Calc in big mode)
Date: Tue, 19 Jan 2021 18:00:05 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 19 Jan 2021 18:59:20 +0100
with message-id <5014EA86-B44E-462C-B626-879C1D2F8395 <at> acm.org>
and subject line Re: bug#45917: [PATCH] Use big brackets in Calc in big mode
has caused the debbugs.gnu.org bug report #45917,
regarding [PATCH] Use big brackets in Calc in big mode
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
45917: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45917
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mattias Engdegård <mattiase <at> acm.org>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Use big brackets in Calc in big mode
Date: Sat, 16 Jan 2021 18:10:31 +0100
[Message part 3 (text/plain, inline)]
The attached patch makes Calc use big brackets in Big mode when the Unicode characters are available. This makes for prettier display which is sort of the point of using Big mode. It follows previous use of Unicode characters for square root and integral signs.

The code supports big versions of round, square and curly brackets. Big square brackets are currently only used for intervals and curly ones not at all (maybe they could be put to use for Stirling numbers of the second kind).

Matrices do not use big brackets but they probably should since it is standard mathematical notation.

As far as I can tell the only reasons for not applying this would be that it is common with fonts or terminals where this doesn't look good, or that the resulting formula isn't recognised by the embedded-mode parser (which is already the case with several other constructs).

[0001-Calc-use-big-Unicode-brackets-in-Big-mode-when-avail.patch (application/octet-stream, attachment)]
[Message part 5 (text/plain, inline)]

[Message part 6 (message/rfc822, inline)]
From: Mattias Engdegård <mattiase <at> acm.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 45917-done <at> debbugs.gnu.org
Subject: Re: bug#45917: [PATCH] Use big brackets in Calc in big mode
Date: Tue, 19 Jan 2021 18:59:20 +0100
19 jan. 2021 kl. 16.45 skrev Lars Ingebrigtsen <larsi <at> gnus.org>:

>> Maybe, but Calc already has rather too many variables and should we
>> have separate variables for all non-ASCII features then, like the
>> square root sign?
> 
> Possibly?  But I see you've just pushed a fix for parsing the root
> sign.  :-)

Yes, it turned out to be easy! Parsing big brackets is probably not quite as easy; I'm not even going to try.

>> We are just speculating here. I'd hoped for concrete cheerful evidence
>> like 'looks terrible on my terminal', 'completely destroys
>> embedded-mode for me'...
> 
> I'm guessing you won't get feedback like that until you push this
> change.  :-)

Right, now done. Let's see if anything turns up.



This bug report was last modified 4 years and 123 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.