<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/lisp/calc, branch scratch/exec-byte-code</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>* lisp/calc/calc.el (calc): Ony substitute binding of</title>
<updated>2025-09-14T11:10:08+00:00</updated>
<author>
<name>Andreas Schwab</name>
</author>
<published>2024-10-18T20:39:34+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d37a55c0c80b4123c56d82978acd1cafaadd4ee3'/>
<id>d37a55c0c80b4123c56d82978acd1cafaadd4ee3</id>
<content type='text'>
calc-help-prefix after calc-ext has been loaded.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
calc-help-prefix after calc-ext has been loaded.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix recursive load when 'calc-always-load-extensions' is set</title>
<updated>2025-08-30T07:26:20+00:00</updated>
<author>
<name>Sean Devlin</name>
</author>
<published>2025-08-02T15:51:18+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=b85f9d6a97eb379bd7a461bc1b3499846eb1d933'/>
<id>b85f9d6a97eb379bd7a461bc1b3499846eb1d933</id>
<content type='text'>
* lisp/calc/calc.el (calc-create-buffer): Call 'calc-load-everything'.
(calc-always-load-extensions): Delete erroneous stanza.  (Bug#79157)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/calc/calc.el (calc-create-buffer): Call 'calc-load-everything'.
(calc-always-load-extensions): Delete erroneous stanza.  (Bug#79157)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add user option to inhibit Calc startup message (bug#79143)</title>
<updated>2025-08-30T07:22:06+00:00</updated>
<author>
<name>Sean Devlin</name>
</author>
<published>2025-08-02T14:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=aa60f16e6651721aaa3b8f92549b50832f2d213c'/>
<id>aa60f16e6651721aaa3b8f92549b50832f2d213c</id>
<content type='text'>
* doc/misc/calc.texi (Customizing Calc): Document the new option.
* etc/NEWS: Document the new option.
* lisp/calc/calc.el (calc-inhibit-startup-message): New option to
inhibit Calc’s startup message.
(calc): Respect the option in Calc’s startup code.
* test/lisp/calc/calc-tests.el (ert): Require ert-x for
'ert-with-message-capture'.
(calc-inhibit-startup-message): Test the new user option.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/misc/calc.texi (Customizing Calc): Document the new option.
* etc/NEWS: Document the new option.
* lisp/calc/calc.el (calc-inhibit-startup-message): New option to
inhibit Calc’s startup message.
(calc): Respect the option in Calc’s startup code.
* test/lisp/calc/calc-tests.el (ert): Require ert-x for
'ert-with-message-capture'.
(calc-inhibit-startup-message): Test the new user option.
</pre>
</div>
</content>
</entry>
<entry>
<title>calc: Allow strings with character codes above Latin-1</title>
<updated>2025-06-14T14:07:19+00:00</updated>
<author>
<name>Jacob S. Gordon</name>
</author>
<published>2025-05-19T19:05:37+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5bd9fa084dcf0ce8efaaf9212c24addec48d824f'/>
<id>5bd9fa084dcf0ce8efaaf9212c24addec48d824f</id>
<content type='text'>
The current behavior of the functions 'calc-display-strings',
'strings', and 'bstrings' is to skip any vector containing
integers outside the Latin-1 range (0x00-0xFF).  We introduce a
custom variable 'calc-string-maximum-character' to replace this
hard-coded maximum, and to allow vectors containing higher
character codes to be displayed as strings.  The default value
of 0xFF preserves the existing behavior.

* lisp/calc/calc.el (calc-string-maximum-character): Add custom
variable 'calc-string-maximum-character'.
* lisp/calc/calccomp.el (math-vector-is-string): Replace hard-coded
maximum with 'calc-string-maximum-character', and the 'natnump'
assertion with 'characterp'.  The latter guards against the
maximum being larger than '(max-char)', but not on invalid types of
the maximum such as strings.

* test/lisp/calc/calc-tests.el (calc-math-vector-is-string): Add
tests for 'math-vector-is-string' using different values of
'calc-string-maximum-character'.

* doc/misc/calc.texi (Quick Calculator, Strings, Customizing Calc):
Add variable definition for 'calc-string-maximum-character' and
reference thereof when discussing 'calc-display-strings'.
Generalize a comment about string display and availability of 8-bit
fonts.
(Bug#78528)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current behavior of the functions 'calc-display-strings',
'strings', and 'bstrings' is to skip any vector containing
integers outside the Latin-1 range (0x00-0xFF).  We introduce a
custom variable 'calc-string-maximum-character' to replace this
hard-coded maximum, and to allow vectors containing higher
character codes to be displayed as strings.  The default value
of 0xFF preserves the existing behavior.

* lisp/calc/calc.el (calc-string-maximum-character): Add custom
variable 'calc-string-maximum-character'.
* lisp/calc/calccomp.el (math-vector-is-string): Replace hard-coded
maximum with 'calc-string-maximum-character', and the 'natnump'
assertion with 'characterp'.  The latter guards against the
maximum being larger than '(max-char)', but not on invalid types of
the maximum such as strings.

* test/lisp/calc/calc-tests.el (calc-math-vector-is-string): Add
tests for 'math-vector-is-string' using different values of
'calc-string-maximum-character'.

* doc/misc/calc.texi (Quick Calculator, Strings, Customizing Calc):
Add variable definition for 'calc-string-maximum-character' and
reference thereof when discussing 'calc-display-strings'.
Generalize a comment about string display and availability of 8-bit
fonts.
(Bug#78528)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from savannah/emacs-30</title>
<updated>2025-04-18T23:26:23+00:00</updated>
<author>
<name>Yuan Fu</name>
</author>
<published>2025-04-18T23:26:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e09b59790eb1d7a2090f20d65549d6d98a1f415b'/>
<id>e09b59790eb1d7a2090f20d65549d6d98a1f415b</id>
<content type='text'>
2b535a9c771 ; Improve documentation of some functions in files-x.el
45cf832ac75 Fix deleting the first line of calc trail
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2b535a9c771 ; Improve documentation of some functions in files-x.el
45cf832ac75 Fix deleting the first line of calc trail
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't warn about lexbind cookies when loading calc settings</title>
<updated>2025-04-15T09:18:27+00:00</updated>
<author>
<name>Visuwesh</name>
</author>
<published>2025-04-13T08:58:09+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3f73b29875dcfcc9b22d8346f8965f3fb31f4fb4'/>
<id>3f73b29875dcfcc9b22d8346f8965f3fb31f4fb4</id>
<content type='text'>
* lisp/calc/calc-mode.el (calc-settings-file-name):
* lisp/calc/calc.el (calc-mode): Bind 'warning-inhibit-types' to
avoid lexbind cookie missing warning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/calc/calc-mode.el (calc-settings-file-name):
* lisp/calc/calc.el (calc-mode): Bind 'warning-inhibit-types' to
avoid lexbind cookie missing warning.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix deleting the first line of calc trail</title>
<updated>2025-04-15T08:56:44+00:00</updated>
<author>
<name>Wojciech Siewierski</name>
</author>
<published>2025-04-14T16:57:28+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=45cf832ac75f8d6fb41a4856d1987062e81dcddb'/>
<id>45cf832ac75f8d6fb41a4856d1987062e81dcddb</id>
<content type='text'>
* lisp/calc/calc-trail.el (calc-trail-kill): Remove the check
preventing the removal of the first trail line, which is no
longer relevant since commit 8e1376a3912.  (Bug#77816)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/calc/calc-trail.el (calc-trail-kill): Remove the check
preventing the removal of the first trail line, which is no
longer relevant since commit 8e1376a3912.  (Bug#77816)
</pre>
</div>
</content>
</entry>
<entry>
<title>(calc-save-modes): Add a `lexical-binding` cookie</title>
<updated>2025-04-13T14:33:47+00:00</updated>
<author>
<name>Stefan Monnier</name>
</author>
<published>2025-04-13T14:33:47+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=9dfd4c6bd3140585392a428201088e9f019b0071'/>
<id>9dfd4c6bd3140585392a428201088e9f019b0071</id>
<content type='text'>
* lisp/calc/calc-mode.el (calc-save-modes): Add a `lexical-binding`
cookie when it is safe.  Use `pcase-dolist` and `pp`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/calc/calc-mode.el (calc-save-modes): Add a `lexical-binding`
cookie when it is safe.  Use `pcase-dolist` and `pp`.
</pre>
</div>
</content>
</entry>
<entry>
<title>lisp/calc/calc-keypd.el (calc-keypad-vector-menu): Don't quote lambda</title>
<updated>2025-04-04T20:45:25+00:00</updated>
<author>
<name>Stefan Monnier</name>
</author>
<published>2025-04-04T20:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=fce3f0ad4af9630f17bb9c7d3a9db11cae1f8a0d'/>
<id>fce3f0ad4af9630f17bb9c7d3a9db11cae1f8a0d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prefer '(evenp A)' to '(= 0 (logand A 1))'</title>
<updated>2025-02-17T18:30:44+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2025-02-17T18:30:44+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7c7cf3e8c88de6af91b110584f3aa8aff8011409'/>
<id>7c7cf3e8c88de6af91b110584f3aa8aff8011409</id>
<content type='text'>
* lisp/calc/calc-arith.el (calcFunc-dint):
* lisp/calculator.el (calculator-expt):
* lisp/emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
* lisp/emacs-lisp/elint.el (elint-check-defcustom-form):
* lisp/ps-print.el (ps-print-page-p):
(ps-print-sheet-p): Prefer '(evenp A)' to '(= 0 (logand A 1))' and
variations thereof.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/calc/calc-arith.el (calcFunc-dint):
* lisp/calculator.el (calculator-expt):
* lisp/emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
* lisp/emacs-lisp/elint.el (elint-check-defcustom-form):
* lisp/ps-print.el (ps-print-page-p):
(ps-print-sheet-p): Prefer '(evenp A)' to '(= 0 (logand A 1))' and
variations thereof.
</pre>
</div>
</content>
</entry>
</feed>
