summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow 'undo-redo' to be called from Lisp without repeat countTom Levy2021-11-101-1/+1
| | | | | | | * lisp/simple.el (undo-redo): Default arg to 1 to avoid error when called from Lisp without args (bug#51718). Copyright-paperwork-exempt: yes
* Prevent BadValue errors when creating tiny xwidget viewsPo Lu2021-11-101-2/+18
| | | | | * src/xwidget.c (x_draw_glph_string): Avoid resizing xwidget views to an invalid size (bug#51707).
* Add new function 'file-name-split'Lars Ingebrigtsen2021-11-105-0/+49
| | | | | | | * 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.
* Make `dired-split' obsoleteLars Ingebrigtsen2021-11-092-4/+4
| | | | | | | * lisp/dired-aux.el (dired-tree-lessp): Adjust caller. (dired-split): Make obsolete (bug#50572). * lisp/ffap.el (ffap-list-env): Adjust comment.
* * lisp/net/tramp-cache.el (tramp-persistency-file-name):Michael Albinus2021-11-091-2/+1
| | | | Skip superfluous `expand-file-name'.
* Improve performance when checking case-sensitivity of Tramp file namesJim Porter2021-11-092-6/+6
| | | | | | | | | * 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.
* Add back/forward mouse button bindings in ewwStefan Kangas2021-11-091-0/+3
| | | | | | * 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.
* * lisp/progmodes/prog-mode.el (prog-context-menu): Add "Go Forward".Juri Linkov2021-11-091-1/+7
| | | | | The menu item "Go Forward" is bound to xref-go-forward. Also use "Go Back" for xref-go-back (bug#38797).
* * lisp/vc/diff-mode.el (diff-setup-buffer-type): Move to diff-setup-whitespaceJuri Linkov2021-11-092-16/+17
| | | | * lisp/vc/vc.el: Add declare-function for diff-setup-buffer-type (bug#51016).
* Expand the etc/NEWS section about the `medium' font changesLars Ingebrigtsen2021-11-091-8/+11
| | | | | * etc/NEWS: Expand upon the addition of the `medium' weight (bug#51704).
* Fix compiler warning building net/shr.el without xwidget supportPo Lu2021-11-091-0/+3
| | | | | * lisp/net/shr.el (xwidget-webkit-execute-script): New function declaration (bug#51705).
* Fix default target of motion eventsPo Lu2021-11-091-1/+1
| | | | | * src/xwidget.c (xwidget_motion_or_crossing): Default to widget_osr instead of its window (bug#51703).
* Prefer locate-user-emacs-fileStefan Kangas2021-11-097-13/+11
| | | | | | | | | | | * 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.
* Always set xwidget title if the event was "load-finished"Po Lu2021-11-091-3/+5
| | | | | | * 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).
* Make `kill_frame_xwidget_views' safePo Lu2021-11-091-1/+2
| | | | | * src/xwidget.c (kill_frame_xwidget_views): Check XWIDGET_VIEW_P (bug#51701).
* Don't create temporary files for <video>Lars Ingebrigtsen2021-11-091-13/+6
| | | | | * lisp/net/shr.el (shr-tag-audio): Don't create a temporary file; just update the DOM directly.
* Merge from origin/emacs-28Stefan Kangas2021-11-093-18/+30
|\ | | | | | | | | | | | | | | 307d164c9c * lisp/mouse.el (mouse-buffer-menu-mode-groups): Tighten "... 818211ed89 * doc/emacs/search.texi (Isearch Yank): Add isearch-forwar... # Conflicts: # etc/NEWS
| * * lisp/mouse.el (mouse-buffer-menu-mode-groups): Tighten "Version Control".Juri Linkov2021-11-081-1/+1
| | | | | | | | | | | | 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).
| * * doc/emacs/search.texi (Isearch Yank): Add isearch-forward-thing-at-point.Juri Linkov2021-11-082-17/+29
| | | | | | | | ; * etc/NEWS: Add +++ for isearch-forward-thing-at-point, reorder (bug#51444).
* | Make xwidget-tests pass againPo Lu2021-11-091-9/+4
| | | | | | | | | | | | | | | | * 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).
* | Fix typo in last shr changeLars Ingebrigtsen2021-11-091-1/+1
| | | | | | | | | | * lisp/net/shr.el (shr-tag-video): Require xwidgets, because it's used from callbacks.
* | Fix shr-tag-video startup issueLars Ingebrigtsen2021-11-091-0/+1
| | | | | | | | | | * lisp/net/shr.el (shr-tag-video): Require xwidgets, because it's used from callbacks.
* | Optionally use use xwidgets to display <video> elements in shrLars Ingebrigtsen2021-11-093-5/+55
| | | | | | | | | | | | * 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.
* | Make image-compute-scaling-factor argument optionalLars Ingebrigtsen2021-11-091-1/+6
| | | | | | | | | | * lisp/image.el (image-compute-scaling-factor): Make the argument optional.
* | ARGUMENTS in Fmake_xwidget is optionalLars Ingebrigtsen2021-11-091-1/+1
| | | | | | | | | | * src/xwidget.c (Fmake_xwidget): The ARGUMENTS argument isn't mandatory.
* | Make xwidget-event-handler more resilientLars Ingebrigtsen2021-11-091-1/+2
| | | | | | | | | | * lisp/xwidget.el (xwidget-event-handler): Don't try to call the callback if it hasn't been defined.
* | Delete temp directory after bytecomp testLars Ingebrigtsen2021-11-091-29/+37
| | | | | | | | | | | | | | | | | | * 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.
* | Fix flicker when setting hscroll of xwidgetPo Lu2021-11-091-10/+14
| | | | | | | | | | * src/xterm.c (x_scroll_run): Use original height of xwidget instead of window height and set cairo surface size (bug#51697).
* | Raise an error if creating an unknown xwidget typePo Lu2021-11-091-0/+3
| | | | | | | | * src/xwidget.c (Fmake_xwidget): Error if TYPE is invalid (bug#51682).
* | Really fix xwidget scroll optimization and clipPo Lu2021-11-092-11/+20
| | | | | | | | | | | | * 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).
* | xwidget.el: limit buffer-name flicker in mode-lineFeng Shu2021-11-092-32/+68
| | | | | | | | | | | | | | | | | | * 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.
* | Fix local variables overwritten when diff-mode is setMatthias Meulien2021-11-092-13/+19
| | | | | | | | | | | | | | | | | | | | * 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).
* | Allow yank-media-types to also show the unsupported data typesLars Ingebrigtsen2021-11-091-12/+19
| | | | | | | | | | * lisp/yank-media.el (yank-media-types): Make the prefix include data types not supported by the backend, too.
* | ; * lisp/emacs-lisp/lisp-mode.el: Restore one check in flet handlingakater2021-11-091-6/+6
| | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp--local-defform-body-p): Do check backward-up-list executing without errors (bug#9622).
* | Don't have nntp-report signal an errorEric Abrahamsen2021-11-081-3/+1
| | | | | | | | | | | | * lisp/gnus/nntp.el (nntp-report): This should behave as much as possible like nnheader-report, which only logs the error and returns nil.
* | * lisp/xdg.el (xdg--dir-home): Make it a functionStefan Monnier2021-11-081-7/+5
| |
* | * lisp/subr.el (with-undo-amalgamate): New macroCampbell Barton2021-11-083-0/+32
| | | | | | | | | | This allows commands to be made without adding undo-barriers, e.g. kmacro-exec-ring-item.
* | * lisp/emacs-lisp/cl-generic.el: Add reference to inspirationStefan Monnier2021-11-081-0/+8
| |
* | Switch yank-media--get-selection back to the backend functionLars Ingebrigtsen2021-11-081-1/+1
| | | | | | | | | | * lisp/yank-media.el (yank-media--get-selection): Switch back to gui-backend-get-selection until gui-get-selection is re-fixed.
* | Revert "Fix charset issues when yanking non-plain-text elements"Lars Ingebrigtsen2021-11-081-14/+8
| | | | | | | | | | | | | | This reverts commit 5e66c75e0b6b91b6f5d9aa46c824e8209ade8f2a. This apparently led to problems on Windows. The issues have to be examined first before attempting a new fix.
* | * admin/automerge: Die if changing directory fails.Stefan Kangas2021-11-081-1/+2
| |
* | Merge from origin/emacs-28Stefan Kangas2021-11-081-4/+5
|\| | | | | | | fe91f4438c ; * etc/PROBLEMS: Move librsvg-related item to better loca...
| * ; * etc/PROBLEMS: Move librsvg-related item to better location.Stefan Kangas2021-11-081-4/+5
| | | | | | | | Reported by Mike Kupfer <mkupfer@alum.berkeley.edu>.
* | Remove code what would always maximize xwidgets on MacosLars Ingebrigtsen2021-11-081-16/+0
| | | | | | | | | | | | | | * 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.
* | lisp/emacs-lisp/lisp-mode.el: Fix parser state corruption.akater2021-11-082-6/+17
| | | | | | | | | | | | | | * 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).
* | Fix resize of xwidgets on GTKPo Lu2021-11-081-1/+2
| | | | | | | | | | * src/xwidget.c (Fxwidget_resize): Queue widget for re-allocation after setting its size request (bug#51679).
* | ; * lisp/image-dired.el: Add some basic sections.Stefan Kangas2021-11-081-8/+47
| | | | | | | | | | | | | | 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.
* | Fix hang when displaying xwidget script dialogPo Lu2021-11-081-0/+66
| | | | | | | | | | * src/xwidget.c (webkit_script_dialog_cb): New function. (Fmake_xwidget): Attach script callback signal (bug#51674).
* | image-dired: Set window-resize-pixelwise to tStefan Kangas2021-11-081-0/+1
| | | | | | | | | | * lisp/image-dired.el (image-dired-thumbnail-mode): Set 'window-resize-pixelwise' to t.
* | Mention yank-media-types in the manualLars Ingebrigtsen2021-11-082-1/+7
| | | | | | | | * doc/lispref/frames.texi (Yanking Media): Mention yank-media-types.