]>
git.eshelyaron.com Git - emacs.git/log
Lars Ingebrigtsen [Wed, 10 Nov 2021 04:19:48 +0000 (05:19 +0100)]
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.
Lars Ingebrigtsen [Wed, 10 Nov 2021 01:31:54 +0000 (02:31 +0100)]
Fix the look of the <video> elements in shr
* lisp/net/shr.el (shr-tag-video): Tweak the look of the video element.
Lars Ingebrigtsen [Wed, 10 Nov 2021 01:21:48 +0000 (02:21 +0100)]
Try to fix intermittent build problem on Macos
* src/Makefile.in (@): Also sign the bootstrap-emacs executable
Tom Levy [Tue, 9 Nov 2021 12:25:24 +0000 (12:25 +0000)]
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
Tom Levy [Tue, 9 Nov 2021 12:05:28 +0000 (12:05 +0000)]
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
Po Lu [Tue, 9 Nov 2021 23:52:47 +0000 (00:52 +0100)]
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).
Lars Ingebrigtsen [Tue, 9 Nov 2021 23:26:32 +0000 (00:26 +0100)]
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.
Lars Ingebrigtsen [Tue, 9 Nov 2021 22:58:42 +0000 (23:58 +0100)]
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.
Michael Albinus [Tue, 9 Nov 2021 19:24:03 +0000 (20:24 +0100)]
* lisp/net/tramp-cache.el (tramp-persistency-file-name):
Skip superfluous `expand-file-name'.
Jim Porter [Tue, 9 Nov 2021 18:59:14 +0000 (19:59 +0100)]
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.
Stefan Kangas [Tue, 9 Nov 2021 17:07:30 +0000 (18:07 +0100)]
Add back/forward mouse button bindings in eww
* lisp/net/eww.el (eww-mode-map): Add mouse back/forward button
bindings. These bindings are the same as in Firefox and other
graphical browsers.
Juri Linkov [Tue, 9 Nov 2021 08:24:44 +0000 (10:24 +0200)]
* lisp/progmodes/prog-mode.el (prog-context-menu): Add "Go Forward".
The menu item "Go Forward" is bound to xref-go-forward.
Also use "Go Back" for xref-go-back (bug#38797).
Juri Linkov [Tue, 9 Nov 2021 08:18:24 +0000 (10:18 +0200)]
* lisp/vc/diff-mode.el (diff-setup-buffer-type): Move to diff-setup-whitespace
* lisp/vc/vc.el: Add declare-function for diff-setup-buffer-type (bug#51016).
Lars Ingebrigtsen [Tue, 9 Nov 2021 07:36:28 +0000 (08:36 +0100)]
Expand the etc/NEWS section about the `medium' font changes
* etc/NEWS: Expand upon the addition of the `medium' weight
(bug#51704).
Po Lu [Tue, 9 Nov 2021 07:27:23 +0000 (08:27 +0100)]
Fix compiler warning building net/shr.el without xwidget support
* lisp/net/shr.el (xwidget-webkit-execute-script): New function
declaration (bug#51705).
Po Lu [Tue, 9 Nov 2021 07:24:45 +0000 (08:24 +0100)]
Fix default target of motion events
* src/xwidget.c (xwidget_motion_or_crossing): Default to widget_osr
instead of its window (bug#51703).
Stefan Kangas [Tue, 9 Nov 2021 06:51:18 +0000 (07:51 +0100)]
Prefer locate-user-emacs-file
* lisp/cmuscheme.el (scheme-start-file):
* lisp/erc/erc.el (erc-startup-file-list):
* lisp/net/nsm.el (nsm-settings-file):
* lisp/net/tramp-crypt.el (tramp-crypt-config-file-name):
* lisp/org/org-clock.el (org-clock-persist-file):
* lisp/org/org-id.el (org-id-locations-file)
* lisp/shell.el (shell): Prefer 'locate-user-emacs-file' to fiddling
with 'user-emacs-directory' directly.
Po Lu [Tue, 9 Nov 2021 06:46:48 +0000 (07:46 +0100)]
Always set xwidget title if the event was "load-finished"
* lisp/xwidget.el (xwidget-webkit-callback): Always set title upon
load completion. This prevents loading pages such as "about:blank"
from not setting the buffer name (bug#51702).
Po Lu [Tue, 9 Nov 2021 06:44:38 +0000 (07:44 +0100)]
Make `kill_frame_xwidget_views' safe
* src/xwidget.c (kill_frame_xwidget_views): Check XWIDGET_VIEW_P
(bug#51701).
Lars Ingebrigtsen [Tue, 9 Nov 2021 06:10:18 +0000 (07:10 +0100)]
Don't create temporary files for <video>
* lisp/net/shr.el (shr-tag-audio): Don't create a temporary file;
just update the DOM directly.
Stefan Kangas [Tue, 9 Nov 2021 05:59:24 +0000 (06:59 +0100)]
Merge from origin/emacs-28
307d164c9c * lisp/mouse.el (mouse-buffer-menu-mode-groups): Tighten "...
818211ed89 * doc/emacs/search.texi (Isearch Yank): Add isearch-forwar...
# Conflicts:
# etc/NEWS
Po Lu [Tue, 9 Nov 2021 05:49:15 +0000 (06:49 +0100)]
Make xwidget-tests pass again
* lisp/xwidget.el (xwidget-webkit-buffer-name-prefix): Remove extra
space.
(xwidget-webkit-callback): Add trailing "*" to buffer name.
(xwidget-webkit-new-session, xwidget-webkit-import-widget): Always use
existing buffer name (bug#51700).
Lars Ingebrigtsen [Tue, 9 Nov 2021 05:44:58 +0000 (06:44 +0100)]
Fix typo in last shr change
* lisp/net/shr.el (shr-tag-video): Require xwidgets, because it's
used from callbacks.
Lars Ingebrigtsen [Tue, 9 Nov 2021 05:26:57 +0000 (06:26 +0100)]
Fix shr-tag-video startup issue
* lisp/net/shr.el (shr-tag-video): Require xwidgets, because it's
used from callbacks.
Lars Ingebrigtsen [Tue, 9 Nov 2021 05:19:09 +0000 (06:19 +0100)]
Optionally use use xwidgets to display <video> elements in shr
* doc/misc/eww.texi (Advanced): Document it.
* lisp/net/shr.el (shr-use-xwidgets-for-media): New user option.
(shr-tag-video): Use xwidgets to display <video> elements.
Lars Ingebrigtsen [Tue, 9 Nov 2021 04:55:32 +0000 (05:55 +0100)]
Make image-compute-scaling-factor argument optional
* lisp/image.el (image-compute-scaling-factor): Make the argument
optional.
Lars Ingebrigtsen [Tue, 9 Nov 2021 04:51:37 +0000 (05:51 +0100)]
ARGUMENTS in Fmake_xwidget is optional
* src/xwidget.c (Fmake_xwidget): The ARGUMENTS argument isn't
mandatory.
Lars Ingebrigtsen [Tue, 9 Nov 2021 04:48:28 +0000 (05:48 +0100)]
Make xwidget-event-handler more resilient
* lisp/xwidget.el (xwidget-event-handler): Don't try to call the
callback if it hasn't been defined.
Lars Ingebrigtsen [Tue, 9 Nov 2021 04:28:48 +0000 (05:28 +0100)]
Delete temp directory after bytecomp test
* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp-tests--not-writable-directory): Allow deletion of
directory (bug#51690).
* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp-tests--dest-mountpoint): Ditto.
Po Lu [Tue, 9 Nov 2021 04:06:24 +0000 (05:06 +0100)]
Fix flicker when setting hscroll of xwidget
* src/xterm.c (x_scroll_run): Use original height of xwidget instead
of window height and set cairo surface size (bug#51697).
Po Lu [Tue, 9 Nov 2021 04:03:47 +0000 (05:03 +0100)]
Raise an error if creating an unknown xwidget type
* src/xwidget.c (Fmake_xwidget): Error if TYPE is invalid (bug#51682).
Po Lu [Tue, 9 Nov 2021 04:02:25 +0000 (05:02 +0100)]
Really fix xwidget scroll optimization and clip
* src/xterm.c (x_scroll_run): Improve clip detection.
* src/xwidget.c (xv_do_draw): Use cairo_translate.
(xwidget_motion_or_crossing): Use correct fields (bug#51681).
Feng Shu [Tue, 9 Nov 2021 03:52:59 +0000 (04:52 +0100)]
xwidget.el: limit buffer-name flicker in mode-line
* lisp/xwidget.el (xwidget-webkit): New customization group.
(xwidget-webkit-buffer-name-prefix): New user option.
(xwidget-webkit-callback): with-current-buffer only after get title,
which can limit buffer-name change in mode-line.
(xwidget-webkit-new-session, xwidget-webkit-import-widget): Use
current buffer to generate a temp xwidget-webkit buffer.
Matthias Meulien [Tue, 9 Nov 2021 03:46:53 +0000 (04:46 +0100)]
Fix local variables overwritten when diff-mode is set
* lisp/vc/diff-mode.el (diff-mode):
(diff-setup-buffer-type): Defun to initialize `diff-buffer-type'
* lisp/vc/vc.el (vc-diff-finish): Set `diff-buffer-type' after content
inserted
(vc-diff-internal): Restore `diff-mode' being set before local
variables (bug#51016).
Lars Ingebrigtsen [Tue, 9 Nov 2021 03:41:14 +0000 (04:41 +0100)]
Allow yank-media-types to also show the unsupported data types
* lisp/yank-media.el (yank-media-types): Make the prefix include
data types not supported by the backend, too.
akater [Tue, 9 Nov 2021 03:25:24 +0000 (04:25 +0100)]
; * lisp/emacs-lisp/lisp-mode.el: Restore one check in flet handling
* lisp/emacs-lisp/lisp-mode.el (lisp--local-defform-body-p):
Do check backward-up-list executing without errors (bug#9622).
Eric Abrahamsen [Mon, 1 Nov 2021 01:01:15 +0000 (18:01 -0700)]
Don't have nntp-report signal an error
* lisp/gnus/nntp.el (nntp-report): This should behave as much as
possible like nnheader-report, which only logs the error and returns
nil.
Juri Linkov [Mon, 8 Nov 2021 19:23:44 +0000 (21:23 +0200)]
* lisp/mouse.el (mouse-buffer-menu-mode-groups): Tighten "Version Control".
Use word boundaries in the "Version Control" regexp to match mode names
"Log-Edit", "Log-View", "Git-Log-View", "Change Log", "VC dir",
but not "Verilog", "Prolog", "Rlogin" (bug#51337).
Stefan Monnier [Tue, 26 Oct 2021 15:39:32 +0000 (11:39 -0400)]
* lisp/xdg.el (xdg--dir-home): Make it a function
Juri Linkov [Mon, 8 Nov 2021 17:36:57 +0000 (19:36 +0200)]
* doc/emacs/search.texi (Isearch Yank): Add isearch-forward-thing-at-point.
; * etc/NEWS: Add +++ for isearch-forward-thing-at-point, reorder (bug#51444).
Campbell Barton [Mon, 8 Nov 2021 05:33:39 +0000 (16:33 +1100)]
* lisp/subr.el (with-undo-amalgamate): New macro
This allows commands to be made without adding undo-barriers, e.g.
kmacro-exec-ring-item.
Stefan Monnier [Mon, 8 Nov 2021 13:20:43 +0000 (08:20 -0500)]
* lisp/emacs-lisp/cl-generic.el: Add reference to inspiration
Lars Ingebrigtsen [Mon, 8 Nov 2021 11:27:01 +0000 (12:27 +0100)]
Switch yank-media--get-selection back to the backend function
* lisp/yank-media.el (yank-media--get-selection): Switch back to
gui-backend-get-selection until gui-get-selection is re-fixed.
Lars Ingebrigtsen [Mon, 8 Nov 2021 11:22:56 +0000 (12:22 +0100)]
Revert "Fix charset issues when yanking non-plain-text elements"
This reverts commit
5e66c75e0b6b91b6f5d9aa46c824e8209ade8f2a .
This apparently led to problems on Windows. The issues have to
be examined first before attempting a new fix.
Stefan Kangas [Mon, 8 Nov 2021 08:44:09 +0000 (09:44 +0100)]
* admin/automerge: Die if changing directory fails.
Stefan Kangas [Mon, 8 Nov 2021 08:30:18 +0000 (09:30 +0100)]
Merge from origin/emacs-28
fe91f4438c ; * etc/PROBLEMS: Move librsvg-related item to better loca...
Lars Ingebrigtsen [Mon, 8 Nov 2021 07:01:07 +0000 (08:01 +0100)]
Remove code what would always maximize xwidgets on Macos
* src/xwidget.c (x_draw_xwidget_glyph_string): Remove code that
would always maximize the widget on Macos (bug#51674). This code
was probably added to work around a resizing bug that has since
been fixed.
akater [Mon, 8 Nov 2021 06:37:51 +0000 (07:37 +0100)]
lisp/emacs-lisp/lisp-mode.el: Fix parser state corruption.
* lisp/emacs-lisp/lisp-mode.el (lisp--local-defform-body-p): Preserve
the point.
* test/lisp/progmodes/elisp-mode-resources/flet.erts: Add corresponding
test example (bug#9622).
Po Lu [Mon, 8 Nov 2021 05:34:09 +0000 (06:34 +0100)]
Fix resize of xwidgets on GTK
* src/xwidget.c (Fxwidget_resize): Queue widget for re-allocation
after setting its size request (bug#51679).
Stefan Kangas [Mon, 8 Nov 2021 05:42:44 +0000 (06:42 +0100)]
; * lisp/image-dired.el: Add some basic sections.
This file is currently rather hard to follow due to things just being
thrown in at random by many different contributors, with seemingly no
overall plan or idea. This is the first step towards giving it some
kind of organization.
Po Lu [Mon, 8 Nov 2021 05:22:11 +0000 (06:22 +0100)]
Fix hang when displaying xwidget script dialog
* src/xwidget.c (webkit_script_dialog_cb): New function.
(Fmake_xwidget): Attach script callback signal (bug#51674).
Stefan Kangas [Mon, 8 Nov 2021 05:20:21 +0000 (06:20 +0100)]
image-dired: Set window-resize-pixelwise to t
* lisp/image-dired.el (image-dired-thumbnail-mode): Set
'window-resize-pixelwise' to t.
Lars Ingebrigtsen [Mon, 8 Nov 2021 05:08:33 +0000 (06:08 +0100)]
Mention yank-media-types in the manual
* doc/lispref/frames.texi (Yanking Media): Mention yank-media-types.
Lars Ingebrigtsen [Mon, 8 Nov 2021 05:04:11 +0000 (06:04 +0100)]
Make html-mode--html-yank-handler more resilient
* lisp/textmodes/sgml-mode.el (html-mode--html-yank-handler): The
HTML may not be valid, so suppress errors.
Lars Ingebrigtsen [Mon, 8 Nov 2021 05:03:41 +0000 (06:03 +0100)]
Fix yank-media--get-selection thinko in previous change
* lisp/yank-media.el (yank-media--get-selection): Fix thinko after
previous change.
Lars Ingebrigtsen [Mon, 8 Nov 2021 04:54:10 +0000 (05:54 +0100)]
Clean up the yank-media data massaging
* lisp/yank-media.el (yank-media--get-selection): Put the
nul-massaging code...
(yank-media-types--format): ... here instead, and decode utf-16
better.
Lars Ingebrigtsen [Mon, 8 Nov 2021 04:44:10 +0000 (05:44 +0100)]
Add a new debugging/exploration command `yank-media-types'
* lisp/yank-media.el (yank-media-types): New command.
(yank-media-types--format): Helper command.
Stefan Kangas [Mon, 8 Nov 2021 03:51:44 +0000 (04:51 +0100)]
; * etc/PROBLEMS: Move librsvg-related item to better location.
Reported by Mike Kupfer <mkupfer@alum.berkeley.edu>.
Lars Ingebrigtsen [Mon, 8 Nov 2021 01:04:40 +0000 (02:04 +0100)]
Fix charset issues when yanking non-plain-text elements
* lisp/select.el (gui-get-selection): Make (gui-get-selection
'CLIPBOARD 'text/html) get decoded correctly (bug#31149).
Lars Ingebrigtsen [Mon, 8 Nov 2021 00:40:58 +0000 (01:40 +0100)]
Rename 'register-yank-media-handler'
* lisp/textmodes/sgml-mode.el (html-mode):
* lisp/gnus/message.el (message-mode):
* doc/lispref/frames.texi (Yanking Media): Adjust.
* lisp/yank-media.el (yank-media): Adjust doc string.
(yank-media-handler): Rename from `register-' because that may
cause confusion with register.el functions.
Stefan Kangas [Mon, 8 Nov 2021 00:21:06 +0000 (01:21 +0100)]
Prefer ert-with-temp-(directory|file) in most remaining tests
* test/lisp/auth-source-tests.el (auth-source-test-searches):
* test/lisp/autorevert-tests.el (auto-revert-test00-auto-revert-mode)
(auto-revert-test01-auto-revert-several-files)
(auto-revert-test02-auto-revert-deleted-file)
(auto-revert-test03-auto-revert-tail-mode)
(auto-revert-test04-auto-revert-mode-dired)
(auto-revert-test05-global-notify)
(auto-revert-test06-write-file)
(auto-revert-test07-auto-revert-several-buffers):
* test/lisp/calendar/icalendar-tests.el (icalendar-tests--do-test-cycle):
* test/lisp/custom-tests.el (custom-theme--load-path):
* test/lisp/dired-aux-tests.el (dired-test-bug27496)
(with-dired-bug28834-test):
* test/lisp/emacs-lisp/bytecomp-tests.el (test-byte-comp-compile-and-load)
(bytecomp-tests--dest-mountpoint)
(bytecomp-tests--target-file-no-directory):
* test/lisp/emacs-lisp/gv-tests.el (gv-tests--in-temp-dir):
* test/lisp/eshell/eshell-tests.el (with-temp-eshell)
(eshell-test-command-result):
* test/lisp/info-xref-tests.el (info-xref-test-makeinfo):
* test/lisp/vc/vc-tests.el (vc-test--create-repo)
(vc-test--register, vc-test--state, vc-test--working-revision)
(vc-test--checkout-model, vc-test--rename-file)
(vc-test--version-diff):
* test/src/buffer-tests.el (test-kill-buffer-auto-save-delete):
* test/src/comp-tests.el (comp-tests-bootstrap):
* test/src/process-tests.el (process-test-quoted-batfile): Prefer
'ert-with-temp-(directory|file)' to using 'make-temp-file' directly.
Po Lu [Mon, 8 Nov 2021 00:16:29 +0000 (01:16 +0100)]
Set clipping when dumping stretch glyphs in some cases
* src/nsterm.m (ns_draw_glyph_string): Always focus even when dumping
stretch glyphs in s->next (bug#51653).
Lars Ingebrigtsen [Mon, 8 Nov 2021 00:15:02 +0000 (01:15 +0100)]
Fix charset issues in text/html yanking
* lisp/yank-media.el (yank-media--get-selection): Use
gui-backend-get-selection instead of the higher-level function
which guesses wrong on the charset on many types.
(yank-media): Fix the case where there's only one match.
Stefan Kangas [Sun, 7 Nov 2021 21:46:09 +0000 (22:46 +0100)]
; Fix duplicate temporary file creation
* test/lisp/files-tests.el (files-tests-executable-find): Fix creating
duplicate temporary file after recent change.
Lars Ingebrigtsen [Sun, 7 Nov 2021 23:26:32 +0000 (00:26 +0100)]
Suppress a compilation warning about vc-switch-backend
* lisp/vc/vc-hooks.el (vc-prefix-map): Suppress a warning about an
obsolete command.
Miha Rihtaršič [Sun, 7 Nov 2021 23:10:03 +0000 (00:10 +0100)]
Improve undoing of RET in comint and eshell
* lisp/comint.el (comint-send-input):
(comint-accumulate):
* lisp/eshell/esh-mode.el (eshell-send-input): Before sending input to
the process, delete it and reinsert it again. Undoing this
insertion with 'C-/' will delete the region, moving the process mark
back to its original position (bug#49484).
Lars Ingebrigtsen [Sun, 7 Nov 2021 22:57:04 +0000 (23:57 +0100)]
Allow 'C-x n d' to work in texinfo-mode
* lisp/textmodes/texinfo.el (texinfo-mode): Set
beginning/end-of-defun functions to allow narrowing to the current
node.
(texinfo--beginning-of-defun, texinfo--end-of-defun): New functions.
Lars Ingebrigtsen [Sun, 7 Nov 2021 22:47:47 +0000 (23:47 +0100)]
Make paragraph/filling functions in texinfo-mode work better
* lisp/textmodes/texinfo.el (texinfo-mode): Make paragraph
definitions more traditional. This makes (forward-paragraph 1)
behave better.
(texinfo-mode): Set a new filling function.
(texinfo--fill-paragraph): New filling function.
(texinfo-fillable-commands): New variable (bug#49558).
Lars Ingebrigtsen [Sun, 7 Nov 2021 22:45:14 +0000 (23:45 +0100)]
Make debugging ert--erts-specifications easier
* lisp/emacs-lisp/ert.el (ert--erts-specifications): Strip text
properties from specs to make debugging easier.
Alan Mackenzie [Sun, 7 Nov 2021 20:53:21 +0000 (20:53 +0000)]
Merge from origin/emacs-28
0c51db6bb1 Amend Follow Mode to handle header lines and tab lines cor...
261367781b * lisp/files.el (user-emacs-directory-warning): Clarify do...
8d9b55330d * doc/emacs/frames.texi (Tab Bars): Add text about mouse a...
d9b0b730e8 * doc/emacs/frames.texi (Tab Bars): Describe tab-last.
Alan Mackenzie [Sun, 7 Nov 2021 20:53:21 +0000 (20:53 +0000)]
; Merge from origin/emacs-28
The following commit was skipped:
ffe40045dc ; * etc/PROBLEMS: Minor clarification of a recent entry.
Alan Mackenzie [Sun, 7 Nov 2021 20:44:46 +0000 (20:44 +0000)]
Amend Follow Mode to handle header lines and tab lines correctly
This fixes bug #51590.
list/follow.el (follow-scroll-down): Incorporate the height of the tab line
into the calculation of the window height.
(follow-calc-win-end): Incorporate the pixel heights of the header line and
the tab line the calculation of the buffer position of the bottom screen line.
Lars Ingebrigtsen [Sun, 7 Nov 2021 20:34:41 +0000 (21:34 +0100)]
Match password prompts from new OpenSSH
* lisp/comint.el (comint-password-prompt-regexp): Add support for
the openssh-8.6p1 "(user@host) Password:" format (bug#51666).
Jim Porter [Sun, 7 Nov 2021 20:20:15 +0000 (21:20 +0100)]
Fix intermittent electric test failures
* test/lisp/electric-tests.el
(whitespace-chomping-dont-cross-comments): Move
'c-toggle-comment-style' to here.: (bug#51665).
Stefan Kangas [Sun, 7 Nov 2021 18:48:14 +0000 (19:48 +0100)]
* lisp/files.el (user-emacs-directory-warning): Clarify docstring.
Juri Linkov [Sun, 7 Nov 2021 18:13:01 +0000 (20:13 +0200)]
Simplify
c8acc5fd92ad9979fc5870623014290cad998337
* lisp/isearch.el (isearch-filter-visible): Add check if there are
no properties 'inhibit-isearch' in the search range,
instead of code of
c8acc5fd92ad9979fc5870623014290cad998337 .
Juri Linkov [Sun, 7 Nov 2021 18:00:56 +0000 (20:00 +0200)]
* doc/emacs/frames.texi (Tab Bars): Add text about mouse and tab-bar-format
Briefly describe mouse commands on the tab bar and tab-bar-format (bug#51444)
Juri Linkov [Sun, 7 Nov 2021 17:56:28 +0000 (19:56 +0200)]
* doc/emacs/frames.texi (Tab Bars): Describe tab-last.
'C-9' and 'M-9' already had kindex, so describe them in the text as well
(bug#51444).
Stefan Kangas [Sun, 7 Nov 2021 17:32:28 +0000 (18:32 +0100)]
; * etc/PROBLEMS: Minor clarification of a recent entry.
This was accidentally committed to master instead of emacs-28.
(cherry picked from commit
a95520d3dfa1b97f88e51f1ee5ef07e278cb854a )
Stefan Kangas [Sun, 7 Nov 2021 17:32:28 +0000 (18:32 +0100)]
; * etc/PROBLEMS: Minor clarification of a recent entry.
Michael Albinus [Sun, 7 Nov 2021 17:06:24 +0000 (18:06 +0100)]
Merge from origin/emacs-28
7fdb2ae412 Add some unit tests for 'abbreviate-file-name'
21de5e7b2e Fix compilation MinGW warnings
54b726c815 ; * etc/PROBLEMS: More specific recipe for WebKit-related ...
d85cf33e49 Escape '%' in filenames to fix flymake warnings
6243a43ac2 Fix search string generation in nnimap-make-thread-query
f05b8a939b Update to Org 9.5-68-g77e2ec
Jim Porter [Sun, 7 Nov 2021 17:03:23 +0000 (18:03 +0100)]
Add some unit tests for 'abbreviate-file-name'
* test/lisp/files-tests.el (files-tests-abbreviate-file-name-homedir)
(files-tests-abbreviate-file-name-directory-abbrev-alist): New tests.
Lars Ingebrigtsen [Sun, 7 Nov 2021 15:59:22 +0000 (16:59 +0100)]
Make `C-x 8 e e' work better in the terminal
* lisp/international/emoji.el (emoji--adjust-displayable-1): Make
something rudimentary work on non-graphical Emacsen for `C-x 8 e e'.
Lars Ingebrigtsen [Sun, 7 Nov 2021 15:04:18 +0000 (16:04 +0100)]
Make emoji-describe really describe only the glyph under point
* lisp/international/emoji.el (emoji-describe): Only look at the
compositions under point (bug#51659).
Eli Zaretskii [Sun, 7 Nov 2021 15:03:33 +0000 (17:03 +0200)]
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Eli Zaretskii [Sun, 7 Nov 2021 15:02:46 +0000 (17:02 +0200)]
Fix compilation MinGW warnings
* src/w32.h (prepare_standard_handles, reset_standard_handles):
Fix prototypes. Reported by Andy Moreton
<andrewjmoreton@gmail.com> in
https://lists.gnu.org/archive/html/emacs-devel/2021-11/msg00597.html.
Lars Ingebrigtsen [Sun, 7 Nov 2021 14:31:40 +0000 (15:31 +0100)]
Don't inhibit compilation of emoji.elc
* lisp/international/emoji.el (emoji--generate-file): Further
obfuscate to not inhibit byte compilation.
Eli Zaretskii [Sun, 7 Nov 2021 14:31:29 +0000 (16:31 +0200)]
'yank-media' is not universally supported
* doc/emacs/killing.texi (Clipboard):
* etc/NEWS: Say that 'yank-media' is not universally supported.
Po Lu [Sun, 7 Nov 2021 06:28:37 +0000 (14:28 +0800)]
Free find text in correct procedure
* src/xwidget.c (Fxwidget_webkit_previous_result): Don't free find
text.
(Fxwidget_webkit_finish_search): Free find text here instead.
Po Lu [Sun, 7 Nov 2021 06:22:52 +0000 (14:22 +0800)]
Fix C-r inside xwidget isearch
* lisp/xwidget.el (xwidget-webkit-isearch-backward): Ask for previous
result.
Po Lu [Sun, 7 Nov 2021 13:41:43 +0000 (14:41 +0100)]
Fix xwidget-webkit-goto-history
* src/xwidget.c (xwidget-webkit-goto-history): Use
WebKitBackForwardList and XFIXNUM instead of XFIXNAT (bug#51651).
Po Lu [Sun, 7 Nov 2021 11:51:39 +0000 (19:51 +0800)]
Handle WEBKIT_POLICY_DECISION_TYPE_NEW_WINDOW_ACTION appropriately
* src/xwidget.c (webkit_decide_policy_cb): Send an xwidget display
event when a webpage asks to create a new window.
Jim Porter [Sun, 7 Nov 2021 12:59:32 +0000 (13:59 +0100)]
; * test/lisp/net/tramp-tests.el: Rearrange tests to be in order.
Po Lu [Sun, 7 Nov 2021 12:02:06 +0000 (20:02 +0800)]
Document the xwidget type
* doc/lispref/elisp.texi: Add Xwidget Type to the menu.
* doc/lispref/objects.texi (Editing Types): Add Xwidget Type to the
menu.
(Xwidget Type): New node.
Eli Zaretskii [Sun, 7 Nov 2021 12:22:15 +0000 (14:22 +0200)]
Improve detection of suspiciously reordered text segments
* src/bidi.c (bidi_find_first_overridden): Detect reordered weak
and neutral characters as well.
* lisp/international/mule-cmds.el
(highlight-confusing-reorderings): Count and announce how many
instances were found.
* test/src/xdisp-tests.el
(xdisp-tests--find-directional-overrides-case-3): New test.
(xdisp-tests--find-directional-overrides-case-2): Adjust expected
result.
Basil L. Contovounesios [Sun, 7 Nov 2021 10:58:08 +0000 (12:58 +0200)]
; Fix some recent typos/thinkos.
Cristian [Sun, 7 Nov 2021 01:03:12 +0000 (02:03 +0100)]
Another addition to latin-2 input methods
* lisp/leim/quail/latin-pre.el ("latin-2-prefix"):
* lisp/leim/quail/latin-post.el ("latin-2-postfix"): Add variants
of "`t" and "t," for Romanian. (Bug#51638)
Copyright-paperwork-exempt: yes
Eli Zaretskii [Sun, 7 Nov 2021 09:50:06 +0000 (11:50 +0200)]
Fix documentation and coding style in recent xwidget commits
* src/xwidget.c (Fmake_xwidget, find_widget)
(xwidget_motion_or_crossing, xwidget_button_1, xwidget_button):
Fix style in comments.
(Fxwidget_perform_lispy_event): Doc fix.
* src/xwidget.c (set_widget_if_text_view, kill_frame_xwidget_views):
* src/keyboard.c (make_lispy_event): Fix style of braces.
* lisp/xwidget.el (xwidget-webkit-isearch-mode): Fix keys in doc
string.
* doc/lispref/commands.texi (Xwidget Events): Fix markup and
wording.
* doc/lispref/display.texi (Xwidgets): Fix wording and markup.
* doc/emacs/misc.texi (Embedded WebKit Widgets): Fix wording.
* etc/NEWS: Fix wording and punctuation.
Eli Zaretskii [Sun, 7 Nov 2021 07:34:30 +0000 (09:34 +0200)]
; * etc/PROBLEMS: More specific recipe for WebKit-related crashes.
Stefan Monnier [Sun, 7 Nov 2021 05:11:28 +0000 (01:11 -0400)]
* doc/lispref/tips.texi (Coding Conventions): Mention GNU "path" convention
Suggested by Ihor Radchenko <yantar92@gmail.com>.