summaryrefslogtreecommitdiff
path: root/lisp/net
AgeCommit message (Collapse)Author
2026-06-01Merge from origin/emacs-31Sean Whitton
2c2f1c00acc ; * lisp/vc/vc-dir.el (vc-dir-update): Add an assertion. 51f823a3afa ; * etc/NEWS: Fix annotation. 271cc5c76c0 More tests for fill-paragraph-handle-comment.erts cc9f35c54ba ; * etc/PROBLEMS: Minor fixes of last change. 2727a6f4e8d ; Document problems caused by validation of *.eln files o... f1dd84bec99 ; * lisp/play/doctor.el (doctor-death): Fix Samaritans UR... 0bfbe06090c Update to Org 9.8.5 aac5e0457ae Eglot: replace eglot-prefer-plaintext with eglot-document... ec3d662de0b Make HTML button elements tab-stoppable in eww (bug#81107) # Conflicts: # etc/NEWS
2026-05-30Make HTML button elements tab-stoppable in eww (bug#81107)Amin Bandali
* lisp/net/eww.el (eww-form-submit): Call put-text-property to add help-echo and shr-tab-stop properties. (eww-tag-input): Exclude inputs with type="submit" when adding the help-echo and shr-tab-stop properties, since that's now done in eww-form-submit, called earlier for type="submit".
2026-05-28dbus-call-method-asynchronously supports also an ERROR-HANDLERmasterMichael Albinus
* doc/misc/dbus.texi (Asynchronous Methods): HANDLER can also be (HANDLER . ERROR-HANDLER). * etc/NEWS: Mention ERROR-HANDLER of dbus-call-method-asynchronously. * lisp/net/dbus.el (dbus-call-method-asynchronously): Adapt docstring. (dbus-check-event, dbus-handle-event): HANDLER can also be (HANDLER . ERROR-HANDLER). * src/dbusbind.c (Fdbus_message_internal): HANDLER can also be (HANDLER . ERROR-HANDLER). (Bug#80952) * test/lisp/net/dbus-tests.el (dbus--test-method-another-handler) (dbus--test-method-error-handler): New defvars. (dbus--test-method-another-handler) (dbus--test-method-error-handler): New functions. (dbus-test04-call-method-error-handler): New test. (dbus-test10-keep-fd): Extend test.
2026-05-23Merge from origin/emacs-31Eli Zaretskii
7a17f97baa7 Prettify special glyphs f13287fde0d Revert "sh-script: Mark + and * as punctuation rather tha... 70b79b3ed8d Rename `icalendar-recur' type and related functions 3d2bb233f27 ; Minor Tramp changes f6281d757d3 ; * etc/NEWS: Tell how to disable 'markdown-ts-mode'. 142b1e0d4c3 Fix Lisp injection via X-Draft-From in Gnus d6f7b2d99bd Save/restore old_buffer slot via window configurations (B... e0fbecaf658 Adapt ert-remote-temporary-file-directory settings 3de7f0ce5e5 Fix warning message in 'markdown-ts-mode--initialize' 7df8604ea63 ; Improve documentation of lazy-highlight in search and r... 2936b36164d Fix "assertion 'GTK_IS_WINDOW (window)' failed" 98348a0bdc9 [Xt] Fix child frame resizing glitch 13b29eebc16 Eglot: use standard face for completion annotations (bug#... # Conflicts: # etc/NEWS
2026-05-23; Minor Tramp changesMichael Albinus
* doc/misc/tramp.texi (Frequently Asked Questions): google-drive has been disabled in GNOME 50. * lisp/net/tramp-cmds.el (tramp-enable-method): Upcase prompt. * lisp/net/tramp-sh.el (tramp-sh-handle-make-process) (tramp-sh-handle-process-file): Improve setting of environment variables. * test/lisp/net/tramp-tests.el (tramp-methods) <mock>: Add `tramp-tmpdir'. Adapt `tramp-login-program'. (ert-remote-temporary-file-directory): Improve expansion. (tramp-test35-remote-path): Adapt test.
2026-05-21Merge from origin/emacs-31João Távora
655302cc212 Fix 'shr-outline-search' (bug#81073) 1754015c603 Improve auth-source-backend-parse 8f31ccbf823 Eglot: announce markdown support for completion docs aad170d1edf markdown-ts-mode: hide fence lines in view-mode (bug#81081) 133d1d591cb markdown-ts-mode: align default face definitions with mar... e0aeee2dc5f Fix markdown-ts-mode atx_heading face computation (bug#81... 997fc2cef77 Allow markdown-ts--run-command-in-code-block to ignore ou... 7d84e69a349 hideshow: Menu entry for 'hs-toggle-all' e90cafc2886 ; * doc/lispref/display.texi (Displaying Faces): Mention ... 520c5b7c71b ; * doc/lispref/text.texi (Special Properties): Fix last ... 8095fbef772 doc/lispref/text.texi: Add complement to commit f4a1c006569f 9436d92c5da Eglot: fix eglot--format-makrup when MARKUP just a string 9ba65aa9656 Fix missing margin face on display prop in erc-stamp
2026-05-20Fix 'shr-outline-search' (bug#81073)Juri Linkov
* lisp/net/shr.el (shr-outline-search): Don't check for the beginning of the line. Suggested by Omar Antolín Camarena <omar@im.unam.mx>. Confirmed by Rahguzar <rahguzar@mailbox.org>.
2026-05-18shr.el: Don't insert image at outdated destination (bug#80945)Stefan Monnier
When fetching images asynchronously, keep track of the destination region and refrain from inserting the image if that region has been modified in the mean time. * lisp/net/shr.el (shr--image-fetched, shr--async-put-image): New functions. (shr-insert-image, shr-zoom-image, shr-image-displayer, shr-tag-img): Use them. * lisp/mail/rmailmm.el (rmail-mime-render-html-shr): Add FIXME.
2026-05-18Merge from origin/emacs-31Sean Whitton
28a13b01c7d vc-refresh-state: Override default-directory for backend ... 389874c533b Eglot: unbreak for treesit-less builds 10e91e096d8 Get selected item in newsticker list view 6bd73af2413 ; * test/lisp/jsonrpc-tests.el: Adjust timeouts for CI EM... eb90c528f38 ; * lisp/progmodes/eglot.el (eglot-code-action-indication... 1d7d6ffedbc ; * etc/PROBLEMS: Fix entries about display of Emoji on T... 6c1829bf4c5 Eglot: fix thinko in recent markdown-related commit (bug#... 36036e71c0c Jsonrpc: migrate more tests to Python subprocess fixtures 0977d5915d1 Eglot: add left-fringe code action indicator (bug#80326) b7825c3a271 Fix auth-source-backends-parse d89054627c4 Fix updates of embedded formulas by 'calc-embedded-update... 1832a93547b ; * src/fns.c (Fequal): Doc fix. f68e7a0a411 ; Improve documentation of commands that move by compilat...
2026-05-18Get selected item in newsticker list viewJoshua Murphy
* lisp/net/newst-treeview.el (newsticker--treeview-get-selected-item): If an item is already selected, use it. (Bug#80972) Copyright-paperwork-exempt: yes
2026-05-16Merge from origin/emacs-31Eli Zaretskii
cf96e9cb5a5 ; Fix byte-compilation warnings in non-Tree-Sitter builds 23575adc7be ; * doc/lispref/variables.texi (Local Variables): Fix typ... 8b6fb2f6465 ; * doc/lispref/variables.texi (Local Variables): Fix 'na... d3c72b83890 ; * src/xdisp.c (display_line): Fix commentary (bug#80693). a981517b72e Fill margins with 'margin' face on truncated screen lines 8e374990357 ; * doc/lispref/os.texi (Init File): Fix markup (bug#81049). f4c326c378a ; * src/sfnt.c (sfnt_read_cmap_format_12): Assert there's... bf89ee6d078 ; * etc/PROBLEMS: Cursor not shown on Windows with system... 20500d62006 ; htmlfontify: Handle 'reset' face attribute value (bug#8... d0d657fa902 ; Minor Tramp cleanup 93ea0d7d289 ; Improve documentation of VC commands in Dired 318084829c5 Eglot: adjust reference to completion frontends in manual 2a166c2dbdb Eldoc: display documentation in visual-line-mode aba60ad0c5b Eglot: prefer markdown-ts-view-mode for markup rendering ... 689c3bd5088 Use 'read-multiple-choice' in 'markdown-ts-mode' (bug#81027) 71809ee5df5 Fix 'markdown-ts-code-span' face (bug#81026) 286833e401d Add read-only 'markdown-ts-view-mode' (bug#81023) b39c123490b Fix strikethrough in 'markdown-ts-mode' (bug#80991) 0be998d4bc0 Fix code-span in headings in 'markdown-ts-mode' (bug#80979) a00beb3a31b Make 'markdown-ts-inline-images' buffer local and test fo... a0c05029fd1 * etc/NEWS: Mention new user option tramp-propagate-emacs... 2e71d2c709f Propagate EMACSCLIENT_TRAMP to remote hosts with Tramp ff96db93f23 keyboard-tests.el: Try and fix the failure on EMBA ce3098752cf doc: Remove long obsolete references to `package-initialize` 9bc04b001ac vc-next-action: Call vc-delete-file on FILESET-ONLY-FILES 13039e3442b ; touch-up last commit: copyright and comments c2a24dcec8b ; update msys2 build helper for Emacs 31 & UCRT 3630baae720 hideshow: Support new 'margin' face for margin indicators... 20d17df3f4f Use the new 'margin' face in Flymake (bug#80693) 07f2bbc905d vc-dir-resynch-file: Pass down non-truename'd FILE
2026-05-16Merge from origin/emacs-31Eli Zaretskii
7eab6ef3cee Fix 'sgml-parse-tag-backward' to handle tags in comments 09dc864b0b8 Fix eww-submit for forms with no action (bug#80918) 0e7a24d9313 * lisp/progmodes/hideshow.el (hs--set-variable): Use 'set... f12b01582db Fix Completions buffer disappearing with tmm-menubar (bug... 519fd832111 Fix secrets.el when Emacs is a flatpak 9e4ea934f23 Fix 'prepare-user-lisp' to follow symlinks e613e38021e Update "timeout" to 2.1.6 196fd80689e [GTK3, HiDPI] Fix width/height round-trip through Configu... acc07f1a030 [GTK3] On Expose, repaint the border before the content 5323eebcffc Test read-passwd behavior (bug#80838) 01c5990dd06 Fix nested read-passwd calls (bug#80838) 027043df257 ; * lisp/gnus/message.el (message-server-alist): Doc fix ... 3b608b233ed Fix terminal emulation of "ESC [ K" sequence 6a605c65a83 Fix vertical-motion across overlay strings with embedded ... e4d529c67b6 ; Fix last change d54faa0f1bf Mark gnus-dbus.el as obsolete 9bf2a19bb21 Move gnus-dbus.el to obsolete/gnus-dbus.el 984024daf3c Gnus: Use new sleep library d7c130972e0 ; * lisp/term/pgtk-win.el (icon-map-list): Fix :type. 5579893ed7c ; Don't block/unblock input in text_extents methods 547b1ee7b6d Fix Rmail behavior wrt globalized minor modes 6ba05106f4e Fix display images in the display margins 56f27dd9f06 Eglot: fix eglot--sig-info with non-UTF-32 positionEncoding 543d8a7a9d7 [NS] Fix deprecated variable (bug#80985) # Conflicts: # etc/NEWS
2026-05-14* lisp/net/rcirc.el (rcirc-monospace-text): Inherit 'fixed-pitch'Philip Kaludercic
2026-05-14; Minor Tramp cleanupMichael Albinus
* lisp/net/tramp.el (tramp-unquote-shell-quote-argument): Do not expand remote file names w/o a localname. * test/lisp/net/tramp-tests.el (tramp--test-supports-environment-variables-p): New defun. (tramp-test33-environment-variables): Use it.
2026-05-13Propagate EMACSCLIENT_TRAMP to remote hosts with TrampMichael Albinus
* doc/misc/tramp.texi (Remote processes): Explain `tramp-propagate-emacsclient-tramp'. * lisp/net/tramp.el (tramp-remote-process-environment): Adapt docstring. (tramp-propagate-emacsclient-tramp): New defcustom. (tramp-handle-make-process): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process) (tramp-sh-handle-process-file): Use it. * test/lisp/net/tramp-tests.el (tramp-test33-environment-variables): Adapt test.
2026-05-11Fix eww-submit for forms with no action (bug#80918)Aidan Coyle
* lisp/net/eww.el (eww-submit): If a form does not specify an action the assumed action is the current URL. If the current URL has an existing query part, that part must be replaced by the form values, rather than appended to. Copyright-paperwork-exempt: yes
2026-05-11Fix secrets.el when Emacs is a flatpakMichael Albinus
* doc/misc/dbus.texi (Flatpak integration): New chapter. * lisp/net/secrets.el (top): Protect against wrong signals in the flatpak case. (Bug#80977)
2026-05-06Handle long environment variables in Tramp oricessesMichael Albinus
* lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Handle loooong environment variables. (Bug#80783) * test/lisp/net/tramp-tests.el (tramp-test33-environment-variables): Adapt test.
2026-04-30eww-handle-link: Split HTML rel on spacesTimon Reinold
* lisp/net/eww.el (eww-handle-link): The HTML rel attribute's value is a space-separated set of keywords, so split it before matching against known keywords (bug#80816). Copyright-paperwork-exempt: yes
2026-04-29; Spelling fixes.Paul Eggert
2026-04-27Fix defining a few faces as emptyJonas Bernoulli
e72afa9dbf92f45 replaced nil, which is invalid as a face definition, with ((t (:inherit default))), but that does not actually result in an "empty" face, which doesn't set any attributes. Instead it doubles down on all attributes set for the default face. Replace that with ((t)), which accomplishes what appears to have been the intention. * lisp/net/shr.el (shr-h4, shr-h5, shr-h6): * lisp/nxml/nxml-mode.el (nxml-text): * lisp/progmodes/make-mode.el (makefile-shell): Use empty face definition ((t)), instead of ((t (:inherit default))).
2026-04-25Some minor Tramp fixesMichael Albinus
* doc/misc/tramp.texi (Customizing Methods): Add comment. * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell): Comment out setting `command-line-max-length', it doesn't work reliably. * test/lisp/net/tramp-tests.el (tramp-test03-file-error) (tramp-test26-file-name-completion-boundaries): Adapt tests.
2026-04-19Some minor Tramp changesMichael Albinus
* lisp/net/tramp-sh.el (tramp-get-remote-arg-max): New defun. (tramp-open-connection-setup-interactive-shell): Use it. * lisp/net/tramp.el (tramp-multi-hop-p-hook): New defvar. (tramp-multi-hop-p): Use it. (tramp-handle-make-process): Set TERM environment.
2026-04-17Extend integration of external operations in TrampMichael Albinus
* doc/misc/tramp.texi (Extension packages): Use another format char in example. (New operations): Document different argument types. Extend example. * lisp/net/tramp.el: Use consequently `eq', `assq', `memq'. (tramp-file-name-for-operation-external): Extend docstring. (tramp-file-name-for-operation): Make more use of `tramp-file-name-for-operation-external'. (tramp-add-external-operation): New optional argument `arg-type'. * test/lisp/net/tramp-tests.el (tramp--handle-test-operation): Rename from `tramp--handler-for-test-operation'. (tramp--handle-process-id) (tramp--test-operation-file-name-for-operation): New defuns. (tramp-test49-external-backend-function): Extend test.
2026-04-07Tweak remote-file-name-inhibit-cache in TrampMichael Albinus
* lisp/net/tramp-cache.el (tramp-suppress-remote-file-name-inhibit-cache): New defsubst. * lisp/net/tramp.el (tramp-skeleton-file-name-all-completions): * lisp/net/tramp-sh.el (tramp-get-remote-path): Use it.
2026-04-06Keep cache in tramp-skeleton-file-name-all-completionsMichael Albinus
* lisp/net/tramp.el (tramp-skeleton-file-name-all-completions): Don't expire cache for large directories.
2026-04-06lisp/net/tramp.el: Fix performance regression with completionsJoseph Mingrone
* lisp/net/tramp.el (tramp-skeleton-file-name-all-completions): Use `file-directory-p' directly instead of calling `file-symlink-p' and file-truename first. Since `file-directory-p' already follows symlinks, symlinked directories are handled correctly without the extra indirection.
2026-04-04Avoid line breaks in IMAP AUTHENTICATE PLAINJens Lechtenbörger
* lisp/net/imap.el (imap-plain-auth): Avoid line breaks in AUTHENTICATE PLAIN command (bug#80687).
2026-04-04* lisp/net/tramp.el (tramp-expand-args): Handle ARGS being nil.Michael Albinus
2026-03-30Allow format specifiers in `tramp-login-program'Michael Albinus
* doc/misc/tramp.texi (Extension packages): Explain how to use own format specifiers. * lisp/net/tramp.el (tramp-expand-args): Make DEFAULT argument optional. Handle also ARGS being an atom. (tramp-handle-make-process): * lisp/net/tramp-container.el (tramp-skeleton-completion-function): * lisp/net/tramp-sh.el (tramp-ssh-or-plink-options) (tramp-maybe-open-connection): * lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file): Call `tramp-expand-args' for `tramp-login-program'.
2026-03-28Fix tramp-smb-handle-copy-fileMichael Albinus
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-file): Suppress `jka-compr-handler'. Reported by Seppo Ronkainen <sodr80@protonmail.com>. (Bug#80667)
2026-03-28Fix file-name-all-completions for symlinked directories in TrampMichael Albinus
* lisp/net/tramp.el (tramp-skeleton-file-name-all-completions): * lisp/net/tramp-adb.el (tramp-adb-handle-file-name-all-completions): * lisp/net/tramp-crypt.el (tramp-crypt-handle-file-name-all-completions): * lisp/net/tramp-fuse.el (tramp-fuse-handle-file-name-all-completions): * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-name-all-completions): * lisp/net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): * lisp/net/tramp-smb.el (tramp-smb-handle-file-name-all-completions): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-name-all-completions): Simplify. * tramp-tests.el (tramp-test32-shell-command): Adapt test. * lisp/net/tramp-ftp.el (tramp-disable-ange-ftp): Use `seq-difference'. * lisp/net/tramp-gvfs.el (tramp-gvfs-monitor-process-filter): Use `thread-last'. * lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory): Use `seq-difference'. (tramp-sh-gio-monitor-process-filter): Use `thread-last'. * lisp/net/tramp-smb.el (tramp-smb-get-file-entries): Do not add virtual entry ""; it isn't needed anymore. * lisp/net/tramp.el (tramp-make-tramp-hop-name): Use `thread-last'. (tramp-completion-handle-file-directory-p): Use `tramp-prefix-format'. (tramp-fnac-add-trailing-slash): New defvar. (tramp-skeleton-file-name-all-completions): Handle also symlinked directories. (tramp-skeleton-directory-files): Use `tramp-fnac-add-trailing-slash'. (tramp-handle-file-name-completion): Use `seq-difference'. (tramp-handle-make-process): Handle "%w" format specifier. * test/lisp/net/tramp-tests.el (tramp-test26-file-name-completion) (tramp-test32-shell-command, tramp-test36-vc-registered): Adapt tests.
2026-03-16Use consistent alias name in tramp-compat.elMichael Albinus
* lisp/net/tramp-compat.el (tramp-compat-error-type-p): Rename from `tramp-error-type-p'.
2026-03-10Use single-arg form of `signal` to re-throw an errorStefan Monnier
* lisp/vc/smerge-mode.el (smerge-extend): * lisp/vc/diff-mode.el (diff-beginning-of-file-and-junk): * lisp/transient.el (transient--with-emergency-exit): * lisp/textmodes/tex-mode.el (latex-forward-sexp): * lisp/tar-mode.el (tar-mode): * lisp/savehist.el (savehist--reload): * lisp/progmodes/octave.el (inferior-octave-resync-dirs): * lisp/progmodes/js.el (js--re-search-forward): * lisp/plstore.el (plstore--decrypt): * lisp/net/dbus.el (dbus-ignore-errors, dbus-register-signal) (dbus-handle-event): * lisp/mouse.el (mouse-drag-track, mouse-drag-region-rectangle): * lisp/minibuffer.el (completion-pcm--find-all-completions): * lisp/mail/rfc2231.el (rfc2231-parse-string): * lisp/mail/rfc2047.el (rfc2047-encode-region): * lisp/jit-lock.el (jit-lock-fontify-now): * lisp/international/ja-dic-utl.el (skkdic-lookup-key): * lisp/gnus/nnselect.el (nnselect-generate-artlist): * lisp/gnus/mml-sec.el (mml-secure-epg-encrypt, mml-secure-epg-sign): * lisp/gnus/mail-source.el (mail-source-fetch-pop) (mail-source-check-pop): * lisp/gnus/gnus-art.el (gnus-article-read-summary-keys): * lisp/files.el (basic-save-buffer-2, files--ensure-directory) (files--force, copy-directory): * lisp/eshell/esh-io.el (eshell-output-object-to-target): * lisp/epa.el (epa-decrypt-file, epa-verify-file, epa-sign-file) (epa-encrypt-file, epa-decrypt-region, epa-verify-region) (epa-sign-region, epa-encrypt-region, epa-delete-keys) (epa-export-keys, epa-insert-keys): * lisp/emacs-lisp/package.el (package--unless-error): * lisp/emacs-lisp/multisession.el (multisession--read-file-value): * lisp/emacs-lisp/lisp.el (up-list-default-function): * lisp/desktop.el (desktop-kill): * lisp/calendar/time-date.el (date-to-time): * lisp/calendar/appt.el (appt-display-message): * lisp/calc/calc.el (calc-do): * lisp/bookmark.el (bookmark-handle-bookmark): * src/fileio.c (report_file_errno): * lisp/vc/vc.el (vc-checkout, vc-pull): Use `(signal err)` instead of `(signal (car err) (cdr err))`.
2026-03-10Use the new error API functionsStefan Monnier
* lisp/epa-file.el (epa-file--find-file-not-found-function): Use `error-slot-value` and `error-data`. (epa-file-insert-file-contents): Use `error-has-type-p`, `error-slot-value`, and `error-data`. * lisp/jka-compr.el (jka-compr-insert-file-contents): Use `error-has-type-p` and `error-slot-value` as well as new re-signaling form of `signal`. * lisp/simple.el (minibuffer-error-function): Use `error-has-type-p`. * lisp/startup.el (startup--load-user-init-file): Use `error-message-string`. (command-line): Use `error-has-type-p` and `error-message-string`. * lisp/type-break.el (type-break-demo-life): Use `error-message-string`. * lisp/emacs-lisp/bytecomp.el (batch-byte-compile-file): Use `error-message-string` and `error-has-type-p`. * lisp/emacs-lisp/edebug.el (edebug-safe-eval, edebug-report-error) (edebug-eval-expression): * lisp/emacs-lisp/debug.el (debugger-eval-expression): Use `error-message-string`. * lisp/emacs-lisp/ert.el (ert--should-error-handle-error): Use `error-has-type-p` and `error-type`. * lisp/net/sasl.el (sasl-error): Use `define-error`. * lisp/net/tramp-compat.el (tramp-error-type-p): New function. (tramp-permission-denied, tramp-compat-permission-denied): Use it. * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Use `error-type-p`. * lisp/xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal) (turn-off-xterm-mouse-tracking-on-terminal): Use `error-slot-value`. * lisp/simple.el (next-line, previous-line): Remove useless `condition-case` handler, and hence the whole `condition-case`, and then simplify. * lisp/gnus/nnrss.el (nnrss-insert): Use `with-demoted-errors`. * lisp/gnus/nnmaildir.el (nnmaildir--emlink-p, nnmaildir--enoent-p) (nnmaildir--eexist-p): Use `error-has-type-p`. (nnmaildir--new-number, nnmaildir-request-set-mark): Use single-arg `signal`. * lisp/ffap.el (ffap-machine-p): Use `error-slot-value`. * lisp/emacs-lisp/comp.el (comp--native-compile): Use `error-has-type-p` as well as single-arg `signal`. * lisp/net/ange-ftp.el (ange-ftp-hook-function): Use single-arg `signal`. * lisp/ebuff-menu.el (electric-buffer-menu-looper): Use `error-has-type-p`. * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper): Use `error-has-type-p`. (ebrowse-electric-position-looper): Make it an alias of `ebrowse-electric-list-looper`. * lisp/ibuffer.el (ibuffer-confirm-operation-on): * lisp/ls-lisp.el (ls-lisp--insert-directory): * lisp/gnus/gnus-search.el (gnus-search-run-query): * lisp/mail/mail-extr.el (mail-extr-safe-move-sexp): * lisp/net/dbus.el (dbus-set-property): * lisp/net/eudc-export.el (eudc-bbdbify-phone): * lisp/net/imap.el (imap-fetch-safe): * lisp/vc/vc.el (vc-root-dir): Use `error-slot-value` and single-arg `signal` to re-signal.
2026-03-01Implement connection-local `command-line-max-length'Michael Albinus
* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell): Set connection-local value of `command-line-max-length'. * lisp/net/tramp.el (tramp-get-connection-local-criteria): New defsubst. (tramp-set-connection-local-variables): Use it. (tramp-set-connection-local-variables-for-buffer): Use `connection-local-criteria-for-default-directory'.
2026-02-22Fix use of older OpenSSH version in TrampMichael Albinus
* lisp/net/tramp-sh.el (tramp-methods) <scp, scpx, rsync, ssh, sshx>: Adapt `tramp-login-args' argument. (Bug#80464) (tramp-ssh-setenv-term): New defvar. (tramp-ssh-setenv-term): New defun. (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): Use it. * lisp/net/tramp.el (tramp-methods, tramp-signal-hook-function): Extend docstring.
2026-02-22* lisp/net/tramp.el (tramp-signal-hook-function): Extend docstring.Michael Albinus
2026-02-21browse-url-firefox-program: Add support for more Firefox variants.Gabriel Santos
* lisp/net/browse-url.el (browse-url-firefox-program): Add support for Floorp, LibreWolf and Zen Browser. (Bug#80398) * etc/NEWS: Announce the change.
2026-02-18* lisp/net/goto-addr.el (goto-address-fontify): Fix unbalanced parens.Juri Linkov
Use 'bounds-of-thing-at-point' that relies on 'thing-at-point--bounds-of-well-formed-url' to get well-formed url with balanced parens (bug#80429).
2026-02-14Escape attribute values and string DOMs when inserting themVisuwesh
* lisp/net/shr.el (shr-dom-print): Escape these strings, as done in `dom-print', to prevent producing an erroneous XML document. * test/lisp/net/shr-tests.el (dom-print-escape): Add new test (Bug#80383).
2026-02-12Tramp signals 'remote-file-error' consequentlyMichael Albinus
* doc/misc/tramp.texi (External packages): Mention also special events. Emphasise, that Tramp raises remote-file-error. * etc/NEWS: Tramp signals 'remote-file-error' consequently. Presentational fixes and improvements. * lisp/net/tramp.el (tramp-skeleton-process-file) (tramp-handle-make-symbolic-link, tramp-process-actions) (tramp-wait-for-regexp, tramp-send-string): * lisp/net/tramp-adb.el (tramp-adb-get-device) (tramp-adb-send-command-and-check, tramp-adb-barf-unless-okay) (tramp-adb-wait-for-output, tramp-adb-maybe-open-connection): * lisp/net/tramp-archive.el (tramp-archive-handle-not-implemented): * lisp/net/tramp-crypt.el (tramp-crypt-do-encrypt-or-decrypt-file-name) (tramp-crypt-do-encrypt-or-decrypt-file): * lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-error) (tramp-gvfs-maybe-open-connection): * lisp/net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-perl) (tramp-do-copy-or-rename-file-directly) (tramp-do-copy-or-rename-file-out-of-band) (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region) (tramp-bundle-read-file-names, tramp-maybe-send-script) (tramp-find-file-exists-command, tramp-barf-if-no-shell-prompt) (tramp-maybe-open-connection, tramp-wait-for-output) (tramp-send-command-and-check, tramp-barf-unless-okay) (tramp-send-command-and-read, tramp-get-ls-command): * lisp/net/tramp-smb.el (tramp-smb-handle-file-attributes) (tramp-smb-handle-make-symbolic-link) (tramp-smb-maybe-open-connection, tramp-smb-call-winexe): * lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command-and-read): Raise a `remote-file-error' in case of connection problems. * lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection): Improve check for host. * lisp/net/tramp-smb.el (tramp-smb-get-localname): Improve error message. * lisp/net/tramp-sudoedit.el (tramp-default-host-alist): Set a default for "sudoedit" method. (tramp-sudoedit-maybe-open-connection): Check for proper host name. (tramp-sudoedit-send-command): Do not expand ?h. * lisp/net/tramp.el (tramp-compute-multi-hops): Check for cycle proxy definition. * test/lisp/net/tramp-archive-tests.el (tramp-archive-test20-file-modes) (tramp-archive-test21-file-links): Check for `rmote-file-error'. * test/lisp/net/tramp-tests.el (tramp-file-name-with-sudo): Declare. (tramp--test-ignore-make-symbolic-link-error): Check for `rmote-file-error'. (tramp-test03-file-name-method-rules): Delete. (tramp-test03-file-error): New test. (tramp--test-supports-processes-p): Make it more rebust.
2026-02-12Avoid errors in shr.el due to fractional colspan attributeArto Jantunen
Apparently some people believe that a colspan can be fractional, and produce HTML with such. Make it possible for SHR to render such HTML by truncating colspan. * lisp/net/shr.el (shr-make-table-1): Ensure 'colspan' is a fixnum. (Bug#80354)
2026-02-12Fix parsing of Title field in Newsticker List bufferRahul Martim Juliato
* lisp/net/newst-backend.el (newsticker--parse-text-container): Only "xhtml" type contains inline XML nodes that need to be run through 'newsticker--unxml' to serialize back to a string. (Bug#80317)
2026-02-07Support D-Bus file descriptor manipulationMichael Albinus
* doc/misc/dbus.texi (Synchronous Methods): Adapt `dbus-call-method'. (Asynchronous Methods): Adapt `dbus-call-method-asynchronously'. (File Descriptors): New chapter, replaces Inhibitor Locks. * etc/NEWS: Replace "New D-Bus functions to support systemd inhibitor locks" by "Support D-Bus file descriptor manipulation". Presentational fixes and improvements. * lisp/net/dbus.el (dbus-call-method) (dbus-call-method-asynchronously): Adapt docstring. (dbus-list-hash-table): Return (nreverse result). (dbus-monitor-goto-serial): Declare `completion'. * src/dbusbind.c (Fdbus_message_internal, xd_read_message_1): Handle `:keep-fd'. (xd_registered_inhibitor_locks, Fdbus_make_inhibitor_lock) (Fdbus_close_inhibitor_lock, Fdbus_registered_inhibitor_locks): Delete. (xd_registered_fds): New variable. (Fdbus__fd_open, Fdbus__fd_close, Fdbus__registered_fds): New DEFUNs. (Bug#79963) (syms_of_dbusbind_for_pdumper): Initialize `xd_registered_fds'. (syms_of_dbusbind): Remove subroutines `Sdbus_make_inhibitor_lock', `Sdbus_close_inhibitor_lock' and `Sdbus_registered_inhibitor_locks'. Remove symbol `Qdbus_call_method'. Declare subroutines `Sdbus__fd_open', `Sdbus__fd_close' and `Sdbus__registered_fds'. Declare symbol `QCkeep_fd'. staticpro `xd_registered_fds'. * test/lisp/net/dbus-tests.el (dbus-test10-inhibitor-locks): Delete. (dbus-test10-keep-fd, dbus-test10-open-close-fd): New tests.
2026-01-27Organize tramp-adb-handle-make-process a little bit betterMichael Albinus
* lisp/net/tramp-adb.el (tramp-adb-handle-make-process): Call `tramp-taint-remote-process-buffer' where it belongs to.
2026-01-25Support `undo'ing user input after messages are receivedF. Moukayed
* lisp/net/rcirc.el (rcirc-update-prompt): Don't track undo info. (rcirc-send-input): Clear undo list after message is sent. (rcirc-update-undo-list): Add new function (copied from erc.el). (rcirc-print): Update (shift) undo list instead of clearing it.
2026-01-24; Tramp code cleanupMichael Albinus
* lisp/net/tramp-cache.el (tramp-cache-unload-hook): * lisp/net/tramp-cmds.el (tramp-enable-method, tramp-bug): * lisp/net/tramp-compat.el: * test/lisp/net/tramp-tests.el (tramp-test26-interactive-file-name-completion): Simplify retrieving proper function symbols.
2026-01-20; * lisp/net/browse-url.el (browse-url-with-browser-kind): Fix call.Daniel Mendler
2026-01-20Extend Tramp tracesMichael Albinus
* lisp/net/tramp-message.el (tramp-debug-message): Change selection for `trace-function-background'.