Robert Pluim
a491b73c76
Improve 'ensure-empty-lines' docstring
...
* lisp/emacs-lisp/subr-x.el (ensure-empty-lines): Fix typo and improve
wording.
2021-11-10 17:42:30 +01:00
Robert Pluim
c5e7a0225b
; * etc/NEWS: Improve some entries.
2021-11-10 17:05:10 +01:00
Robert Pluim
bf4151c65d
; * etc/NEWS: Fix merge error
2021-11-10 17:04:08 +01:00
Robert Pluim
77aff4c56e
; * etc/NEWS: Fix merge error
2021-11-10 16:53:44 +01:00
Stefan Kangas
4424970b2b
* admin/update_autogen: Remove unused variables.
2021-11-10 16:37:52 +01:00
Stefan Kangas
3aad70326d
Use "grep -E" instead of deprecated "egrep"
...
* admin/emake:
* test/lisp/so-long-tests/so-long-tests.el: Use "grep -E" instead of
deprecated "egrep".
2021-11-10 16:30:50 +01:00
Stefan Kangas
810fa21d26
Avoid another byte-compiler warning in package-quickstart.el
...
* lisp/emacs-lisp/package.el (package-quickstart-refresh): Avoid
byte-compiler warning "assignment to free variable" in
package-quickstart.el.
2021-11-10 15:24:29 +01:00
Stefan Kangas
1e7720d39a
Avoid spurious byte-compiler warnings in package-quickstart.el
...
* lisp/emacs-lisp/package.el (package-quickstart-refresh): Disable the
"`make-variable-buffer-local' not called at toplevel" byte-compiler
warnings. Given that we wrap it all in a let-form, these are mostly
false positives and not helpful.
2021-11-10 14:52:38 +01:00
Stefan Kangas
e3f5f5d867
* admin/automerge: Fix quoting of some variables.
2021-11-10 13:06:58 +01:00
Stefan Kangas
99abafdd0d
* admin/automerge: Use mktemp if it exists.
2021-11-10 13:06:58 +01:00
Po Lu
4d99388c16
Prevent GDK warning about missing event devices in most cases
...
* src/xwidget.c (synthesize_focus_in_event): Set event device to
selected frame's pointer if it's an X frame.
2021-11-10 19:43:53 +08:00
Po Lu
4ab7a22abe
Add `xwidget-webkit-isearch-yank-kill'
...
* lisp/xwidget.el: Bind C-y to xwidget-webkit-yank-kill in incremental
search.
(xwidget-webkit-isearch-mode): Update doc string.
(xwidget-webkit-yank-kill): New function.
2021-11-10 19:43:53 +08:00
Stefan Kangas
acf408934d
Merge from origin/emacs-28
...
8d81ab374d time-stamp: %F is "file name" not "pathname" + other doc
beaa7e14f3 ; Fix typos in CONTRIBUTE, ELisp manual, ediff
747a1ae4ac * doc/misc/eww.texi (Advanced): Fix missed variable name e...
52fe2340b8 * doc/emacs/windows.texi (Window Convenience): Use @code f...
7d3a654e2a * doc/emacs/maintaining.texi (Basic VC Editing): Mention D...
aeb19af4b5 ; * doc/emacs/building.texi (Lisp Libraries): Fix a typo. ...
# Conflicts:
# etc/NEWS
2021-11-10 12:12:30 +01:00
Stefan Kangas
d7e7f92fc3
; Merge from origin/emacs-28
...
The following commit was skipped:
a83ccc46fa * lisp/progmodes/prog-mode.el (prog-context-menu): Use "Go...
2021-11-10 12:12:29 +01:00
Stefan Kangas
1bb3fb4e45
Merge from origin/emacs-28
...
2782bc113e Revert "Fix localized display of date and time in the NS p...
2021-11-10 12:12:29 +01:00
Po Lu
b1de4a2ede
Prevent skipping results while changing search direction
...
* lisp/xwidget.el (xwidget-webkit-isearch-forward)
(xwidget-webkit-isearch-backward): Avoid moving to the next result one
too many times.
2021-11-10 17:53:13 +08:00
Benj
754810add1
Make the python missing-readline warning more helpful
...
* lisp/progmodes/python.el
(python-shell-completion-native-turn-on-maybe): Mention the "readline"
package (bug#48998).
Copyright-paperwork-exempt: yes
2021-11-10 10:07:42 +01:00
Robert Pluim
5a58b2f58c
; * doc/lispref/files.texi: Fix typo.
2021-11-10 08:56:03 +01:00
Lars Ingebrigtsen
f7c08c8b41
Make `C-c C-c' in erts-mode work with Point-Char elems
...
* lisp/progmodes/erts-mode.el (erts-mode--preceding-spec):
Factor out into own function (bug#51680).
(erts-run-test): Respect Point-Char settings.
2021-11-10 08:52:33 +01:00
Po Lu
32d1a735ce
Remove obsolete limitation
...
* src/xwidget.c (Fxwidget_webkit_goto_history): Accept any fixnum as
REL-POS, to be consistent with docstring.
2021-11-10 15:47:56 +08:00
Po Lu
465ec29926
Fix incorrect offset calculation for clipped xwidget views
...
* src/xwidget.c (from_embedder, to_embedder): Remove incorrect
adjustment of position by view clipping.
2021-11-10 14:29:54 +08:00
Po Lu
9653cbf355
Fix invisible content in WebKit dialogs
...
* src/xwidget.c (webkit_script_dialog_cb): Use custom label instead of
dialog box title to display message.
2021-11-10 14:19:15 +08:00
Po Lu
1e5eb566cc
Set embedder correctly to fix menus appearing in the wrong location
...
* src/xwidget.c (record_osr_embedder, from_embedder, to_embedder): New
functions.
(Fmake_xwidget): Attach from-embedder and to-embedder signals.
(find_widget_for_offscreen_window): New function.
(xwidget_button, xwidget_motion_or_crossing): Set embedder on event.
(Fdelete_xwidget_view): Remove embedder status if applicable.
* src/xwidget.h (struct xwidget): New fields `embedder' and
`embedder-view'.
2021-11-10 14:06:07 +08:00
Po Lu
e27ca55ecb
Revert "Fix mouse face in NS port"
...
This reverts commit 278e4fc9c6 .
2021-11-10 14:04:26 +08:00
Po Lu
2e2260427e
Revert "*** empty log message ***"
...
This reverts commit 68a2a3307d .
2021-11-10 14:04:25 +08:00
Po Lu
b21f1cabd8
Revert "Add support for event processing via XInput 2"
...
This reverts commit 346cfc8124 .
2021-11-10 14:04:24 +08:00
Po Lu
12beb77ec8
Revert "Fix erasing cursor on top of raised boxes in NS port"
...
This reverts commit 2b5a2ab50b .
2021-11-10 14:04:22 +08:00
Po Lu
da5de19423
Revert "Revert "Fix erasing cursor on top of raised boxes in NS port""
...
This reverts commit 7117bbc7aa .
2021-11-10 14:04:21 +08:00
Po Lu
e9b954f0fd
Revert "Support opening the toolkit menu bar on NS"
...
This reverts commit ff9cf991c1 .
2021-11-10 14:04:05 +08:00
oldosfan
ff9cf991c1
Support opening the toolkit menu bar on NS
...
* src/nsmenu.m (ns_activate_menubar, Fns_open_menubar): New functions.
* src/nsterm.m (ns_create_terminal): Add activate_menubar_hook.
* lisp/menu-bar.el (menu-bar-open): Use ns-menu-bar-open on Nextstep.
2021-11-10 13:27:01 +08:00
oldosfan
7117bbc7aa
Revert "Fix erasing cursor on top of raised boxes in NS port"
...
This reverts commit 960f0eb9ab657af85c532574b937d8851049b178.
2021-11-10 13:27:01 +08:00
oldosfan
2b5a2ab50b
Fix erasing cursor on top of raised boxes in NS port
...
* src/nsterm.m (ns_draw_relief): Clear top and bottom line areas
first, if required.
2021-11-10 13:27:01 +08:00
oldosfan
346cfc8124
Add support for event processing via XInput 2
...
* configure.ac: Add an option to use XInput 2 if available
* src/Makefile.in (XINPUT_LIBS, XINPUT_CFLAGS): New variables
(EMACS_CFLAGS): Add Xinput CFLAGS
(LIBES): Add XInput libs
* src/xmenu.c (popup_activated_flag): Expose flag if XInput 2 is
available
* src/xfns.c (x_window): Set XInput 2 event mask
* src/xterm.c (x_detect_focus_change): Handle XInput 2 GenericEvents
(handle_one_xevent): Handle XInput 2 events
(x_term_init): Ask the server for XInput 2 support and set xkb_desc if
available
(x_delete_terminal): Free XKB kb desc if it exists, and free XI2
devices if they exist
(x_free_xi_devices, x_init_master_valuators): New functions
(x_get_scroll_valuator_delta): New function
(init_xterm): Don't tell GTK to only use Core Input when built with
XInput 2 support
* src/xterm.h (struct x_display_info): Add fields for XKB and XI2
support
* src/gtkutil.c (xg_event_is_for_menubar): Handle XIDeviceEvents
(xg_is_menu_window): New function
(xg_event_is_for_scrollbar): Handle XIDeviceEvents
2021-11-10 13:27:01 +08:00
oldosfan
68a2a3307d
*** empty log message ***
2021-11-10 13:27:01 +08:00
oldosfan
278e4fc9c6
Fix mouse face in NS port
...
* src/nsterm.m (ns_draw_glyph_string): Set s->face to the mouse face.
2021-11-10 13:27:01 +08:00
Lars Ingebrigtsen
057fd1ee9b
Fix package-tests failure on native-comp
...
* test/lisp/emacs-lisp/package-tests.el
(package-test-macro-compilation-gz): Fix test failure on native-comp.
2021-11-10 05:19:56 +01:00
Stephen Gildea
8d81ab374d
time-stamp: %F is "file name" not "pathname" + other doc
...
* lisp/time-stamp.el (time-stamp-format): doc 'file' instead of 'path'.
* test/lisp/time-stamp-tests.el (formatz, format-time-offset):
Clarify the difference and similarity between these two test helpers.
2021-11-09 20:11:07 -08:00
Lars Ingebrigtsen
18ebe6c4da
Fix the look of the <video> elements in shr
...
* lisp/net/shr.el (shr-tag-video): Tweak the look of the video element.
2021-11-10 02:31:54 +01:00
Lars Ingebrigtsen
63fa896cb0
Try to fix intermittent build problem on Macos
...
* src/Makefile.in (@): Also sign the bootstrap-emacs executable
2021-11-10 02:21:48 +01:00
Tom Levy
beaa7e14f3
; Fix typos in CONTRIBUTE, ELisp manual, ediff
...
* CONTRIBUTE: Remove stray '. after git command.
* doc/lispref/functions.texi (Function Cells): Fix typo.
* lisp/vc/ediff.el (ediff-regions-wordwise): Fix typo in prompts
("Region's A buffer" => "Region A's buffer") (bug#51718).
Copyright-paperwork-exempt: yes
2021-11-10 01:17:42 +01:00
Tom Levy
a28647a6b6
Remove spurious %S from 'define-error' messages
...
; The MESSAGE arg of 'define-error' does not support format specifiers
; (unlike the 'error' function). The signal data is automatically
; appended to the error message.
* lisp/emacs/lisp/cl-generic.el (cl--generic-cyclic-definition):
Remove spurious %S from error message.
* lisp/emacs-lisp/gv.el (gv-invalid-place): Remove spurious %S from
error message (and rephrase) (bug#51718).
Copyright-paperwork-exempt: yes
2021-11-10 01:16:16 +01:00
Tom Levy
315d550bf7
Allow 'undo-redo' to be called from Lisp without repeat count
...
* lisp/simple.el (undo-redo): Default arg to 1 to avoid error when
called from Lisp without args (bug#51718).
Copyright-paperwork-exempt: yes
2021-11-10 01:12:47 +01:00
Po Lu
912ae5de92
Prevent BadValue errors when creating tiny xwidget views
...
* src/xwidget.c (x_draw_glph_string): Avoid resizing xwidget views
to an invalid size (bug#51707).
2021-11-10 00:52:47 +01:00
Lars Ingebrigtsen
2e6ed253ce
Add new function 'file-name-split'
...
* doc/lispref/files.texi (File Name Components): Document it.
* lisp/files.el (file-name-split): New function (bug#50572).
* lisp/emacs-lisp/shortdoc.el (file-name): Mention it.
2021-11-10 00:26:32 +01:00
Lars Ingebrigtsen
fdc00b9836
Make `dired-split' obsolete
...
* lisp/dired-aux.el (dired-tree-lessp): Adjust caller.
(dired-split): Make obsolete (bug#50572).
* lisp/ffap.el (ffap-list-env): Adjust comment.
2021-11-09 23:58:42 +01:00
Juri Linkov
747a1ae4ac
* doc/misc/eww.texi (Advanced): Fix missed variable name eww-retrieve-command.
2021-11-09 22:45:17 +02:00
Juri Linkov
52fe2340b8
* doc/emacs/windows.texi (Window Convenience): Use @code for windmove.
...
This refers to both a command and a user option.
* etc/NEWS: Add some ---.
2021-11-09 22:43:54 +02:00
Juri Linkov
7d3a654e2a
* doc/emacs/maintaining.texi (Basic VC Editing): Mention Dired buffer.
...
* doc/emacs/text.texi (Outline Mode): Replace S-TAB with with S-<TAB>.
* etc/NEWS: Add some missing +++/--- and move some related items closer.
2021-11-09 22:40:15 +02:00
Michael Albinus
b9b27b6e55
* lisp/net/tramp-cache.el (tramp-persistency-file-name):
...
Skip superfluous `expand-file-name'.
2021-11-09 20:24:03 +01:00
Jim Porter
cef31747b6
Improve performance when checking case-sensitivity of Tramp file names
...
* lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name):
Dissect file name before testing for connectability to reduce
duplicated work.
* lisp/net/tramp.el (tramp-handle-file-name-case-insensitive-p):
Use `tramp-connectable-p' to test for connection.
2021-11-09 19:59:14 +01:00