Stefan Kangas
ad82bc9b29
Declare calc-eval-error in calc.el
...
* lisp/calc/calc.el (calc-eval-error): Declare. (Bug#58801)
2023-11-05 17:36:21 +01:00
Ulrich Müller
1dac154c5d
; * lisp/calc/calc-units.el (math-standard-units): Drop comment for mu0.
2023-10-20 14:53:09 +02:00
Mattias Engdegård
7f60267cc2
; * lisp/calc/calc-units.el (math-standard-units): Doc improvement.
2023-10-10 15:18:52 +02:00
Ulrich Müller
1e250df590
; * lisp/calc/calc-units.el: Fix spelling of my name.
2023-10-10 15:00:12 +02:00
Ulrich Müller
36a8fe4ef2
Update astronomical length units in Calc
...
* lisp/calc/calc-units.el (math-standard-units): Update the
astronomical unit and the parsec, using their definitions by the
International Astronomical Union.
2023-10-10 15:00:12 +02:00
Mattias Engdegård
c34a425d4d
Correct temperature names in Calc
...
* doc/misc/calc.texi (The Units Table, Predefined Units):
* lisp/calc/calc-units.el (math-standard-units):
It's just Kelvin, not degree Kelvin.
2023-10-10 14:28:27 +02:00
Mattias Engdegård
2c6015437e
* lisp/calc/calc-units.el (math-standard-units): Document.
...
Some guesswork, but at least it helps someone trying to make sense of
it next time.
2023-10-10 14:28:27 +02:00
Po Lu
b67a23f3e3
; * lisp/calc/calc.el (calc): Fix typo.
2023-07-14 08:05:21 +08:00
Po Lu
c3fadfd10f
Update Android port
...
* lisp/calc/calc.el (calc-mode, calc): Make sure the on-screen
keyboard is not hidden when a Calc buffer is created or a Calc
Trail window is being created for the first time.
* lisp/touch-screen.el (touch-screen-window-selection-changed):
Take touch-screen-display-keyboard in to account.
* src/sfnt.c (sfnt_decompose_compound_glyph)
(sfnt_interpret_compound_glyph_1): Reset `defer_offsets' before
processing each component.
(sfnt_lerp_half): Avoid undefined shift of negative value.
(sfnt_compute_tuple_scale): Pacify compiler warning.
2023-06-26 09:11:48 +08:00
Mattias Engdegård
0de472e04f
Use delq
return value (bug#61730)
...
* lisp/calc/calc-graph.el (calc-graph-compute-2d):
* lisp/calendar/appt.el (appt-activate):
* lisp/progmodes/cc-styles.el (c-make-styles-buffer-local):
Make use of what `delq` returns, to stave off possible mistakes or at
least make clear that there isn't any.
2023-05-20 11:05:57 +02:00
Eli Zaretskii
9b66a64d9c
Fix interactive forms in some Lisp packages
...
* lisp/woman.el (woman-reset-emulation):
* lisp/treesit.el (treesit--explorer-jump):
* lisp/speedbar.el (speedbar-toggle-etags):
* lisp/filesets.el (filesets-convert-patterns):
* lisp/calculator.el (calculator-saved-move):
* lisp/progmodes/gud.el (gud-basic-call):
* lisp/progmodes/ebrowse.el (ebrowse-redraw-marks)
(ebrowse-view-file-other-frame):
* lisp/progmodes/dcl-mode.el (dcl-indent-to):
* lisp/net/socks.el (socks-open-connection):
* lisp/net/ntlm.el (ntlm-build-auth-request):
* lisp/emacs-lisp/backtrace.el (backtrace-expand-ellipsis):
* lisp/calc/calc-prog.el (calc-edit-macro-finish-edit):
* lisp/calc/calc-misc.el (calc-info-goto-node):
* lisp/net/dictionary.el (dictionary-new-search)
(dictionary-definition, dictionary-switch-tooltip-mode): Fix
interactive functions where the 'interactive' form did not supply
the mandatory arguments. (Bug#62864)
2023-05-06 11:29:58 +03:00
Mattias Engdegård
10d2b76eda
* lisp/calc/calc.el (calcDigit-backspace): Hush warning.
2023-02-27 12:29:35 +01:00
Stefan Kangas
0be5f7ab63
Merge from origin/emacs-29
...
1769a58830
Fix some uses of 'use-dialog-box'
deef41a825
Fix hi-lock-tests when 'use-dialog-box' is non-nil
5093a53496
Fix regression due to change in face sort order by 'face-...
3e74763099
* lisp/files.el (file-equal-p): Work around Haiku stat bug.
13fd7667f9
; * src/treesit.c: Improve sectioning.
a40b1745d4
(project-vc-backend-markers-alist): Add entry for vc-got
18e96ed7c8
project.el: Extract backend->marker association for a defvar
0a5615669a
Don't completely clip into visible range in treesit_recor...
5b34fc0708
* lisp/treesit.el (treesit-node-at): Update docstring (bu...
1c7d762378
; Minor copyedit of NEWS wrt *-ts-modes
09fad246de
* lisp/calc/calc.el (calc-mode): Improve docstring.
8aad8d75aa
; Improve and update documentation of native compilation
d6e4f24372
Merge 'emacs-29' into 'feature/inhibit-native-comp-cleanup'
a555abc56d
Fix order of faces in 'face-list'
b44a7ff85d
Allow 'icon-title-format' to have the value t
f1f571e72a
Add electric indent for preproc directives
83af806ab7
Rename 'emacs-news-toggle-tag' to 'emacs-news-cycle-tag'
5bc88b3b17
Add menu to news-mode
40f4bc4e0a
; Avoid installing VC package dependencies multiple times
1c9d81a2b4
Attempt to recognise if a VC package has no Elisp files
2550e8bb0b
Fix mule-tests under en_US.UTF-8 locale
3279530993
Move block closer above declaration_list rule (bug#61531)
b18754bb17
Minor improvements in c-ts-mode and docs
3c6b726a7b
Add super node as a keyword
1917c51fe6
; Prevent ERC-induced false positive in JUnit report
b16965ef7e
Delete perplexing paragraph from Gnus manual
43c62a4732
; Fix typo
fdac69b45e
; Auto-commit of loaddefs files.
7678b7e46f
Eglot: check server capability before sending didSave (bu...
a3a1ef7bd5
Fix rust-ts-mode type and module highlighting (Bug#61302)
477aa047ee
rust-ts-mode: Highlight variable reassignments
5206a551c1
Improve backward compatibility of save-restriction
accd88d554
Don't indent template_string contents (bug#61503)
d97a383996
csharp-ts-mode: fontify compiler directives (bug#61512)
420d2cae84
Update to Transient v0.3.7-209-gdab1dfa
a3751b5d0c
; Raise an error if a VC package checkout is empty
6a32ba8b69
; Fix the installation of dependencies for VC packages
4eac80fcc3
; Prepare to update ERC version to 5.5
4f099a7217
; Remove failing erc-reuse-buffers test
ce4a066ed1
* Generate trampolines in a temporary directory if no oth...
4bb27a5ca9
; Minor docs copyedits
13bcff3da5
Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/...
3d572ae0d5
Rename with/without-narrowing to with/without-restriction
d806b0e33c
* lisp/repeat.el: Rename internal function and variable (...
1a64f326e0
* Fix previous change
95692f6754
Rename native-comp-deferred-compilation-deny-list
8d8464bd5a
Rename native-comp-deferred-compilation into native-comp-...
5d0912f144
Rename comp-enable-subr-trampolines into native-comp-enab...
dd8b720ee7
; * etc/NEWS: Fix typos.
909bd04cf5
; * lisp/calendar/lunar.el: Add comments. (bug#61460)
10f2aedea9
; * lisp/progmodes/c-ts-mode.el (c-ts-base-mode): delete ...
abfd00e5c0
* lisp/emacs-lisp/comp.el (native-comp-never-optimize-fun...
1795839bab
Support `comp-enable-subr-trampolines' as string value
865758130a
; * admin/git-bisect-start: Update failing commits
b948d0d7ef
Merge branch 'scratch/fix-locked-narrowing'
b6e2799aa1
* Some more `inhibit-native-compile' clean-up
dcb2379a46
Minor improvements to labeled narrowing
c0681cd347
Revert "Add new variable 'inhibit-native-compilation'"
3969a34fa1
Revert "Rename to inhibit-automatic-native-compilation"
4297039bd1
Save and restore the absence of narrowing locks
2956e54b1d
Add an extensive test for labeled (locked) narrowing
79ce185ad1
Update the documentation about labeled (locked) narrowing
a6cd4553d4
Rename two long line optimizations variables
0d73e4aa26
Add specific symbols for narrowings
d8438e2bb4
Add 'without-narrowing' macro
97314447e6
Make 'narrowing-lock' and 'narrowing-unlock' internal
a4aa32bdff
Fix 'save-restriction' for narrowing locks
2023-02-18 10:45:46 +01:00
Stefan Kangas
a5ad897b35
Use substitute-command-keys more in Calc help
...
* lisp/calc/calc-ext.el (calc-do-prefix-help):
* lisp/calc/calc-help.el (calc-help-prefix, calc-help-for-help)
(calc-h-prefix-help, calc-inverse-prefix-help)
(calc-hyperbolic-prefix-help, calc-inv-hyp-prefix-help)
(calc-f-prefix-help, calc-s-prefix-help, calc-r-prefix-help)
(calc-j-prefix-help, calc-a-prefix-help, calc-b-prefix-help)
(calc-c-prefix-help, calc-d-prefix-help, calc-g-prefix-help)
(calc-k-prefix-help, calc-m-prefix-help, calc-t-prefix-help)
(calc-u-prefix-help, calc-l-prefix-help, calc-v-prefix-help):
* lisp/calc/calc-misc.el (calc-dispatch-help, calc-help):
* lisp/calc/calc.el (calc-do-dispatch): Use substitute-command keys.
2023-02-17 17:49:53 +01:00
Stefan Kangas
09fad246de
* lisp/calc/calc.el (calc-mode): Improve docstring.
2023-02-17 15:26:38 +01:00
Eli Zaretskii
3c55fbd4ad
Merge from origin/emacs-29
...
cae528457c
; Add 2023 to copyright years.
b394359261
Improve documentation of 'isearch-open-overlay-temporary'
ab3210e709
Document 'use-package' in the 2 main manuals
# Conflicts:
# etc/refcards/ru-refcard.tex
# lib/explicit_bzero.c
# m4/explicit_bzero.m4
2023-01-01 05:47:47 -05:00
Eli Zaretskii
cae528457c
; Add 2023 to copyright years.
2023-01-01 05:31:12 -05:00
Rudolf Adamkovič
08d8fe0c33
Capitalize unit names in Calc uniformly
...
* lisp/calc/calc-units.el (math-unit-prefixes): Unify the
inconsistent capitalization of the metric prefixes to
lowercase. (Bug#59706)
2022-12-07 17:45:20 +02:00
Mattias Engdegård
25e7290d36
Add new SI prefixes
...
* lisp/calc/calc-units.el (math-unit-prefixes):
* lisp/files.el (file-size-human-readable):
Add ronna, quetta, ronto and quecto. (We get the future IEC binary
prefixes Ri and Qi (robi and quebi) in `file-size-human-readable` for
free.)
2022-11-24 14:27:51 +01:00
Stefan Kangas
f7ee6609ae
; Fix typos (prefer US spelling)
2022-11-18 13:06:55 +01:00
Lin Sun
a438e95c10
Load compiled "calc-loaddefs", if any
...
* lisp/calc/calc.el ("calc-loaddefs"): Load the .elc file (if it
exists) (bug#58127).
2022-09-27 23:15:24 +02:00
Mattias Engdegård
60102016e4
Abolish max-specpdl-size (bug#57911)
...
The max-lisp-eval-depth limit is sufficient to prevent unbounded stack
growth including the specbind stack; simplify matters for the user by
not having them to worry about two different limits. This change
turns max-specpdl-size into a harmless variable with no effects,
to keep existing code happy.
* lisp/subr.el (max-specpdl-size):
Define as an ordinary (but obsolete) dynamic variable.
* admin/grammars/Makefile.in:
* doc/lispintro/emacs-lisp-intro.texi (Loops & Recursion):
* doc/lispref/control.texi (Cleanups):
* doc/lispref/edebug.texi (Checking Whether to Stop):
* doc/lispref/eval.texi (Eval):
* doc/lispref/variables.texi (Local Variables):
* doc/misc/calc.texi (Recursion Depth):
Update documentation.
* etc/NEWS: Announce.
* src/eval.c
(FletX): Use safe iteration to guard against circular bindings list.
(syms_of_eval): Remove old max-specpdl-size definition.
(init_eval_once, restore_stack_limits, call_debugger)
(signal_or_quit, grow_specpdl_allocation):
* leim/Makefile.in:
* lisp/Makefile.in:
* lisp/calc/calc-stuff.el (calc-more-recursion-depth)
(calc-less-recursion-depth):
* lisp/calc/calc.el (calc-do):
* lisp/cedet/semantic/ede-grammar.el (ede-proj-makefile-insert-rules):
* lisp/cedet/semantic/grammar.el (semantic-grammar-batch-build-one-package):
* lisp/cus-start.el (standard):
* lisp/emacs-lisp/comp.el (comp--native-compile):
* lisp/emacs-lisp/edebug.el (edebug-max-depth):
(edebug-read-and-maybe-wrap-form, edebug-default-enter):
* lisp/emacs-lisp/regexp-opt.el (regexp-opt):
* lisp/eshell/esh-mode.el (eshell-mode):
* lisp/loadup.el (max-specpdl-size):
* lisp/mh-e/mh-e.el (mh-invisible-headers):
* lisp/net/shr.el (shr-insert-document, shr-descend):
* lisp/play/hanoi.el (hanoi-internal):
* lisp/progmodes/cperl-mode.el:
* src/fileio.c (Fdo_auto_save):
Remove references to and modifications of max-specpdl-size.
2022-09-19 19:30:03 +02:00
Stefan Kangas
aac4965702
Prefer defvar-keymap in several cases
...
* lisp/calc/calc-embed.el (calc-override-minor-modes-map):
* lisp/calc/calc-yank.el (calc-edit-mode-map):
* lisp/calc/calc.el (calc-trail-mode-map):
* lisp/cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode-map):
* lisp/cedet/semantic/util-modes.el (semantic-highlight-edits-mode-map)
(semantic-show-unmatched-syntax-mode-map)
(semantic-show-parser-state-mode-map)
(semantic-stickyfunc-mode-map, semantic-highlight-func-mode-map):
* lisp/cedet/srecode/srt-mode.el (srecode-template-mode-map):
* lisp/gnus/gnus-art.el (gnus-prev-page-map, gnus-next-page-map):
* lisp/gnus/gnus-search.el (gnus-search-minibuffer-map):
* lisp/gnus/score-mode.el (gnus-score-mode-map):
* lisp/gnus/smime.el (smime-mode-map):
* lisp/indent.el (edit-tab-stops-map):
* lisp/isearch.el (minibuffer-local-isearch-map):
* lisp/printing.el (pr-interface-map):
* lisp/progmodes/prog-mode.el (prog-mode-map):
* lisp/progmodes/subword.el (subword-mode-map):
* lisp/reveal.el (reveal-mode-map):
* lisp/strokes.el (strokes-mode-map):
* lisp/textmodes/flyspell.el (flyspell-mouse-map):
* lisp/textmodes/less-css-mode.el (less-css-mode-map):
* lisp/textmodes/remember.el (remember-mode-map)
(remember-notes-mode-map):
* lisp/wid-browse.el (widget-browse-mode-map):
* lisp/wid-edit.el (widget-key-sequence-map): Prefer defvar-keymap in
some easy-to-convert cases.
2022-09-13 15:05:38 +02:00
Stefan Kangas
67a15ce156
Use substitute-command-keys in a few more places
...
* lisp/indent.el (edit-tab-stops):
* lisp/printing.el (pr-help-message, pr-show-setup):
* lisp/progmodes/cperl-mode.el (cperl-narrow-to-here-doc): Use
substitute-command-keys.
2022-08-23 21:08:38 +02:00
Stefan Kangas
b7e867b841
Make point-at-eol and point-at-bol obsolete
...
* lisp/subr.el (point-at-eol, point-at-bol): Make XEmacs compat
aliases obsolete in favor of `pos-bol'/'line-beginning-position' or
'pos-eol'/'line-end-position'. Update callers.
Ref: https://lists.gnu.org/r/emacs-devel/2022-08/msg00853.html
2022-08-23 04:54:57 +02:00
Stefan Kangas
b7d6ebff07
; Delete not-useful comments referring to Emacs 19.
2022-08-19 18:05:51 +02:00
Mattias Engdegård
e99d7c4d62
Simplify code using take, ntake and butlast
...
* lisp/calc/calc-vec.el (calcFunc-rhead):
* lisp/calc/calc.el (calc-top-list, calc-pop):
* lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit):
Simplify.
2022-08-14 15:43:12 +02:00
Stefan Kangas
9d866a1f8d
Make some defcustom types more restrictive
...
* lisp/abbrev.el (abbrev-suggest-hint-threshold):
* lisp/bookmark.el (bookmark-bmenu-file-column)
(bookmark-menu-length):
* lisp/buff-menu.el (Buffer-menu-size-width)
(Buffer-menu-mode-width):
* lisp/calendar/calendar.el (calendar-week-start-day)
(calendar-intermonth-spacing, calendar-column-width)
(calendar-day-digit-width):
* lisp/calc/calc.el (calc-undo-length):
* lisp/calendar/timeclock.el (timeclock-workday):
* lisp/comint.el (comint-buffer-maximum-size)
(comint-input-ring-size):
* lisp/doc-view.el (doc-view-resolution, doc-view-image-width):
* lisp/emacs-lisp/bytecomp.el (byte-compile-docstring-max-column):
* lisp/emacs-lisp/comp.el (native-comp-debug)
(native-comp-verbose, native-comp-async-jobs-number):
* lisp/emacs-lisp/package.el (package-name-column-width)
(package-version-column-width, package-status-column-width)
(package-archive-column-width):
* lisp/eshell/esh-mode.el (eshell-buffer-maximum-lines):
* lisp/frame.el (blink-cursor-blinks):
* lisp/info.el (Info-breadcrumbs-depth):
* lisp/jit-lock.el (jit-lock-chunk-size):
* lisp/kmacro.el (kmacro-ring-max):
* lisp/menu-bar.el (yank-menu-length, yank-menu-max-items):
* lisp/midnight.el (clean-buffer-list-delay-general)
(clean-buffer-list-delay-special):
* lisp/net/dictionary.el (dictionary-port)
(dictionary-proxy-port):
* lisp/net/ldap.el (ldap-default-port):
* lisp/net/pop3.el (pop3-port, pop3-stream-length):
* lisp/net/rcirc.el (rcirc-default-port):
* lisp/net/sieve-manage.el (sieve-manage-default-port):
* lisp/play/spook.el (spook-phrase-default-count):
* lisp/play/tetris.el (tetris-buffer-width)
(tetris-buffer-height, tetris-width, tetris-height)
(tetris-top-left-x, tetris-top-left-y):
* lisp/profiler.el (profiler-sampling-interval):
* lisp/progmodes/sql.el (sql-port):
* lisp/recentf.el (recentf-max-menu-items):
* lisp/strokes.el (strokes-grid-resolution):
* lisp/tab-bar.el (tab-bar-tab-name-truncated-max):
* lisp/term/xterm.el (xterm-max-cut-length):
* lisp/time.el (display-time-interval, world-clock-timer-second):
* lisp/url/url-cache.el (url-cache-expire-time):
* lisp/url/url-cookie.el (url-cookie-save-interval):
* lisp/url/url-history.el (url-history-save-interval):
* lisp/url/url-queue.el (url-queue-parallel-processes)
(url-queue-timeout):
* lisp/url/url-vars.el (url-max-password-attempts)
(url-max-redirections):
* lisp/vc/emerge.el (emerge-min-visible-lines):
* lisp/vc/vc.el (vc-log-show-limit):
* lisp/window.el (window-min-height, window-min-width):
* lisp/winner.el (winner-ring-size): Use :type natnum.
* lisp/savehist.el (savehist-file-modes): Fix setting to nil value and
use :type natnum.
2022-07-05 18:33:29 +02:00
Stefan Kangas
05297e40c0
Quote some literal keys to get help-key-binding face
...
* lisp/align.el (align):
* lisp/bindings.el (undo-repeat-map):
* lisp/calc/calc-embed.el (calc-do-embedded):
* lisp/calc/calc-prog.el (calc-user-define-invocation):
* lisp/calc/calc-yank.el (calc--edit-mode):
* lisp/comint.el (comint-history-isearch)
* lisp/dired.el (dired-mode):
* lisp/emulation/viper.el (viper-mode):
* lisp/erc/erc-button.el (erc-button-face):
* lisp/erc/erc-track.el (erc-track-enable-keybindings):
* lisp/gnus/gnus-art.el (gnus-article-button-face):
* lisp/gnus/gnus-eform.el (gnus-edit-form):
* lisp/gnus/gnus-sum.el (gnus-summary-stop-at-end-of-message)
(gnus-summary-goto-unread):
* lisp/icomplete.el (icomplete-show-matches-on-no-input):
* lisp/image-mode.el (image-scroll-up):
* lisp/international/iso-transl.el (iso-transl-set-language):
* lisp/isearch.el (isearch-forward-regexp):
* lisp/misc.el (butterfly):
* lisp/outline.el (outline-minor-mode-cycle-filter)
(outline-minor-mode-cycle):
* lisp/progmodes/grep.el (rgrep):
* lisp/progmodes/gud.el (gud-gdb-repeat-map, gud-sdb-repeat-map)
(gud-dbx-repeat-map, gud-xdb-repeat-map, gud-perldb-repeat-map)
(gud-pdb-repeat-map, gud-guiler-repeat-map, gud-jdb-repeat-map):
* lisp/progmodes/idlw-shell.el (idlwave-shell-graphics-window-size)
(idlwave-shell-mode):
* lisp/progmodes/idlwave.el (idlwave-shell-debug-modifiers)
(idlwave-list-shell-load-path-shadows):
* lisp/progmodes/python.el (python-shell-get-process-or-error):
* lisp/repeat.el (repeat-check-key):
* lisp/replace.el (query-replace, query-replace-regexp)
(read-regexp):
* lisp/simple.el (read-extended-command-predicate):
* lisp/tab-bar.el (tab-bar-switch-repeat-map)
(tab-bar-move-repeat-map):
* lisp/term.el (ansi-term):
* lisp/textmodes/reftex-index.el (reftex-index-phrases-set-macro-key):
* lisp/vc/emerge.el (emerge-scroll-left, emerge-scroll-right):
* lisp/windmove.el:
* lisp/winner.el (winner-mode): Quote literal keys to get
'help-key-binding' face.
* lisp/comint.el (comint-insert-previous-argument): Use regular
quotes.
2022-07-03 23:31:31 +02:00
Stefan Kangas
8bb770234d
Fix warning in last commit
...
* lisp/calc/calc-misc.el (calc-dispatch-help): Fix warning.
2022-07-03 23:31:25 +02:00
Stefan Kangas
0835bc40d3
Improve calc-dispatch-help docstring
...
* lisp/calc/calc-misc.el (calc-dispatch-help): Use command
substitutions.
2022-07-03 18:36:45 +02:00
Mattias Engdegård
8d68760dde
; Fix typos.
2022-07-02 13:32:41 +02:00
Michael Heerdegen
28218092a6
Allow number register insertion in Calc (Bug#55943)
...
* lisp/calc/calc-yank.el (calc-get-register): Convert number values to
strings.
2022-06-16 18:32:40 +02:00
Stefan Kangas
5b7f24e58a
Merge from origin/emacs-28
...
850050ca5c
Revert "Clarify what a Calc registeri in in calc-insert-re...
2022-06-15 06:32:14 +02:00
Lars Ingebrigtsen
850050ca5c
Revert "Clarify what a Calc registeri in in calc-insert-register"
...
This reverts commit 73400e4002
.
This has been fixed in Emacs 29 by making it possible to use regular registers in calc.
2022-06-14 13:56:07 +02:00
Stefan Kangas
6fd33fbf6a
Merge from origin/emacs-28
...
73400e4002
Clarify what a Calc registeri in in calc-insert-register
2022-06-14 06:30:43 +02:00
Lars Ingebrigtsen
73400e4002
Clarify what a Calc registeri in in calc-insert-register
...
* lisp/calc/calc-yank.el (calc-insert-register): Note that these
aren't normal registers (bug#55943).
2022-06-13 17:14:17 +02:00
Sean Whitton
134f4ff38b
New user option 'calc-kill-line-numbering'
...
* lisp/calc/calc.el (calc-kill-line-numbering): New defcustom.
* lisp/calc/calc-yank.el (calc-kill): Unless calc-kill-line-numbering
is non-nil, do not include line numbering in copied text (bug#55133).
* etc/NEWS:
* doc/misc/calc.texi (Killing from the Stack): Document the change.
2022-04-27 13:25:35 -07:00
Lars Ingebrigtsen
bbf389ea6d
Audit quoting the quote character in doc strings
...
* test/src/regex-emacs-tests.el (regex-tests-compare):
(regex-tests-compare):
(regex-tests-match):
* test/lisp/xml-tests.el (xml-parse-tests--qnames):
* test/lisp/mh-e/mh-thread-tests.el (mh-thread-tests-before-from):
* test/lisp/cedet/srecode-utest-template.el (srecode-utest-map-reset):
* test/lisp/calc/calc-tests.el (calc-tests-equal):
* lisp/window.el (get-lru-window):
(get-mru-window):
(get-largest-window):
(quit-restore-window):
(display-buffer):
* lisp/vc/vc-rcs.el (vc-rcs-consult-headers):
* lisp/url/url-auth.el (url-digest-auth-build-response):
* lisp/tutorial.el (tutorial--find-changed-keys):
* lisp/transient.el (transient-suffix-object):
* lisp/textmodes/rst.el (rst-insert-list-new-item):
* lisp/textmodes/bibtex.el (bibtex-clean-entry):
* lisp/tab-bar.el (tab-bar--key-to-number):
(toggle-frame-tab-bar):
* lisp/ses.el (ses-recalculate-cell):
(ses-define-local-printer):
(ses-prin1):
* lisp/progmodes/xref.el (xref--find-ignores-arguments):
* lisp/progmodes/verilog-mode.el (verilog-single-declaration-end):
* lisp/progmodes/tcl.el (tcl-mode-hook):
* lisp/progmodes/gdb-mi.el (gdb-get-buffer-create):
* lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
* lisp/play/dunnet.el (dun-room-objects):
* lisp/outline.el (outline--cycle-state):
* lisp/org/ox-publish.el (org-publish-find-property):
* lisp/org/ox-html.el (org-html--unlabel-latex-environment):
* lisp/org/org-table.el (org-table-collapse-header):
* lisp/org/org-plot.el (org--plot/prime-factors):
* lisp/org/org-agenda.el (org-agenda--mark-blocked-entry):
(org-agenda-set-restriction-lock):
* lisp/org/ob-lua.el (org-babel-lua-read-string):
* lisp/org/ob-julia.el (org-babel-julia-evaluate-external-process):
(org-babel-julia-evaluate-session):
* lisp/org/ob-core.el (org-babel-default-header-args):
* lisp/obsolete/mouse-sel.el (mouse-select):
(mouse-select-secondary):
* lisp/net/tramp.el (tramp-methods):
* lisp/net/eww.el (eww-accept-content-types):
* lisp/net/dictionary-connection.el (dictionary-connection-status):
* lisp/minibuffer.el (completion-flex--make-flex-pattern):
* lisp/mh-e/mh-mime.el (mh-have-file-command):
* lisp/mh-e/mh-limit.el (mh-subject-to-sequence):
(mh-subject-to-sequence-threaded):
(mh-subject-to-sequence-unthreaded):
* lisp/mail/feedmail.el (feedmail-queue-buffer-file-name):
(feedmail-vm-mail-mode):
* lisp/ls-lisp.el (ls-lisp--sanitize-switches):
* lisp/keymap.el (key-valid-p):
* lisp/international/ccl.el (ccl-compile-branch-blocks):
* lisp/image/image-converter.el (image-convert):
* lisp/gnus/spam.el (spam-backend-check):
* lisp/gnus/nnselect.el (nnselect-generate-artlist):
* lisp/gnus/nnmairix.el (nnmairix-widget-other):
* lisp/gnus/message.el (message-mailto):
* lisp/gnus/gnus-sum.el (gnus-collect-urls-from-article):
* lisp/gnus/gnus-search.el (gnus-search-prepare-query):
* lisp/frame.el (frame-size-history):
* lisp/eshell/esh-var.el (eshell-parse-variable-ref):
* lisp/eshell/em-dirs.el (eshell-expand-multiple-dots):
* lisp/erc/erc-backend.el (erc-bounds-of-word-at-point):
* lisp/emulation/cua-rect.el (cua--rectangle-operation):
* lisp/emacs-lisp/text-property-search.el (text-property-search-forward):
* lisp/emacs-lisp/package.el (package-desc-suffix):
* lisp/emacs-lisp/faceup.el (faceup-test-explain):
* lisp/emacs-lisp/comp.el (comp-curr-allocation-class):
(comp-alloc-class-to-container):
(comp-add-cstrs):
(comp-remove-type-hints-func):
(batch-byte+native-compile):
* lisp/emacs-lisp/cl-macs.el (cl--optimize):
* lisp/elec-pair.el (electric-pair--syntax-ppss):
* lisp/doc-view.el (doc-view-doc-type):
* lisp/cedet/semantic/symref.el (semantic-symref-tool-alist):
(semantic-symref-hit-to-tag-via-db):
(semantic-symref-hit-to-tag-via-buffer):
* lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-get-overlay):
* lisp/cedet/semantic/java.el (semantic-java-doc-keywords-map):
* lisp/cedet/semantic/find.el (semantic-brute-find-tag-by-function):
* lisp/cedet/semantic/db.el (semanticdb-project-predicate-functions):
* lisp/cedet/semantic.el (semantic-working-type):
* lisp/cedet/ede/files.el (ede-flush-directory-hash):
* lisp/calc/calc.el (calc--header-line):
* lisp/auth-source.el (auth-source-pick-first-password):
(auth-source--decode-octal-string):
* etc/themes/modus-themes.el (modus-themes--paren):
(modus-themes--agenda-habit):
* admin/cus-test.el (cus-test-vars-with-changed-state): Fix
quoting in doc strings. In code examples, the ' character is
quoted with \\=, and regularize 'foo to `foo', and quote strings
like "foo" instead of 'foo'.
2022-04-22 16:17:22 +02:00
Eli Zaretskii
6ecb7ff5ec
Merge from origin/emacs-28
...
b201823f63
Describe problems with invoking Python on MS-Windows
880f2734c9
A better fix for bug#54800
5ee959aa87
Add a comment about cl-concatenate
ab2b822b9b
Revert "Make cl-concatenate an alias of seq-concatenate"
2022-04-16 13:46:04 -04:00
Eli Zaretskii
5890b80bca
Merge from origin/emacs-28
...
84a2857722
Fix scrolling of the stack window in Calc
9dd44505b1
; * src/window.c (Fset_window_start): Clarify the effect o...
24a6c7c8c0
Update and fix instructions and scripts for updating the W...
886339747b
Extend tramp-archive-test45-auto-load
ff997ad786
Ensure local `default-directory' in Tramp when needed
4f27588a16
Clarify "idleness" in the ELisp manual
2022-04-16 13:43:33 -04:00
Eli Zaretskii
880f2734c9
A better fix for bug#54800
...
* lisp/calc/calc.el (calc-align-stack-window): Improve scrolling
when windows have non-integral dimensions.
2022-04-13 16:07:40 +03:00
Eli Zaretskii
84a2857722
Fix scrolling of the stack window in Calc
...
* lisp/calc/calc.el (calc-align-stack-window): Fix off-by-one
error in computing the window-start point. (Bug#54800)
2022-04-09 16:30:23 +03:00
Eli Zaretskii
dcd76bd48d
Merge from origin/emacs-28
...
836be7a112
; * etc/refcards/ru-refcard.tex: Update Copyright year.
86cbc6ee4a
* lisp/net/tramp-sh.el: Adapt copyright year
ebe8772f65
; Minor fixes related to copyright years
23c1ee6989
; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye...
8d3fc7ec89
* src/xfaces.c (face_for_font): Make 'hash' be uintptr_t.
19dcb237b5
; Add 2022 to copyright years.
# Conflicts:
# etc/NEWS
# etc/refcards/ru-refcard.tex
# lib/cdefs.h
# lisp/erc/erc-dcc.el
# lisp/erc/erc-imenu.el
# lisp/erc/erc-replace.el
# lisp/image-dired.el
# lisp/progmodes/xref.el
# m4/alloca.m4
# m4/byteswap.m4
# m4/errno_h.m4
# m4/getopt.m4
# m4/gnulib-common.m4
# m4/inttypes.m4
# m4/stddef_h.m4
# m4/stdint.m4
# m4/sys_socket_h.m4
2022-01-01 07:03:03 -05:00
Eli Zaretskii
19dcb237b5
; Add 2022 to copyright years.
2022-01-01 02:45:51 -05:00
Stefan Kangas
b8e6beaab0
Merge from origin/emacs-28
...
3607508f3f
Set calc-make-windows-dedicated to nil by default
9de8eec3bc
* make-dist: Don't run "make --question info". (Bug#52322)
cea8deea72
; * src/xdisp.c (move_it_vertically_backward): Clarify com...
6170c5036e
Fix regression in help-mode prompt
# Conflicts:
# etc/NEWS
2021-12-14 06:31:37 +01:00
Stefan Kangas
3607508f3f
Set calc-make-windows-dedicated to nil by default
...
* lisp/calc/calc.el (calc-make-windows-dedicated):
Default to nil. (Bug#52016)
2021-12-14 03:40:10 +01:00
Stefan Kangas
6cf358d7a2
Define some more keymaps in one step
...
* lisp/calc/calc-store.el (calc-var-name-map):
* lisp/mail/rmailsum.el (rmail-summary-edit-map):
* lisp/speedbar.el (speedbar-buffers-key-map): Define in one step.
* lisp/progmodes/ebrowse.el (ebrowse-global-submap-4)
(ebrowse-global-submap-5): Define in one step and use defvar-keymap.
2021-12-08 17:48:25 +01:00
Stefan Kangas
5922c972cd
; * lisp/calc/calc-ext.el: Fix warnings in my last commit.
2021-12-08 17:48:25 +01:00
Stefan Kangas
1ea5b82145
Define calc-help-map in one step
...
* lisp/calc/calc-ext.el (calc-help-map): Define in one step and
convert to defvar-keymap.
2021-12-08 13:30:23 +01:00