summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ; improve test coverage of time-stamp-pattern parsingStephen Gildea2022-10-141-4/+4
| | | | | * test/lisp/time-stamp-tests.el (time-stamp-test-pattern-multiply, time-stamp-test-pattern-sequential): broaden range of test data
* ; Auto-commit of loaddefs files.Stefan Kangas2022-10-151-11/+40
|
* Use file-size-human-readable in memory-report--formatStefan Kangas2022-10-151-6/+1
| | | | | * lisp/emacs-lisp/memory-report.el (memory-report--format): Use file-size-human-readable.
* Update image-circular-tests.elBasil L. Contovounesios2022-10-151-17/+24
| | | | | | | | | | * test/manual/image-circular-tests.el (image-test-duplicate-keywords): Skip unless images are supported. (image-test-circular-plist, image-test-:type-property-value): Ditto. Wrap only failing forms in should[-error] rather than entire test bodies. Use simpler printed notation in place of function calls. (image-test-circular-specs): Ditto. Wrap overly wide docstring. Mark as failing since shortly after its introduction (bug#36403#63).
* Rename `file-attribute-file-number' to `file-attribute-file-identifier'Michael Albinus2022-10-146-11/+13
| | | | | | | | | | | | * doc/lispref/files.texi (File Attributes): * etc/NEWS: * lisp/files.el (find-buffer-visiting, find-file-noselect) (set-visited-file-name, basic-save-buffer) (file-attribute-file-identifier): * lisp/startup.el (normal-top-level-add-subdirs-to-load-path): * lisp/eshell/em-unix.el (eshell-shuffle-files): * src/dired.c (Ffile_attributes): Rename `file-attribute-file-number' to `file-attribute-file-identifier'.
* Correctly fontify C++'s operator"" _tag (...)Alan Mackenzie2022-10-143-9/+68
| | | | | | | | | | | | | | | | | | | Give both the "" and _tag font-lock-function-name-face. Also correct the fontification of an inherited class name when there is an attribute between the class name being declared and the colon introducing the inheritance. * lisp/progmodes/cc-engine.el (c-forward-over-colon-type-list): New function. (c-forward-keyword-clause): Use the above new function instead of a looking-at. (c-forward-name, c-forward-declarator): Accept both the "" and the tag as part of the name. * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Fontify the "" (which already has font-lock-string-face) and the tag with font-lock-function-name-face. * lisp/progmodes/cc-langs.el (c-overloadable-operators): Add "" to this list. (c-sub-colon-type-list-re): New lang-const and lang-var.
* Add a quick-help menuPhilip Kaludercic2022-10-142-1/+140
| | | | | | | | | | * lisp/help.el (help-map): Bind 'help-quit-or-quick' instead of 'help-quit'. (help-quick-sections): Add variable. (help-quick): Add main command. (cheat-sheet): Add alias for 'help-quick'. (help-quit-or-quick): Add auxiliary command. lisp/help.el (help-for-help): Mention 'help-quit-or-quick'. * etc/NEWS (https): Mention 'help-quit'.
* * lisp/net/rcirc.el (rcirc-bridged-nick): Inherit from highlightPhilip Kaludercic2022-10-141-5/+1
|
* Allow filtering what items are added to EcompletePhilip Kaludercic2022-10-142-14/+26
| | | | | | * etc/NEWS: Mention new option. * lisp/ecomplete.el (ecomplete-filter-regexp): Add new option. (ecomplete-add-item): Respect new option. (bug#58487)
* Prevent .dir-locals.el from being byte-compiledPhilip Kaludercic2022-10-142-2/+2
| | | | | | | * lisp/files-x.el (modify-dir-local-variable): Add a 'no-byte-compile' file local variable when generating a .dir-locals.el file. * .dir-locals.el: Add 'no-byte-compile'. (Bug#58486)
* * lisp/net/rcirc.el (rcirc-generate-log-filename): Append ".log"Philip Kaludercic2022-10-141-3/+5
| | | | (Bug#54718)
* ; * lisp/vc/vc.el (vc-default-prepare-patch): Add missing argumentPhilip Kaludercic2022-10-141-1/+1
|
* Prepare all inline patches at oncePhilip Kaludercic2022-10-141-3/+3
| | | | | * lisp/vc/vc.el (vc-prepare-patch): Remove the usage of 'recursive-edit' when 'vc-prepare-patches-separately' is non-nil.
* Allow reordering commits in 'vc-prepare-patch' promptPhilip Kaludercic2022-10-141-2/+6
| | | | | * lisp/vc/vc.el (vc-prepare-patch): Use marked log-view commits as initial input.
* Mention that vc-prepare-patch can interact with a log-viewPhilip Kaludercic2022-10-141-2/+7
| | | | ; * doc/emacs/vc1-xtra.texi (Preparing Patches): Extend documentation.
* * lisp/play/zone.el (zone): Allow selecting a programPhilip Kaludercic2022-10-141-5/+19
|
* Do perl documentation lookups case-insensitively, like manReuben Thomas2022-10-141-1/+1
| | | | | * lisp/progmodes/cperl-mode.el (cperl-perldoc): add -i to the perldoc command.
* Fix bug#56153Po Lu2022-10-141-10/+13
| | | | | | | | | | | * src/nsterm.m (get_keysym_name) (ns_draw_glyphless_glyph_string_foreground): Fix new Mac OS deprecations. ([EmacsApp terminate:]): Use kbd_buffer_store_event instead of emacs_event. (bug#56153) ([EmacsView windowDidChangeBackingProperties:]): Fix new Mac OS deprecation.
* Avoid redundant creation of XRender picturesPo Lu2022-10-141-19/+49
| | | | | | | * src/xterm.c (x_composite_image): Take arg DESTINATION. Do not create a picture if it is set. (x_draw_image_foreground, x_draw_image_foreground_1): Pass destination where appropriate.
* ; Fix recent change in documentation of "device number"Eli Zaretskii2022-10-145-20/+24
| | | | | | | | | | | * src/dired.c (Ffile_attributes): * lisp/files.el (buffer-file-number, file-attribute-file-number): Fix wording of the doc strings. * etc/NEWS: * doc/lispref/buffers.texi (Buffer File Name): * doc/lispref/files.texi (File Attributes): Fix a typo and wording. (Bug#58446)
* Merge from origin/emacs-28Stefan Kangas2022-10-141-2/+2
|\ | | | | | | 85e47d9a9e ; Continued cleanup of "-hooks"
| * ; Continued cleanup of "-hooks"Bill Wohler2022-10-131-2/+2
| | | | | | | | | | * doc/misc/mh-e.texi: Replace mh-kill-folder-suppress-prompt-hook with mh-kill-folder-suppress-prompt-functions.
* | Clarify structure of file-attribute's device numberMichael Albinus2022-10-137-25/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/buffers.texi (Buffer File Name): Fix description of buffer-file-number. * doc/lispref/files.texi (File Attributes): Clarify type of device number. Describe file-attribute-file-number. (Bug#58446) * etc/NEWS: Mention file-attribute-file-number. * lisp/files.el (buffer-file-number, file-attribute-device-number) (file-attribute-collect): Fix docstring. (file-attribute-file-number): New defsubst. (find-buffer-visiting, find-file-noselect) (set-visited-file-name, basic-save-buffer): * lisp/startup.el (normal-top-level-add-subdirs-to-load-path): * lisp/eshell/em-unix.el (eshell-shuffle-files): Use it. * src/dired.c (Ffile_attributes): Fix docstring.
* | Improve checks for recent "File exists" fixupPaul Eggert2022-10-131-0/+1
| | | | | | | | * src/fileio.c (Finsert_file_contents): Add an assertion (bug#42431).
* | Make `info' treat "\n" in node names as "\s"Stefan Kangas2022-10-131-0/+5
| | | | | | | | * lisp/info.el (info): Treat "\n" in node name as "\s". (Bug#57936)
* | Shrink client list window structurePo Lu2022-10-131-9/+9
| | | | | | | | | | * src/xterm.c (struct x_client_list_window): Rearrange members for better alignment.
* | Simplify recent "File exists" fixPaul Eggert2022-10-131-1/+1
| | | | | | | | | | * src/fileio.c (Finsert_file_contents): Simplify previous change that fixed bug#42431.
* | Fix hl-line-mode/global-hl-line-mode logic againLars Ingebrigtsen2022-10-131-1/+2
| | | | | | | | | | | | * lisp/hl-line.el (hl-line-mode): Make explicit calls to (hl-line-mode 1) work again when global-hl-line-mode is on (bug#58478).
* | Fix browse-url-emacs for file: URLs on WindowsLars Ingebrigtsen2022-10-131-0/+5
| | | | | | | | | | * lisp/net/browse-url.el (browse-url-emacs): Fix up file:///c:/foo/bar URLs on windows (bug#58464).
* | * lisp/outline.el: Rearrange button/margin functions.Juri Linkov2022-10-131-100/+100
| | | | | | | | | | | | (outline--make-button-overlay, outline--make-margin-overlay) (outline--insert-open-button, outline--insert-close-button) (outline--fix-up-all-buttons): Move to the section "Button/margin indicators".
* | * lisp/outline.el (outline--fix-buttons-after-change): New function.Juri Linkov2022-10-131-9/+21
| | | | | | | | | | (outline-minor-mode): Use it. (outline--make-margin-overlay): Remove inhibit-read-only.
* | Fix misleading "File exists, but cannot be read" in browse-url-emacsLars Ingebrigtsen2022-10-131-1/+1
| | | | | | | | | | | | | | * src/fileio.c (Finsert_file_contents): Don't signal an error about not being able to open the file when we're fetching things via handlers -- in that case, modtime isn't necessarily set, and if there's a handler, it should take care of this (bug#42431).
* | Merge from origin/emacs-28Stefan Kangas2022-10-131-1/+1
|\| | | | | | | 4b4b093ab3 ; * admin/make-tarball.txt: Fix typo.
| * ; * admin/make-tarball.txt: Fix typo.Stefan Kangas2022-10-131-1/+1
| |
* | src/frame.c (do_switch_frame): Fix bug#58343Stefan Monnier2022-10-123-18/+24
| | | | | | | | | | | | | | | | * src/frame.c (do_switch_frame): Move call to `get-mru-window` outside of the "critical region" where (selected-window) != (frame-selected-window). * src/minibuf.c (move_minibuffers_onto_frame): Add arg `frame`. Use it instead of `selected_frame`. Adjust all callers. * src/lisp.h (move_minibuffers_onto_frame): Adjust declaration.
* | Clarify Native-Compilation Variables slightlyLars Ingebrigtsen2022-10-121-1/+1
| | | | | | | | | | * doc/lispref/compile.texi (Native-Compilation Variables): Clarify trampoline bit (bug#58429).
* | Improve makefile-imake-modePo Lu2022-10-121-12/+9
| | | | | | | | | | | | | | * lisp/progmodes/make-mode.el (makefile-imake-font-lock-keywords): Give Imake priority over CPP keywords, and don't require comments to start at BOL. (makefile-imake-mode): Set comment-start to some sensible value.
* | Fix thinko in read-string-from-bufferLars Ingebrigtsen2022-10-121-3/+1
| | | | | | | | | | * lisp/textmodes/string-edit.el (string-edit-done): Return an empty string when the user has entered no text.
* | Fix Python completion when point in shell buffer is before promptkobarity2022-10-122-2/+37
| | | | | | | | | | | | | | * lisp/progmodes/python.el (python-shell-completion-at-point): Limit prompt boundaries check to shell buffer. * test/lisp/progmodes/python-tests.el (python-shell-completion-2): (python-shell-completion-native-2): New tests (bug#58441).
* | Stop relying on Xt hack to set window manager hintsPo Lu2022-10-124-26/+40
| | | | | | | | | | | | | | | | | | | | * src/widget.c (get_wm_shell): Return WMShellWidget. (update_wm_hints, widget_update_wm_size_hints): Return whether or not size hints changed. * src/widget.h: Delete `size_switch'. * src/widgetprv.h (EmacsFramePart): Likewise. * src/xterm.c (x_wm_set_size_hint): Set size hints the usual way if Xt did not set them. (bug#58412)
* | Merge from origin/emacs-28Stefan Kangas2022-10-121-9/+9
|\| | | | | | | 3787d0b11a ; * doc/lispref/windows.texi (Window Hooks): Fix markup (b...
| * ; * doc/lispref/windows.texi (Window Hooks): Fix markup (bug#58445).Eli Zaretskii2022-10-111-9/+9
| |
* | ; lisp/progmodes/project.el: Bump versionDmitry Gutov2022-10-121-1/+1
| |
* | Add trampoline AOT compilation target (bug#58318)Andrea Corallo2022-10-113-0/+22
| | | | | | | | | | | | | | * Makefile.in (trampolines): New target. * lisp/Makefile.in (trampolines): Likewise. * lisp/emacs-lisp/comp.el (comp-compile-all-trampolines): New function.
* | Also avoid setting _NET_WM_USER_TIME on crossingPo Lu2022-10-111-9/+11
| | | | | | | | | | * src/xterm.c (handle_one_xevent): Stop setting user time prop on crossing events.
* | ; * src/fns.c (HAVE_FAST_UNALIGNED_ACCESS): run faster on mainframesMattias EngdegÄrd2022-10-111-1/+2
| |
* | Make read-string-from-buffer and string-edit mention each otherLars Ingebrigtsen2022-10-111-2/+6
| | | | | | | | | | * lisp/textmodes/string-edit.el (read-string-from-buffer) (string-edit): Mention each other in the doc strings.
* | Speed up scrolling when lines are very long and truncatedEli Zaretskii2022-10-112-6/+106
| | | | | | | | | | | | | | | | | | | | | | * src/window.c (window_scroll_for_long_lines): New function. (window_scroll): Call 'window_scroll_for_long_lines' when lines are very long and truncated on display. Also, disable 'fontification-functions' during scrolling in that case. * src/xdisp.c (redisplay_window): When recentering the window's display, go back to the centering position using a simplified method, if lines in the buffer are very long and truncated on display.
* | Remove some more unnecessary calls to block_inputPo Lu2022-10-111-18/+7
| | | | | | | | | | | | | | * src/xterm.c (x_update_opaque_region, show_back_buffer) (XTbuffer_flipping_unblocked_hook, x_clear_under_internal_border) (x_after_update_window_line): Remove and add calls to block_input as required.
* | Accommodate missing spec values in erc-format-messageF. Jason Park2022-10-101-1/+3
| | | | | | | | | | | | | | | | | | * lisp/erc/erc.el (erc-format-message): Although not mentioned in its log message, commit 5281946fbf6b3cdbec5ce82e0057c71849faf4d2 "Make format-spec accept function substitutions" also fixed a bug involving the `ignore-missing' parameter of `format-spec'. Until now, ERC has been relying on the old behavior to gracefully handle malformed server messages. This commit tries to regain that functionality.