1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 01:20:37 -08:00
emacs/doc/misc
Jacob S. Gordon 5bd9fa084d calc: Allow strings with character codes above Latin-1
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)
2025-06-14 17:07:19 +03:00
..
auth.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
autotype.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bovine.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
calc.texi calc: Allow strings with character codes above Latin-1 2025-06-14 17:07:19 +03:00
cc-mode.texi ; Fix a merge snafu. 2025-03-29 08:54:30 -04:00
ChangeLog.1 ; Delete troff markers from ChangeLog files 2025-02-20 02:46:43 +01:00
cl.texi cl-types: The big renaming to "derived types" 2025-05-07 13:24:07 -04:00
dbus.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
dired-x.texi ;* doc/misc/dired-x.texi: Remove unnecessary paren (Bug#76148) 2025-02-08 22:40:25 +01:00
doclicense.texi
ebrowse.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ede.texi ; * doc/misc/ede.texi (Top): Improve introduction. 2025-03-15 19:41:02 +01:00
ediff.texi Adapt ediff to nonstandard layouts 2025-03-21 20:56:12 -04:00
edt.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
efaq-w32.texi ; * doc/misc/efaq-w32.texi (Location of init file): Fix a typo. 2025-04-30 14:10:25 +03:00
efaq.texi Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00
eglot.texi Eglot: the margin code action indicator is interactive 2025-03-08 05:36:48 +00:00
eieio.texi ; Change some instances of cl to cl-lib in docs 2025-03-20 02:05:55 +01:00
emacs-gnutls.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
emacs-mime.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
epa.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
erc.texi Use .pem extension for client certs in ERC docs 2025-02-21 18:40:06 -08:00
ert.texi Merge from origin/emacs-30 2025-05-03 06:26:31 -04:00
eshell.texi Merge from origin/emacs-30 2025-01-25 10:06:19 -05:00
eudc.texi Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00
eww.texi Fall back eww-switch-to-buffer' to eww' 2025-05-10 12:46:28 +03:00
flymake.texi Fix ruby lint output regexps 2025-04-28 03:05:41 +03:00
forms.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
gnus-faq.texi Avoid double spaces around abbrevations in Texinfo 2025-01-24 23:10:23 +01:00
gnus.texi ; Replace "Elisp" with "Lisp" or "Emacs Lisp" in some places 2025-03-12 10:24:22 +08:00
gpl.texi
htmlfontify.texi ; Fix cross-references in Texinfo manuals 2025-01-19 08:23:23 +02:00
idlwave.texi Merge from origin/emacs-30 2025-01-25 10:06:19 -05:00
ido.texi Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00
info.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
mairix-el.texi Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00
Makefile.in Update copyright year to 2025 2025-01-02 18:39:42 +01:00
message.texi Drop hashcash support from Gnus and Message mode 2025-02-24 22:45:58 +01:00
mh-e.texi Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00
modus-themes.org Update modus-themes to their version 4.8.0 2025-06-11 08:09:05 +03:00
newsticker.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
nxml-mode.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
octave-mode.texi Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00
org-setup.org ; Whitespace fixes to silence git hooks 2025-02-26 18:11:22 +01:00
org.org ; Don't use HTTPS in HTTP-specific example 2025-02-03 14:03:43 +01:00
pcl-cvs.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
pgg.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
rcirc.texi * doc/misc/rcirc.texi: Rephrase recent addition 2025-06-14 15:22:06 +02:00
reftex.texi ; RefTeX: Describe activation with use-package 2025-05-12 20:20:23 +02:00
remember.texi Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00
sasl.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sc.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sem-user.texi Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00
semantic.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ses.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sieve.texi Bind sieve-refresh-scriptlist to 'g' in sieve-mode 2025-02-13 10:31:01 +01:00
smtpmail.texi Add smtpmail cross-reference to 'auth-sources'. 2025-01-14 10:25:18 +01:00
speedbar.texi ; Fix last change (bug#76789) 2025-03-15 10:52:45 +02:00
srecode.texi ; Fix cross-references in Texinfo manuals 2025-01-19 08:23:23 +02:00
texinfo.tex Update from Gnulib by running admin/merge-gnulib 2025-04-19 19:31:25 -07:00
todo-mode.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tramp.texi Merge from origin/emacs-30 2025-04-05 07:07:29 -04:00
trampver.texi ; Sync with Tramp 2.7.3.30.2 (Do not merge to master) 2025-05-18 21:20:41 +02:00
transient.texi Update to Transient v0.9.1-7-gd7d2c1c2 2025-06-04 15:17:51 +02:00
url.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
use-package.texi Merge from origin/emacs-30 2025-05-24 06:55:24 -04:00
vhdl-mode.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
viper.texi Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00
vtable.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
widget.texi Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00
wisent.texi Merge from origin/emacs-30 2025-01-25 10:06:19 -05:00
woman.texi Don't recommend legacy keymap functions in documentation 2025-03-11 21:19:13 +01:00