1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

155655 Commits

Author SHA1 Message Date
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
6339fcffa1 ; Merge from origin/emacs-28
The following commit was skipped:

98abf01fd6 Use correct signal oldset in posix_spawn implementation
2022-04-16 13:43:33 -04:00
Eli Zaretskii
e495a3d79b Merge from origin/emacs-28
aab36e1895 Fix error in tramp-archive-autoload-file-name-handler
11a1f7817e Merge branch 'emacs-28' of git.sv.gnu.org:/srv/git/emacs i...
93974198b6 Commit missing file from previous commit
2022-04-16 13:43:32 -04:00
Eli Zaretskii
e888cee1f9 ; Merge from origin/emacs-28
The following commits were skipped:

71f51f1b9d Commit missing file from previous commit (Do not merge wit...
009e88e002 Merge with Tramp 2.5.2.3 (Do not merge with master)
4161a36849 cl-generic.el: Fix bug#46722
2022-04-16 13:43:32 -04:00
Eli Zaretskii
e8fd3a2a2d Merge from origin/emacs-28
8c71ac606e Fix fallout from lexical-binding in vhdl-mode.el
2022-04-16 13:43:32 -04:00
Eli Zaretskii
d64ad72bcc ; Merge from origin/emacs-28
The following commit was skipped:

dd3863d8bc ; Prepare the release branch for Emacs-28.2 development
2022-04-16 13:43:31 -04:00
Lars Ingebrigtsen
4916c827ec Add new commands to go to headings/sections in the NEWS file
* lisp/textmodes/emacs-news-mode.el (emacs-news-find-heading)
(emacs-news-goto-section): New commands.
2022-04-16 19:14:42 +02:00
Eli Zaretskii
0b9631836a ; * doc/emacs/mini.texi (Completion Commands): Fix markup. 2022-04-16 19:37:00 +03:00
Lars Ingebrigtsen
9b0940420e Add emacs-news-previous-untagged-entry command
* lisp/textmodes/emacs-news-mode.el
(emacs-news-next-untagged-entry): Allow searching backward.
(emacs-news-previous-untagged-entry): New command and keystroke.
2022-04-16 18:35:20 +02:00
Eli Zaretskii
1083dc4600 ; * lisp/language/indian.el ("Brahmi"): Enhance composition rules. 2022-04-16 19:27:25 +03:00
Lars Ingebrigtsen
6bfb6fdb89 Fold some too-long NEWS lines 2022-04-16 18:08:42 +02:00
Lars Ingebrigtsen
e113709827 Do some NEWS tagging 2022-04-16 17:59:05 +02:00
Lars Ingebrigtsen
d5a715177c Do some NEWS tagging 2022-04-16 17:38:37 +02:00
Lars Ingebrigtsen
52de048389 Improve exif-field discoverability
* lisp/image/exif.el (exif-parse-file, exif-parse-buffer): Link to
`exif-field'.
2022-04-16 17:35:44 +02:00
Lars Ingebrigtsen
1c1c7b1b5b Do some NEWS tagging 2022-04-16 17:33:19 +02:00
Lars Ingebrigtsen
d5b9b1a913 Document project-kill-buffers-display-buffer-list
* doc/emacs/maintaining.texi (Project Buffer Commands): Mention
project-kill-buffers-display-buffer-list.

* lisp/progmodes/project.el (project-kill-buffers): Link to
project-kill-buffers-display-buffer-list.
2022-04-16 17:30:32 +02:00
Lars Ingebrigtsen
35c4f6c609 Document prefix to project-find-file
* doc/emacs/maintaining.texi (Project File Commands): Mention the
prefix in the project-find-file command.
2022-04-16 17:27:37 +02:00
Lars Ingebrigtsen
bb8e277df1 Fix glyphless-display-mode indexing
* doc/lispref/display.texi (Glyphless Chars): Fix indexing.
2022-04-16 17:21:43 +02:00
Lars Ingebrigtsen
a1954288de Document completions-sort
* doc/emacs/mini.texi (Completion Options): Document completions-sort.
2022-04-16 17:20:04 +02:00
Lars Ingebrigtsen
db1bfcd909 Mention completion-wrap-movement in relevant commands
* lisp/simple.el (previous-completion, next-completion): Mention
`completion-wrap-movement'.
2022-04-16 17:17:05 +02:00
Lars Ingebrigtsen
429f2c4b81 Document minibuffer-completion-auto-choose/M-up/M-down
* doc/emacs/mini.texi (Completion Commands): Document
minibuffer-completion-auto-choose/M-up/M-down.
2022-04-16 17:14:08 +02:00
Lars Ingebrigtsen
37b11e5f16 Further IDNA/proxy url fixes
* lisp/url/url-http.el (url-http-create-request): Puny-encode
domains (bug#54921).
2022-04-16 17:02:01 +02:00
Lars Ingebrigtsen
51013d328c Crosslink some buttonize function doc strings
* lisp/button.el (buttonize-region, buttonize): Crosslink doc
strings for discoverability.
2022-04-16 16:59:41 +02:00
Lars Ingebrigtsen
d1bc95b3a4 Improve completion in `C-h R'
* lisp/info.el (info-display-manual): Use it (bug#54961).
(info--filter-manual-names): Filter away duplicates and irrelevant
files.
2022-04-16 16:35:57 +02:00
Lars Ingebrigtsen
4f1612188b Make emacs-news-next-untagged-entry push the mark
* lisp/textmodes/emacs-news-mode.el
(emacs-news-next-untagged-entry): Push the mark for easier
navigation back to where we were.
2022-04-16 16:11:45 +02:00
Lars Ingebrigtsen
5752a839e5 Fix NEWS tag commands
* lisp/textmodes/emacs-news-mode.el
(emacs-news-next-untagged-entry): Fix logic.
(emacs-news-count-untagged-entries): Add new command and keystroke.
2022-04-16 16:07:25 +02:00
Lars Ingebrigtsen
db416ae049 Clean up emacs-news--buttonize
* lisp/textmodes/emacs-news-mode.el (emacs-news--buttonize):
Remove unnecessary check left over from previous version.
2022-04-16 15:58:20 +02:00
Lars Ingebrigtsen
b381929c91 Bind TAB and <backtab> on buttons
* lisp/button.el (button-map): Inherit from 'button-buffer-map'.
2022-04-16 15:57:33 +02:00
Lars Ingebrigtsen
dcbef9045f Regenerated ldefs-boot.el 2022-04-16 15:42:10 +02:00
Lars Ingebrigtsen
5a59059b24 Add a new mode for editing and viewing the Emacs NEWS file
* etc/NEWS (mode): Use emacs-news-mode.
* lisp/help.el (view-emacs-news): Use emacs-news-mode.

* lisp/textmodes/emacs-news-mode.el: New mode for editing and
viewing the Emacs NEWS file.
2022-04-16 15:42:10 +02:00
Lars Ingebrigtsen
d71ee07852 Add new function buttonize-region
* lisp/button.el (buttonize-region): New function.
(button--properties): Factored out.
(buttonize): Use it.
2022-04-16 15:42:10 +02:00
Po Lu
5ad6a08a2e Prevent race conditions with async input during drag-and-drop
* src/xterm.c (XTread_socket): Don't read events here during
drag-and-drop, otherwise the right hold_quit might not be used
for selection events.
2022-04-16 19:12:56 +08:00
Mattias Engdegård
6815db492f Fix builds on older versions of macOS
This adds back macOS-specific code replaced earlier (bug#48548),
specifically to fix build errors on macOS 10.7.5.  See discussion at
https://lists.gnu.org/archive/html/emacs-devel/2022-04/msg00779.html .

* src/sysdep.c (HAVE_RUSAGE_INFO_CURRENT, HAVE_PROC_PIDINFO): New.
(system_process_attributes): Use alternative code or exclude features
when building on older macOS versions.

(cherry picked from commit 855e15dbf1)
2022-04-16 12:25:39 +02:00
Eli Zaretskii
16ccca6dc3 Improve support for the Brahmi script
* lisp/language/indian.el ("Brahmi"): New language environment.
Add composition rules for Brahmi.
* lisp/international/fontset.el (script-representative-chars)
(setup-default-fontset): Support Brahmi.  (Bug#54914)

* etc/NEWS: Announce the new language environment.
2022-04-16 13:18:47 +03:00
Mattias Engdegård
de306d3e5d Disable annoying Clang warnings
* configure.ac (CHECK_LISP_OBJECT_TYPE): Disable
-Wimplicit-const-int-float-conversion and -Wint-in-bool-context, which
currently only have false positives.
2022-04-16 11:32:20 +02:00
Lars Ingebrigtsen
b3ff490538 Fix ODF file detection in doc-view-mode
* lisp/doc-view.el (doc-view-set-doc-type): Fix ODF file detection
(bug#54947).
2022-04-16 11:21:33 +02:00
Po Lu
625d6da5ba Fix build with toolkit scroll bars without XI2
* src/xterm.c (mark_xterm): Fix up ifdefs slightly.
2022-04-16 17:13:43 +08:00
Po Lu
760107639b Protect windows from garbage collection when a ClientMessage is pending
* src/xterm.c (x_protect_window_for_callback)
(x_unprotect_window_for_callback): New functions.
(x_send_scroll_bar_event): Protect windows from garbage
collection before sending event containing pointer to window.
(handle_one_xevent): Unprotect after such a ClientMessage is
received and the window put in the keyboard buffer.
(x_term_init): Initialize protected windows list.
(x_delete_display): Free that list.
(mark_xterm): Mark the windows in that list.
* src/xterm.h (struct x_display_info): New fields for recording
a list of protected windows.
2022-04-16 16:50:02 +08:00
Eli Zaretskii
09f905c80b ; * lisp/window.el (display-buffer-assq-regexp): Doc fix. 2022-04-16 11:41:48 +03:00
Po Lu
c5c6d5cf1c Add some missing multilingual keys to Haiku
* src/haiku_support.cc (keysym_from_raw_char): Support keys
found on some East Asian keyboards.
2022-04-16 04:04:25 +00:00
Po Lu
1fed6e7b56 Handle errors getting selection ownership when starting DND
* src/xterm.c (x_clear_dnd_targets): New function.
(x_dnd_begin_drag_and_drop): Handle errors in `x_own_selection'.
2022-04-16 08:54:40 +08:00
Philip Kaludercic
c3ab8f188e Improve buffer-match-p documentation
* doc/lispref/windows.texi (Choosing Window): Document that
buffer-match-p is used by display-buffer-alist.
* etc/NEWS: Mention buffer-match-p and match-buffers.
* lisp/window.el (display-buffer-alist): Update documentation as for
display-buffer-assq-regexp.
(display-buffer-assq-regexp): Rename buffer-name to buffer-or-name.
(display-buffer): Pass the buffer directly to
display-buffer-assq-regexp,.
2022-04-15 21:12:56 +02:00
Philip Kaludercic
fdd8b5913b Add rcirc-cycle-completion-flag
* doc/misc/rcirc.texi: Document new option.
* lisp/net/rcirc.el (rcirc-cycle-completion-flag): Add new option.
(rcirc-mode): Respect new option.
2022-04-15 17:10:45 +02:00
Po Lu
dfee279054 Fix default registry of Haiku font backend
* src/haiku_support.h (struct haiku_zoom_event): Fix coding
style.
(enum haiku_font_specification): Move FSPECs over here.
* src/haikufont.c (haikufont_apply_registry)
(haikufont_get_fallback_entity, haikufont_pattern_to_entity)
(haikufont_spec_or_entity_to_pattern, haikufont_list): Use
`iso10646-1' as the default registry instead of `utf8', which is
not a registry.
2022-04-15 12:22:55 +00:00
Lars Ingebrigtsen
2d4c5f0b85 Enable dragging resizing final column in vtable
* lisp/emacs-lisp/vtable.el (vtable--insert-line): Insert the
divider after the final column, too, so that the size can be
dragged.
2022-04-15 14:06:33 +02:00
Po Lu
8e464272bd ; * src/haiku_support.h: Fix header coding style. 2022-04-15 12:00:35 +00:00
Po Lu
4ac25d53af Clean up keysyms from Haiku headers
* src/haiku_support.cc (keysym_from_raw_char): Add keysym
numbers here and use those instead.
* src/haiku_support.h: Delete all the X11 keysym definitions.
2022-04-15 12:00:35 +00:00
Lars Ingebrigtsen
68e6430959 Add some mouse-face bits to vtable
* lisp/emacs-lisp/vtable.el (make-vtable)
(vtable--insert-header-line): Put mouse-face on draggable bits.
2022-04-15 13:58:41 +02:00
Lars Ingebrigtsen
4bc36f09b9 Tweak sorting indicator placement in vtable
* lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Tweak
sorting indicator position.
2022-04-15 13:45:00 +02:00
Lars Ingebrigtsen
c4768cda7f Make the sorting indicator prettier in vtable
* lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Place
the sorting indicator flush right in the heading.
2022-04-15 13:37:13 +02:00