summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ; Auto-commit of loaddefs files.Stefan Kangas2022-01-011-21/+8
|
* Improve doc strings of fringe indicator variablesEli Zaretskii2021-12-311-4/+5
| | | | | * src/buffer.c (syms_of_buffer): Fix doc strings of 'indicate-empty-lines' and 'indicate-buffer-boundaries'.
* * lisp/tab-line.el (tab-line--get-tab-property): New function (bug#52881).Juri Linkov2021-12-311-9/+15
| | | | | | | (tab-line-auto-hscroll): Use ‘tab-line--get-tab-property’ instead of ‘get-pos-property 1’, and ‘get-text-property’ instead of ‘get-pos-property’. (tab-line-select-tab, tab-line-close-tab): Use tab-line--get-tab-property.
* Avoid assertion violations with variable-weight fontsEli Zaretskii2021-12-301-3/+6
| | | | | | | | * src/font.c (font_score, font_delete_unmatched): Don't assume weight, slant, and width properties of the font must be fixnums: some variable-weight fonts violate that assumption. Reported by Sean Whitton <spwhitton@spwhitton.name>. Do not merge to master. (Bug#52888)
* Minor improvement in user documentation of completion styleEli Zaretskii2021-12-301-1/+4
| | | | | * doc/emacs/mini.texi (Completion Styles): Add reference to "Completion Variables" in the ELisp manual. (Bug#52901)
* Fix bug where bookmark-jump used (point), not (point-at-bol)Campbell Barton2021-12-301-1/+1
| | | | | | | | | | This matches changes from e852822f3db469c985bf022651f184d6ff2c518a, regression in 7fe88446c30279285e3171091189b3d1af697c05. * lisp/bookmark.el (bookmark--jump-via): Look at overlays at BOL. Otherwise the fringe bookmark indication is not deleted with the bookmark. Copyright-paperwork-exempt: yes
* CC Mode: c-update-brace-stack: After struct foo *, do not expect a brace.Alan Mackenzie2021-12-292-3/+3
| | | | | | | | | | This fixes bug #52796. * lisp/progmodes/cc-engine.el (c-update-brace-stack): Handle a "*" like a semicolon, cancelling the expectation of a brace. * lisp/progmodes/cc-langs.el (c-brace-stack-thing-key): Add a "*" into the sets of significant characters.
* Improve documentation of 'M-X' and related featuresEli Zaretskii2021-12-293-14/+40
| | | | | | | | | | * doc/emacs/m-x.texi (M-x): Index 'M-X'. * doc/lispref/commands.texi (Interactive Call, Command Modes): Mention 'M-X' and 'execute-extended-command-for-buffer'. * etc/NEWS: Clarify that the '(declare (completion ...' and '(declare (modes ...' forms have no effect by default. Likewise for '(interactive "..." MODE)' specs. (Bug#52839)
* Improve rectangle-mark-mode documentation regarding mark activationSean Whitton2021-12-282-6/+13
| | | | | | | | | | | * doc/emacs/killing.texi: Describe how rectangle-mark-mode works when Transient Mark mode is off. Qualify discussion of rectangle-exchange-point-and-mark to say that it cycles the four corners only when the region is active. * lisp/rect.el (rectangle-mark-mode): State that rectangle-mark-mode does not activate the mark when Transient Mark mode is off. Reword sentence about how long the mode lasts to account for when Transient Mark mode is off. (Bug#42663)
* Fix typos in in 'reset-language-environment'Eli Zaretskii2021-12-271-3/+3
| | | | | * lisp/international/mule-cmds.el (reset-language-environment): Fix a typo in 'windows-nt'. (Bug#52816)
* eshell-complete-parse-arguments: don't use string-match on a listÓscar Fuentes2021-12-271-1/+1
| | | | | | | | | When there is more than one candidate for completion, `val' is a list. Fixes bug#52794. * lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments): protect use of string-match with stringp.
* Update to Org 9.5.2-3-geb9f34Kyle Meyer2021-12-265-11/+21
|
* Improve documentation of read-multiple-choiceStefan Kangas2021-12-261-1/+6
| | | | | * doc/lispref/commands.texi (Reading One Event): Document optional third argument help-string of read-multiple-choice.
* Explain why we remove stuff from 'user-full-name'Eli Zaretskii2021-12-251-2/+7
| | | | | * src/editfns.c (Fuser_full_name): Document why we chop everything starting from the first comma. (Bug#52785)
* Fix the bug with duplicate entries in xref outputDmitry Gutov2021-12-241-8/+9
| | | | | * lisp/progmodes/etags.el (xref-backend-definitions): Make sure to save the changed intermediate value of the list (bug#52734).
* Improve Xref documentationDmitry Gutov2021-12-241-2/+14
| | | | | * lisp/progmodes/xref.el (xref-item): Add docstring for 'summary'. Fix typo in the header Commentary.
* * lisp/net/shr.el (shr-expand-url): Also strip trailingAndreas Schwab2021-12-231-1/+3
| | | | whitespace.
* Revert field-related thingatpt changesLars Ingebrigtsen2021-12-223-31/+16
| | | | | | This reverts 7db376e560448e61485ba054def8c82b21f33d6a, which led to severe performance regressions when being run in large buffers with no fields (bug#52593)
* * lisp/window.el (quit-restore-window): Select previously selected window.Juri Linkov2021-12-211-1/+4
| | | | | | After deleting the dedicated window, such as a window with *Completions* buffer, select the previously selected window, like most of other 'cond' branches do in this function (bug#52491).
* Revert "Remove Motif support"Robert Pluim2021-12-212-7/+5
| | | | This reverts commit db237850abc240e2c3e765e9cc7e15ee5681dcaf.
* ; * doc/lispref/frames.texi (Child Frames): Improve wording.Eli Zaretskii2021-12-191-14/+16
|
* Clarify description of two mouse dragging parameters (Bug#52537)Martin Rudalics2021-12-191-14/+14
| | | | | * doc/lispref/frames.texi (Child Frames): Clarify description of 'top-visible' and 'bottom-visible' parameters (Bug#52537).
* Update to Org 9.5.1-31-ga18849Kyle Meyer2021-12-185-13/+18
|
* Fix control buffer window height in 'ediff-setup-control-buffer' (Bug#49277)Martin Rudalics2021-12-151-1/+19
| | | | | | | * lisp/vc/ediff-util.el (ediff-setup-control-buffer): Emulate original 'shrink-window-if-larger-than-buffer' call by calling 'fit-window-to-buffer' with an appropriate maximum height argument (Bug#49277).
* Fix crash when dumping charset_table with portable dumper (Bug#52461)YAMAMOTO Mitsuharu2021-12-153-3/+4
| | | | | | | * src/charset.h: * src/charset.c (charset_table_used): Now extern. * src/pdumper.c (dump_charset): Don't dump code_space_mask for unused slots of charset_table.
* ; etc/NEWS: Move the note about Xref EIEIO change to the proper sectionDmitry Gutov2021-12-151-14/+14
|
* Remove maintainer comment from Emacs 28 module snippet.Philipp Stephani2021-12-141-4/+0
| | | | | | | | This is the same as 44c13eefe8d30841000a96d82f467fb8d222e365 on master. We should also remove this comment on the release branch, otherwise it ends up in the emacs-module.h shipped to users. * src/module-env-28.h: Remove maintainer comment.
* Set calc-make-windows-dedicated to nil by defaultStefan Kangas2021-12-142-4/+4
| | | | | * lisp/calc/calc.el (calc-make-windows-dedicated): Default to nil. (Bug#52016)
* * make-dist: Don't run "make --question info". (Bug#52322)Stefan Kangas2021-12-141-7/+0
|
* ; * src/xdisp.c (move_it_vertically_backward): Clarify commentary.Eli Zaretskii2021-12-131-5/+6
|
* Fix regression in help-mode promptEli Zaretskii2021-12-131-2/+6
| | | | | * lisp/help-macro.el (make-help-screen): Restore SPC and DEL in prompt. Reported by Colin Baxter <m43cap@yandex.com>.
* Make `M-x run-python' select the window againKévin Le Gouguec2021-12-132-8/+14
| | | | | | | | | | | | | | | | | | | | | | Interactively, we want M-x run-python to focus the interpreter buffer. The previous code failed in two ways: - the call to 'display-buffer' was not reached if an interpreter was already running, - set-buffer is ineffectual if the interpreter's window is not selected: once Emacs returns to the command loop, the current buffer will revert back to what the selected window contains. * lisp/progmodes/python.el (python-shell-make-comint): Handle the SHOW argument regardless of whether an interpreter buffer exists, and use pop-to-buffer to select the window. (run-python): Delegate buffer management to 'python-shell-make-comint'. * test/lisp/progmodes/python-tests.el (python-tests--run-python-selects-window): Rename from 'python-tests--bug31398', and adjust assertions (bug#52380).
* * lisp/tab-bar.el (tab-bar-switch-to-last-tab): Add 'abs' for precautions.Juri Linkov2021-12-121-1/+1
| | | | https://lists.gnu.org/archive/html/emacs-devel/2021-11/msg01149.html
* * make-dist (manifest): Filter out msdos/autogen/* files.Eli Zaretskii2021-12-121-1/+3
|
* Rewrite the "Quitting Windows" section of Emacs Lisp ReferenceRichard Stallman2021-12-122-95/+126
| | | | | * doc/lispref/windows.texi (Quitting Windows): Rewrite for clarity. (Bug#52328)
* Fix eshell for systems that do not have subprocessesPo Lu2021-12-121-2/+2
| | | | | * lisp/eshell/esh-cmd.el (eshell-eval-command): Use `eshell-processp' instead of `processp'.
* Avoid undefined behavior in 'send-process-region' (Bug#52369).Philipp Stephani2021-12-111-0/+3
| | | | | * src/process.c (send_process): Signal an error if the file descriptor has already been closed.
* Update to Org 9.5.1-25-g9ca3bcKyle Meyer2021-12-1113-32/+50
|
* Fix the DJGPP portPo Lu2021-12-1113-31/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.bat: * msdos/sed1v2.inp: * msdos/sed2v2.inp: * msdos/sed3v2.inp: * msdos/sedlibmk.inp: Update for Emacs 28. * msdos/langinfo.h: New file. * lisp/loadup.el: Use correct path to temacs when dumping on MS-DOS. * src/callproc.c (environ) [MSDOS]: New declaration. (child_setup, emacs_spawn): Update MS-DOS parts for Emacs 28. * src/fileio.c (Fcopy_file): Don't use copy_file_range on MS-DOS. * src/msdos.c (initialize_msdos_display): Add `defined_color_hook'. (openat, fchmodat, futimens, utimensat): New functions. * src/msdos.h (FRAME_X_DISPLAY): New macro. * src/process.c: Make some more things conditional on subprocess support. (PIPECONN_P, PIPECONN1_P) [!subprocesses]: New placeholder macros. (Fnum_processors): Return 1 on MSDOS. (open_channel_for_module): Avoid subprocess specific code on MSDOS.
* Revert "Make `M-x run-python' select the window again"Lars Ingebrigtsen2021-12-101-2/+2
| | | | | | This reverts commit aa2872a12770282ede3548ed3fcab00c5a5b9f18. This led to a test failure.
* Make `M-x run-python' select the window againKévin Le Gouguec2021-12-101-2/+2
| | | | | * lisp/progmodes/python.el (python-shell-make-comint): Make `M-x run-python' select the window again like in 27.2 (bug#52380).
* Don't bug out on certain empty elements with idsLars Ingebrigtsen2021-12-101-1/+1
| | | | | * lisp/net/shr.el (shr-descend): Fix empty-element #id targetting (bug#52391).
* ; * lisp/image-dired.el: Fix typo.Stefan Kangas2021-12-101-1/+1
|
* emacsclient takes more care about XDG_RUNTIME_DIRPaul Eggert2021-12-091-2/+1
| | | | | | | * lib-src/emacsclient.c (set_local_socket): Revert to the Emacs 27 behavior of not trying TMPDIR if XDG_RUNTIME_DIR is set. This is one of the suggestions made by Jim Porter and independently by Ulrich Mueller in Bug#51327.
* ; Prefer HTTPS in more URLsStefan Kangas2021-12-0918-22/+22
|
* ; * lisp/progmodes/flymake.el: Update the minimum Emacs version.Eli Zaretskii2021-12-091-1/+1
|
* Add missing K key documentation for Cangjie input methodsCameron Desautels2021-12-091-1/+1
| | | | | * lisp/international/titdic-cnv.el (tsang-quick-converter): Add the missing K key in input method documentation. (Bug#52264)
* Fix manual entry of 'quit-restore-window' (Bug#52328)Martin Rudalics2021-12-091-6/+6
| | | | | * doc/lispref/windows.texi (Quitting Windows): Fix bug in description of 'quit-restore-window' (Bug#52328).
* Clarify a comment in xdisp.cEli Zaretskii2021-12-091-4/+5
| | | | | * src/xdisp.c (compute_window_start_on_continuation_line): Clarify a comment. (Bug#52378)
* Revert "Grep alias `all' shall not match parent directory"Óscar Fuentes2021-12-081-1/+1
| | | | | | | | | | | This reverts commit 856cd948d1a5a016ad36721246a049d33451902f. Emacs got better at quoting shell arguments and the original value works correctly for vc-git-grep. At the same time, the value introduced on that commit caused a regression on lgrep. * lisp/progmodes/grep.el (grep-files-aliases): Use previous value for `all'. Fixes bug#52367