summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Rebuild for athena's apt repositorydebian/28_git20210208.1Sean Whitton2021-02-11
|
* changelogSean Whitton2021-02-08
|
* Merge remote-tracking branch 'origin/master' into athena/unstableSean Whitton2021-02-08
|\
| * Record the value of `C-x C-e' in `values'Lars Ingebrigtsen2021-02-08
| | | | | | | | | | * lisp/progmodes/elisp-mode.el (eval-last-sexp): Record the value in `values' (bug#22066) since we're messaging it.
| * Add vc-dir faces; also apply them to vc-gitProtesilaos Stavrou2021-02-08
| | | | | | | | | | | | | | | | | | | | | | | | * etc/NEWS: Document the new faces. * lisp/vc/vc-dir.el (vc-dir-header, vc-dir-header-value) (vc-dir-directory, vc-dir-file, vc-dir-mark-indicator) (vc-dir-status-warning, vc-dir-status-edited, vc-dir-status-up-to-date) (vc-dir-ignored): Add new faces. * lisp/vc/vc-git.el (vc-git-permissions-as-string, vc-git-dir-printer) (vc-git-dir-extra-headers): Apply new faces (bug#46358).
| * Bind clone-buffer to C-x x nSean Whitton2021-02-08
| | | | | | | | | | * lisp/bindings.el (ctl-x-x-map): Bind clone-buffer. * etc/NEWS: Document the change (bug#46369).
| * Fix tcl-mode indentation of namespaced codeAnticrisis2021-02-08
| | | | | | | | | | | | | | | | | | * lisp/progmodes/tcl.el (tcl-calculate-indent): Fix indentation when using namespaces (bug#44834). (tcl-beginning-of-defun-function): Remove. This partially reverts cd5bb4bf3dbad8941d25823f398b595b8f0edbb9. Copyright-paperwork-exempt: yes
| * Clarify "changes" in CONTRIBUTELars Ingebrigtsen2021-02-08
| | | | | | | | | | * CONTRIBUTE: Clarify that "changes" doesn't include removing code (bug#44834).
| * Make `C-a' in enriched-mode behave more line in other modesLars Ingebrigtsen2021-02-08
| | | | | | | | | | | | | | | | * lisp/textmodes/enriched.el (enriched-mode-map): Don't rebind beginning-or-line, because it makes `C-S-a' not mark the region, and it doesn't allow actually moving to the beginning of the line if the line starts with characters in `adaptive-fill-regexp' (bug#22554).
| * Fix noninteractive gnus-article-press-buttonLars Ingebrigtsen2021-02-08
| | | | | | | | | | * lisp/gnus/gnus-art.el (gnus-article-press-button): Make the `b' summary mode command work again.
| * Prefer setq-local in a few more placesStefan Kangas2021-02-08
| | | | | | | | | | | | | | | | | | * lisp/calc/calc-embed.el (calc-embedded-make-info): * lisp/calc/calcalg2.el (calcFunc-integ): * lisp/comint.el (comint-mode): * lisp/epa.el (epa--list-keys, epa--show-key): * lisp/epg.el (epg--start): * lisp/vc/ediff-util.el (ediff-activate-mark): Prefer setq-local.
| * Add tests for count-linesStefan Kangas2021-02-08
| | | | | | | | | | * test/lisp/simple-tests.el (simple-test-count-lines) (simple-test-count-lines/ignore-invisible-lines): Add tests.
| * Fix namazu search result parsing in gnus-searchEric Abrahamsen2021-02-07
| | | | | | | | | | | | * lisp/gnus/gnus-search.el (gnus-search-indexed-extract): This method is documented to leave point at the end of the extracted search result. The namazu implementation wasn't doing that.
| * ; Rearrange changed entry in etc/NEWSMichael Albinus2021-02-07
| |
| * Use `line-number-at-pos' in `count-lines'Lars Ingebrigtsen2021-02-07
| | | | | | | | | | * lisp/simple.el (count-lines): Use `line-number-at-pos', which should be faster.
| * Add command to recenter errors from Occur/Grep buffersTino Calancha2021-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To scroll up/down the current displayed occurrence/error without abandon the Occur/Grep buffer. Add also a command 'recenter-other-window' to recenter the other window from any kind of buffer. * lisp/window.el (recenter-other-window): New command. Bind recenter-other-window to S-M-C-l (Bug#46119). * lisp/simple.el (recenter-current-error): New command. * lisp/progmodes/grep.el (grep-mode-map): Delete bidings for n and p. * lisp/progmodes/compile.el (compilation-minor-mode-map): Move here the n and p bindings. Bind `recenter-current-error' to l. * lisp/replace.el (occur-mode-map): Same. * doc/emacs/windows.texi (Other Window): * doc/emacs/display.texi (Recentering): Document recenter-other-window. * etc/NEWS (Changes in Specialized Modes and Packages in Emacs 28.1): Announce the changes.
| * Allow Fline_number_at_pos being called with a markerLars Ingebrigtsen2021-02-07
| | | | | | | | | | * src/fns.c (Fline_number_at_pos): Also allow being called with a marker (since the Lisp function allowed that).
| * Move line-number-at-pos to CLars Ingebrigtsen2021-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/positions.texi (Text Lines): Revert previous change. * lisp/simple.el (line-number-at-pos): Remove definition. * lisp/simple.el (count-lines): Revert back to using `forward-line', because there seems to be a disagreement on how lines should be counted in a region... * src/fns.c (Fline_number_at_pos): Rename from Fline_number_at_position and adjust parameter list.
| * Minor doc fixes in dictionary-connection.elStefan Kangas2021-02-07
| | | | | | | | | | | | * lisp/net/dictionary-connection.el: (dictionary-connection-p, dictionary-connection-read-to-point): Minor doc fixes to adhere to our conventions.
| * Fix copyright and license statement in dictionary*.elStefan Kangas2021-02-07
| | | | | | | | | | | | * lisp/net/dictionary-connection.el: * lisp/net/dictionary.el: Add copyright statement and fix license statement.
| * Add a new function 'line-number-at-position'Lars Ingebrigtsen2021-02-07
| | | | | | | | | | | | | | | | | | * doc/lispref/positions.texi (Text Lines): Document it. * lisp/simple.el (count-lines): Use it. (line-number-at-pos): Ditto. * src/fns.c (Fline_number_at_position): New function (bug#22763).
| * Various doc fixes in dictionary.elStefan Kangas2021-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/dictionary.el (dictionary-set-server-var) (dictionary-server, dictionary-port) (dictionary-default-dictionary) (dictionary-default-popup-strategy, dictionary-proxy-server) (dictionary-proxy-port, dictionary-description-open-delimiter) (dictionary-description-close-delimiter) (dictionary-window-configuration, dictionary-selected-window) (dictionary-position-stack, dictionary-data-stack) (dictionary-positions, dictionary-current-data) (dictionary-connection, dictionary-instances) (dictionary-color-support, dictionary-word-history) (dictionary-mode, dictionary, dictionary-check-connection) (dictionary-mode-p, dictionary-send-command) (dictionary-read-reply-and-split, dictionary-check-reply) (dictionary-check-initial-reply, dictionary-store-state) (dictionary-store-positions, dictionary-new-search) (dictionary-new-search-internal, dictionary-do-search) (dictionary-display-search-result) (dictionary-display-word-definition) (dictionary-special-dictionary, dictionary-set-strategy) (dictionary-tooltip-dictionary, dictionary-switch-tooltip-mode) (dictionary-tooltip-mode, global-dictionary-tooltip-mode): Doc fixes to adhere to our conventions.
| * Revert "Fix inferior octave single-quote font lock"Lars Ingebrigtsen2021-02-07
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9e68413c7f0a7f71e1cee923ace7282d14c2e686. This patch led to bug#46327: x = [2 2]' disp(x) Which meant that the transpose operator was interpreted as the start of a string.
| * Reverse customize-changed and customize-changed-options aliasingLars Ingebrigtsen2021-02-07
| | | | | | | | | | | | | | | | * lisp/cus-edit.el (customize-changed): Rename from customize-changed-options (bug#23085), since the old name doesn't reflect what it does: It's not just about user options, but also faces and the like. (customize-changed-options): Make into an obsolete alias.
| * Clarify that #s(hash-table ...) doesn't always create a new hash tableLars Ingebrigtsen2021-02-07
| | | | | | | | | | | | | | | | * doc/lispref/hash.texi (Creating Hash): Note that the printed representation doesn't necessarily create a new table (bug#23417). * doc/lispref/lists.texi (Rearrangement): Link to Self-Evaluating Forms to further expand upon immutability.
| * Add more commands to the new `C-x x' keymapLars Ingebrigtsen2021-02-07
| | | | | | | | | | | | | | | | | | | | * doc/emacs/killing.texi (Accumulating Text): * doc/emacs/display.texi (Line Truncation): * doc/emacs/buffers.texi (Misc Buffer): Document it. * lisp/bindings.el (ctl-x-x-map): Add new bindings for rename-buffer, rename-uniquely, insert-buffer and toggle-truncate-lines.
| * Move 'revert-buffer' global binding to 'C-x g g'Sean Whitton2021-02-07
| | | | | | | | | | | | | | * lisp/bindings.el: Define ctl-x-g-map and bind 'revert-buffer' to 'C-x x g' globally. * doc/emacs/files.texi: Replace 'C-x g' with 'C-x x g'. * etc/NEWS: Document the change (bug#46300).
| * ; * lisp/emacs-lisp/byte-opt.el: improved commentMattias Engdegård2021-02-07
| |
| * ; Improved commentary in the variable constprop mechanismMattias Engdegård2021-02-07
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-opt.el (byte-optimize--lexvars) (byte-optimize--vars-outside-condition) (byte-optimize-form-code-walker, byte-optimize-let-form): Clarify various aspects in the variable constant-propagation code, as kindly pointed out by Stefan Monnier.
| * Revert "Fix the previous change"Dmitry Gutov2021-02-06
| | | | | | | | | | | | This reverts commit fc37dc298f27025823fad2d944e11cc7ee6a058d. That change was only needed in the release branch.
| * Fix spurious warnings from unwise condition order in inlined codeMattias Engdegård2021-02-06
| | | | | | | | | | | | | | | | | | | | | | These are both conditions having the form (and A B) where A is side-effect-free and B may be known to be nil at compile time. The compiler will then warn about A being useless and thrown away. The fix is to test B first. * lisp/gnus/gnus.el (gnus-method-to-server): Test `(not no-enter-cache)` first. (gnus-server-get-method): Test `group` first.
| * Constprop of lexical variablesMattias Engdegård2021-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lexical variables bound to a constant value (symbol, number or string) are substituted at their point of use and the variable then eliminated if possible. Example: (let ((x (+ 2 3))) (f x)) => (f 5) This reduces code size, eliminates stack operations, and enables further optimisations. The implementation is conservative, and is strongly curtailed by the presence of variable mutation, conditions and loops. * lisp/emacs-lisp/byte-opt.el (byte-optimize-enable-variable-constprop) (byte-optimize-warn-eliminated-variable): New constants. (byte-optimize--lexvars, byte-optimize--vars-outside-condition) (byte-optimize--vars-outside-loop, byte-optimize--dynamic-vars): New dynamic variables. (byte-optimize--substitutable-p, byte-optimize-let-form): New functions. (byte-optimize-form-code-walker): Adapt clauses for variable constprop, and add clauses for 'setq' and 'defvar'. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-test-var) (bytecomp-test-get-var, bytecomp-test-identity) (byte-opt-testsuite-arith-data): Add test cases.
| * ; Fix byte-compilation warningEli Zaretskii2021-02-06
| | | | | | | | | | * test/src/process-tests.el (process-sentinel-interrupt-event): Fix byte compilation warning.
| * ; Fix last changeEli Zaretskii2021-02-06
| |
| * New test for src/process.c on MS-WindowsIoannis Kappas2021-02-06
| | | | | | | | | | | | | | * test/src/process-tests.el (process-sentinel-interrupt-event): New test. (Bug#46284) Copyright-paperwork-exempt: yes
| * Fix TEXT check in gnus-search IMAP searchEric Abrahamsen2021-02-06
| | | | | | | | | | * lisp/gnus/gnus-search.el (gnus-search-run-search): It's a string, not a buffer!
| * Permit zero value for 'child-frame-border-width' parameter (Bug#46184)Martin Rudalics2021-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/frames.texi (Layout Parameters): Update entry on 'child-frame-border-width' parameter. * src/frame.c (make_frame): Init child_frame_border_width to -1. (Fframe_child_frame_border_width): Return internal border width if child frame border width parameter is nil. (gui_report_frame_params): Report nil as child frame border width parameter if the frame value is negative. * src/frame.h (FRAME_INTERNAL_BORDER_WIDTH): Return value of child frame border width only if it is not negative. * src/xfns.c (Fx_create_frame): Default child frame border to -1 when recording it in its frame slot via gui_default_parameter. * src/nsfns.m (ns_set_child_frame_border_width): Handle nil ARG. (Fx_create_frame): Default child frame border width parameter to nil. * src/w32fns.c (w32_set_child_frame_border_width): Handle nil ARG. (Fx_create_frame): Default child frame border width parameter to nil. * src/xfns.c (x_set_child_frame_border_width): Handle nil ARG. (Fx_create_frame): Default child frame border width parameter to nil.
| * Merge from origin/emacs-27Glenn Morris2021-02-06
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ad48a0bdd (origin/emacs-27) Improve doc string of 'text-scale-adjust' 7a25ff767d Clarify the indent-rigidly doc string 6c5ddf0e0b Fix two small tab bar issues c71e08eba9 Fix last change in syntax.texi # Conflicts: # lisp/indent.el
| | * Improve doc string of 'text-scale-adjust'Eli Zaretskii2021-02-06
| | | | | | | | | | | | | | | * lisp/face-remap.el (text-scale-adjust): Clarify that "default face height" refers to the 'default' face. (Bug#25168)
| | * Clarify the indent-rigidly doc stringLars Ingebrigtsen2021-02-06
| | | | | | | | | | | | | | | * lisp/indent.el (indent-rigidly): Clarify exiting the transient mode (bug#46296).
| | * Fix two small tab bar issuesMartin Rudalics2021-02-06
| | | | | | | | | | | | | | | * lisp/cus-start.el (frame-inhibit-implied-resize): Update version tag. * lisp/frame.el (frame-inner-height): Do not count in tab bar.
| | * Fix last change in syntax.texiEli Zaretskii2021-02-05
| | | | | | | | | | | | | | | * doc/lispref/syntax.texi (Syntax Properties): Fix wording in last change. (Bug#46274)
| * | ; Merge from origin/emacs-27Glenn Morris2021-02-06
| |\| | | | | | | | | | | | | | | | The following commit was skipped: 43bf7f1b06 Correct the lispref manual about flushing ppss info
| | * Correct the lispref manual about flushing ppss infoLars Ingebrigtsen2021-02-05
| | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/syntax.texi (Syntax Properties): Correct the information about flushing the state by copying the text from the doc string (bug#46274). (cherry picked from commit ff701ce2b261acce1dfcd1fe137268d87d5eab35)
| * | Merge from origin/emacs-27Glenn Morris2021-02-06
| |\| | | | | | | | | | | | | 8c27af3ff4 Clarify how transient indentation modes are exited in the ... fc37dc298f Fix the previous change
| | * Clarify how transient indentation modes are exited in the manualLars Ingebrigtsen2021-02-05
| | | | | | | | | | | | | | | | | | * doc/emacs/indent.texi (Indentation Commands): Clarify that the other keys don't just exit the transient mode, but are also handled as normally (bug#46296).
| | * Fix the previous changeDmitry Gutov2021-02-05
| | | | | | | | | | | | | | | | | | * lisp/progmodes/project.el (project-find-regexp): Fix the previous change (project-root is not defined in this version). (project-or-external-find-regexp): Same.
| * | ; Merge from origin/emacs-27Glenn Morris2021-02-06
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | The following commits were skipped: b99848c72c Bind default-directory to the project root 19534f988c Make sure default-directory relates to the originating buffer d1455027e0 Initialize signal descriptions after pdumping 256356a36f Clarify the "Sentinels" node in the lispref manual 89f1634afc Fix problem with non-ASCII characters in nnmaildir
| | * Bind default-directory to the project rootDmitry Gutov2021-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/project.el (project-find-regexp): Bind default-directory to the project root, to save this value in the resulting buffer (esp. if the project selector was used, (https://lists.gnu.org/archive/html/emacs-devel/2021-02/msg00140.html). (project-or-external-find-regexp): Same. (cherry picked from commit c07ebfcbe084e8219d8c2588f23f77ba4ef39087)
| | * Make sure default-directory relates to the originating bufferDmitry Gutov2021-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref--show-xref-buffer): Pick up default-directory value from the caller (https://lists.gnu.org/archive/html/emacs-devel/2021-01/msg00551.html). (xref-show-definitions-buffer-at-bottom): Same. (cherry picked from commit 6e73e07a6f5cbdd1c5ae6e0f3fbd0f8f56813f1a)