aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add command 'dbus-monitor'Michael Albinus2021-02-051-0/+5
| | | | | | | | | | | * doc/misc/dbus.texi: (Monitoring Messages): Document 'dbus-monitor'. * etc/NEWS: Mention 'dbus-monitor' but 'dbus-register-monitor'. Fix typos and other oddities. * lisp/net/dbus.el (dbus-monitor): New command. * test/lisp/net/dbus-tests.el (dbus--test-register-service): Extend test.
* Update description of 'tramp-crypt-remove-directory'Robert Pluim2021-02-041-3/+4
| | | | | | * doc/misc/tramp.texi (Keeping files encrypted): Correct name of function to use to indicate files should no longer be encrypted, and update its description.
* Avoid recommending GoogleStefan Kangas2021-01-281-3/+3
| | | | | | | | | | | * doc/misc/org.texi (Link Abbreviations): * lisp/net/webjump.el (webjump-sample-sites): * lisp/org/ol.el (org-link-shell-confirm-function) (org-link-elisp-confirm-function): * lisp/org/org.el (org-highlight-links): * lisp/wdired.el: Avoid recommending Google. squash! Avoid recommending Google
* Some Tramp fixesMichael Albinus2021-01-271-0/+3
| | | | | | | | | | | | | | | | * doc/misc/tramp.texi (GVFS-based methods): Ban sftp RemoteCommand option. * lisp/net/tramp-adb.el (tramp-adb-handle-copy-file) (tramp-adb-handle-rename-file): Avoid calling jka-compr when writing the target file. * lisp/net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p): Skip GROUP test on *BSD machines. * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory-one-file): Skip for tamp-crypt.el. (tramp--test-sh-no-ls--dired-p): Ignore errors.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2021-01-221-101/+62
|
* Use RemoteCommand option for Tramp's sshx and scpx methodsMichael Albinus2021-01-221-10/+17
| | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Inline methods) <sshx>: (External methods) <scpx>: Adapt call sequence. (Remote shell setup): Mention, that sshx and scpx overwrite RemoteCommand. (Remote processes): Restriction: direct asynchronous processes cannot be used when RemoteCommand is in use. `tramp-remote-process-environment' is not ignored any longer. * lisp/net/tramp-sh.el (tramp-methods) <sshx, scpx>: Handle login shell via RemoteCommand. Remove `tramp-direct-async' parameter. (tramp-maybe-open-connection): Add "-i" to login. * lisp/net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_NOT_SUPPORTED". (tramp-smb-handle-insert-directory): Fix point moving error. * test/lisp/net/tramp-tests.el (tramp-test34-explicit-shell-file-name): Use `get-buffer-process' where appropriate.
* Make Message respect header removal instructions moreLars Ingebrigtsen2021-01-211-0/+6
| | | | | | | | | | | | | * doc/misc/message.texi (Forwarding): Document it. * lisp/gnus/message.el (message-forward-ignored-headers): Improve documentation. (message-forward-included-headers): Ditto. (message-forward-included-mime-headers): New user option. (message-remove-ignored-headers): Use it to preserve the necessary MIME headers. (message-forward-make-body): Remove headers when forwarding as MIME, too.
* Some Tramp fixes, resulting from test campaignMichael Albinus2021-01-191-2/+6
| | | | | | | | | | | | | * doc/misc/tramp.texi (Remote shell setup): Clarifications for `tramp-actions-before-shell' example. * lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory): Do not expand FILENAME explicitely. (tramp-open-shell): Add "-i" for interactive shells. * test/lisp/net/tramp-tests.el (tramp-test07-file-exists-p) (tramp-test14-delete-directory) (tramp-test43-asynchronous-requests): Skip for MS windows.
* Some Tramp adaptions, mainly direct async processesMichael Albinus2021-01-152-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Firewalls, Remote processes) (Frequently Asked Questions): Add @vindex. (Predefined connection information): Precise precondition or direct async processes. (Remote shell setup): Ban ssh RemoteCommand option. (Frequently Asked Questions): Adapt quoting. * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.5.1-pre". * lisp/net/tramp-adb.el (tramp-methods) <adb>: Add `tramp-direct-async' parameter. (tramp-adb-handle-make-process): Adapt docstring. * lisp/net/tramp-sh.el (tramp-methods) <scp, scpx, rsync, ssh, sshx>: Add `tramp-direct-async' parameter. (tramp-sh-handle-insert-directory): Simplify merkers. (tramp-sh-handle-make-process): Adapt docstring. * lisp/net/tramp.el (tramp-methods): Adapt docstring. (tramp-debug-message): Suppress lockfiles. (tramp-test-message): New defun. (tramp-direct-async-process-p): Check also for `tramp-direct-async'. (tramp-handle-make-process): Do not check for `tramp-direct-async-args'. * test/lisp/net/tramp-tests.el (all): Replace `string-match' by `string-match-p'. (dired-copy-dereference): Declare. (tramp-test-temporary-file-directory): Remove `tramp-direct-async-args` for mock method. (tramp-test15-copy-directory, tramp-test40-special-characters) (tramp-test40-special-characters-with-stat) (tramp-test40-special-characters-with-perl) (tramp-test40-special-characters-with-ls, tramp-test41-utf8) (tramp-test41-utf8-with-stat, tramp-test41-utf8-with-perl) (tramp-test41-utf8-with-ls): Skip for tramp-rclone.el. (tramp--test--deftest-direct-async-process): Do not skip for mock method. (tramp-test32-shell-command): Adapt test for direct async processes. (tramp-test36-vc-registered, tramp--test-hpux-p, tramp--test-ksh-p): Use `tramp-test-vec'.
* Merge from origin/emacs-27Glenn Morris2021-01-141-1/+1
|\ | | | | | | | | | | | | 149d64bbb2 * doc/misc/tramp.texi (Quick Start Guide): Fix thinko. 97747e6fb9 Tell people how to remove fontconfig customizations 33d0c603c6 ; * doc/lispref/modes.texi (SMIE Indentation Example): Fix... 03080b5545 Remove extraneous closing paren
| * * doc/misc/tramp.texi (Quick Start Guide): Fix thinko.Michael Albinus2021-01-051-1/+1
| |
* | Fix example in the Gnus manualDavid Edmondson2021-01-101-1/+1
| | | | | | | | | | | | | | * doc/misc/gnus.texi (Score Variables): In the example showing how to use a list of functions for gnus-score-find-score-files-find-function, return a list of strings from the lambda rather than trying to call the string as a function (bug#45673).
* | Specify precedence in .authinfo filesLars Ingebrigtsen2021-01-101-0/+12
| | | | | | | | | | * doc/misc/auth.texi (Help for users): Mention placing more specific entries first (bug#45711).
* | Merge from origin/emacs-27Glenn Morris2021-01-041-4/+4
|\ \ | |/ | | | | 99cc0045eb (origin/emacs-27) Update two user option names in the Widg...
| * Update two user option names in the Widget manualMauro Aranda2021-01-041-4/+4
| | | | | | | | | | | | | | * doc/misc/widget.texi (Basic Types): The user options widget-glyph-directory and widget-glyph-enable were renamed long ago to widget-image-directory and widget-image-enable, but the manual kept calling them by their old names. Update the names.
| * Update copyright year to 2021Paul Eggert2021-01-0166-66/+66
| | | | | | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* | Update from Gnulib by running admin/merge-gnulib.Paul Eggert2021-01-011-1/+1
| |
* | Update copyright year to 2021Paul Eggert2021-01-0167-67/+67
| | | | | | | | Run "TZ=UTC0 admin/update-copyright".
* | CC Mode: increment version numbers to 5.35 due to standalone releaseAlan Mackenzie2020-12-311-2/+2
| | | | | | | | | | | | * doc/misc/cc-mode.texi. Increment the mode to 5.35, twice. * lisp/progmodes/cc-defs.el. Increment the mode to "5.35.1".
* | Make Flymake mode-line indicator customizable (bug#33740)João Távora2020-12-311-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/flymake.el (flymake-mode): Use flymake-mode-line-format. (flymake--mode-line-format): Remove. (flymake-mode-line-counter-format, flymake-mode-line-format): New defcustom. (flymake-mode-line-title, flymake-mode-line-exception) (flymake-mode-line-counters, flymake-error-counter) (flymake-warning-counter, flymake-note-counter): New variables. (flymake--mode-line-title, flymake--mode-line-exception) (flymake--mode-line-counters, flymake--mode-line-counter): New helpers. * doc/misc/flymake.texi (Customizable variables): Mention flymake-mode-line-format and flymake-mode-line-counter-format * etc/NEWS: Mention Flymake's customizable mode-line.
* | Sync with Tramp 2.5.0Michael Albinus2020-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.5.0". * test/lisp/net/tramp-tests.el (tramp--test--deftest-direct-async-process): Check, that `make-process' supports file name handlers. Suppress `internal-default-process-sentinel'. (tramp--test-async-shell-command): Set `proc' proper. (tramp-test32-shell-command-direct-async): Tag it :unstable.
* | Revert "Allow the flymake mode line indicator to be customized"João Távora2020-12-291-3/+0
| | | | | | | | | | | | | | | | This reverts commit 37049ee78c4576d340781179317e6cbaaf73b6c3. It's not ready to be used, contains some fundamental errors. See bug#33740.
* | Allow the flymake mode line indicator to be customizedLars Ingebrigtsen2020-12-291-0/+3
| | | | | | | | | | | | | | | | * doc/misc/flymake.texi (Customizable variables): Mention it. * lisp/progmodes/flymake.el (flymake-mode-line-indicator-format): New variable (bug#33740). (flymake--mode-line-format): Use it.
* | Rename Tramp method "media" to "mtp" (Bug#45402)Michael Albinus2020-12-261-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Quick Start Guide, GVFS-based methods): Rename "media" to "mtp". (Bug#45402) * etc/NEWS: Rename Tramp method "media" to "mtp". Fix typos. * lisp/net/tramp-gvfs.el (tramp-gvfs-methods, tramp-media-methods) (tramp-gvfs-activation-uri) (tramp-gvfs-handler-volumeadded-volumeremoved) (tramp-get-media-devices, top): Rename "media" to "mtp". (Bug#45402)
* | Merge from origin/emacs-27Glenn Morris2020-12-251-1/+59
|\ \ | |/ | | | | | | | | | | | | | | | | 5d46593568 Support build of Emacs on ARM Macos machines 7f8793e5f1 Update to Org 9.4.4 7b3367a0b5 * lisp/so-long.el: Decrease use of passive voice. a90836c638 * doc/misc/efaq.texi (New in Emacs 27): Add section. 711fe70dd8 * doc/misc/efaq.texi (Latest version of Emacs): Bump version. 52b30834fb * lisp/face-remap.el (face-remap-set-base): Doc fix. (Bug... b3fe0ac62e Correct argument order in comment
| * * doc/misc/efaq.texi (New in Emacs 27): Add section.Stefan Kangas2020-12-211-0/+58
| |
| * * doc/misc/efaq.texi (Latest version of Emacs): Bump version.Stefan Kangas2020-12-211-1/+1
| |
* | Update Gnulib.Philipp Stephani2020-12-241-13/+52
| | | | | | | | | | All changes in this commit are autogenerated by running admin/merge-gnulib.
* | Improve make-process in TrampMichael Albinus2020-12-201-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Remote processes): Remove INSIDE_EMACS restriction. (Frequently Asked Questions, External packages): Add indices. * etc/NEWS: 'start-process-shell-command' and 'start-file-process-shell-command' do not support the old calling conventions any longer. * lisp/subr.el (start-process-shell-command) (start-file-process-shell-command): Remove old calling conventions. * lisp/net/tramp-compat.el (remote-file-error): Remove, it isn't necessary. * lisp/net/tramp.el (tramp-handle-make-process): Remove special shell handling. Support environment variables. * test/lisp/net/tramp-tests.el (tramp--test--deftest-direct-async-process): Skip for mock method. (tramp--test-async-shell-command): Suppress `shell-command-sentinel'. (tramp-test32-shell-command, tramp-test33-environment-variables): Adapt tests. (tramp-test32-shell-command-direct-async) (tramp-test33-environment-variables-direct-async): New tests.
* | Inhibit buffer hooks in temporary buffersBasil L. Contovounesios2020-12-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Give get-buffer-create an optional argument to inhibit buffer hooks in internal or temporary buffers for efficiency (bug#34765). * etc/NEWS: Announce new parameter of get-buffer-create and generate-new-buffer, and that with-temp-buffer and with-temp-file now inhibit buffer hooks. * doc/lispref/buffers.texi (Buffer Names): Fix typo. (Creating Buffers): Document new parameter of get-buffer-create and generate-new-buffer. (Buffer List, Killing Buffers): Document when buffer hooks are inhibited. (Current Buffer): * doc/lispref/files.texi (Writing to Files): Document that with-temp-buffer and with-temp-file inhibit buffer hooks. * doc/lispref/internals.texi (Buffer Internals): Document inhibit_buffer_hooks flag. Remove stale comment. * doc/misc/gnus-faq.texi (FAQ 5-8): * lisp/simple.el (shell-command-on-region): Fix indentation. * lisp/files.el (kill-buffer-hook): Document when hook is inhibited. (create-file-buffer): * lisp/gnus/gnus-uu.el (gnus-uu-unshar-article): * lisp/international/mule.el (load-with-code-conversion): * lisp/mh-e/mh-xface.el (mh-x-image-url-fetch-image): * lisp/net/imap.el (imap-open): * lisp/net/mailcap.el (mailcap-maybe-eval): * lisp/progmodes/flymake-proc.el (flymake-proc--read-file-to-temp-buffer) (flymake-proc--copy-buffer-to-temp-buffer): Simplify. * lisp/subr.el (generate-new-buffer): Forward new optional argument to inhibit buffer hooks to get-buffer-create. (with-temp-file, with-temp-buffer, with-output-to-string): * lisp/json.el (json-encode-string): Inhibit buffer hooks in buffer used. * src/buffer.c (run_buffer_list_update_hook): New helper function. (Fget_buffer_create): Use it. Add optional argument to set inhibit_buffer_hooks flag instead of comparing the buffer name to Vcode_conversion_workbuf_name. All callers changed. (Fmake_indirect_buffer, Frename_buffer, Fbury_buffer_internal) (record_buffer): Use run_buffer_list_update_hook. (Fkill_buffer): Document when buffer hooks are inhibited. Use run_buffer_list_update_hook. (init_buffer_once): Inhibit buffer hooks in Vprin1_to_string_buffer. (Vkill_buffer_query_functions, Vbuffer_list_update_hook): Document when hooks are inhibited. * src/buffer.h (struct buffer): Update inhibit_buffer_hooks commentary. * src/coding.h (Vcode_conversion_workbuf_name): * src/coding.c (Vcode_conversion_workbuf_name): Make static again since it is no longer needed in src/buffer.c. (code_conversion_restore, code_conversion_save, syms_of_coding): Prefer boolean over integer constants. * src/fileio.c (Finsert_file_contents): Inhibit buffer hooks in " *code-converting-work*" buffer. * src/window.c (Fselect_window): Fix grammar. Mention window-selection-change-functions alongside buffer-list-update-hook. * test/src/buffer-tests.el: Fix requires. (buffer-tests-inhibit-buffer-hooks): New test.
* | ; Fix @pxref in last change to flymake.texiBasil L. Contovounesios2020-12-181-1/+2
| |
* | Merge from origin/emacs-27Glenn Morris2020-12-181-8/+6
|\ \ | |/ | | | | | | | | | | | | | | | | 48b9c47805 Minor fixes in authors.el and in tarball-making instructions d7a4ceaa1e ; Add a new item to TODO 64fe805b19 Improve documentation of 'query-replace' 7cacf5da47 Update to Org 9.4.3 # Conflicts: # admin/authors.el
| * Update to Org 9.4.3Bastien Guerry2020-12-161-8/+6
| | | | | | | | Fix #45259
* | Document that flymake-diag-region saves match dataJoão Távora2020-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The typical use of this function (which is parsing compiler diagnostic messages), lends itself too easily to one the problems in bug#29193. Make it a friendlier API. * doc/misc/flymake.texi (Flymake utility functions): Document that flymake-diag-region saves match data. * lisp/progmodes/flymake.el (flymake-diag-region): Document that this saves match data.
* | Some minor Tramp changesMichael Albinus2020-12-171-7/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/os.texi (Timers): Speak about `remote-file-error'. * doc/misc/tramp.texi (Frequently Asked Questions): Speak about `remote-file-error'. (External packages): New subsection "Timers". * lisp/net/tramp-adb.el (tramp-adb-handle-make-process): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Adapt error function. Handle coding. * lisp/net/tramp.el (tramp-handle-make-process): Adapt error function.
* | Merge from origin/emacs-27Glenn Morris2020-12-151-475/+728
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 668f0a7f84 Fix point location when completing in gdb-mi.el 2dbc95063b Update to Org 9.4.2 f22856a5c5 Update to Org 9.4.1 # Conflicts: # doc/misc/org.texi # lisp/org/ob-core.el # lisp/org/ob-ruby.el # lisp/org/ob-screen.el # lisp/org/ol-gnus.el # lisp/org/ol.el # lisp/org/org.el
| * Update to Org 9.4.1Bastien Guerry2020-12-131-477/+729
| |
| * Adapt Tramp versions. Do not mergeMichael Albinus2020-11-302-12/+12
| | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Obtaining @value{tramp}) (Remote shell setup, Remote processes, Archive file names): * doc/misc/trampver.texi: * lisp/net/tramp.el: * lisp/net/trampver.el (tramp-version) (customize-package-emacs-version-alist): Adapt Tramp versions.
* | Make XEmacs entry in the FAQ more contemporaryStefan Kangas2020-12-141-25/+11
| | | | | | | | | | | | | | * doc/misc/efaq.texi (Difference between Emacs and XEmacs): Make XEmacs entry in the FAQ more contemporary. Remove part about re-using XEmacs code; this is not likely to be relevant these days and in any case is not a frequently asked question. (Bug#45235)
* | Update value of frame-title-format in FAQStefan Kangas2020-12-141-1/+1
| | | | | | | | | | * doc/misc/efaq.texi (Displaying the current file name in the titlebar): Fix default value of frame-title-format.
* | Don't recommend setnu and wb-line-numberStefan Kangas2020-12-141-2/+0
| | | | | | | | | | * doc/misc/efaq.texi (Displaying the current line or column): Remove reference to third-party alternatives to display-line-numbers-mode.
* | Remove more references to old versions from FAQStefan Kangas2020-12-141-10/+10
| | | | | | | | | | | | * doc/misc/efaq.texi (Learning how to do something) (Installing Emacs, Emacs for GNUstep, Emacs for macOS): Remove more references to Emacs 22 and older from FAQ.
* | Remove references to Emacs before version 22 from FAQStefan Kangas2020-12-121-36/+25
| | | | | | | | | | | | | | | | | | * doc/misc/efaq.texi (Escape sequences in shell output): Remove reference to versions before Emacs 21. (Basic editing, Latest version of Emacs) (Turning on abbrevs by default, Going to a line by number) (Security risks with Emacs): Remove references to versions before Emacs 22.
* | New option gnus-registry-register-allEric Abrahamsen2020-12-121-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-registry.el (gnus-registry-register-all): If nil, the registry won't automatically create new entries for all seen messages. Defaults to t to preserve previous behavior. (gnus-registry-handle-action): Don't automatically create entries; if one doesn't exist, don't handle anything. (gnus-registry-register-message-ids): Only register if this option is t. (gnus-registry-get-or-make-entry): Add optional no-create argument. (gnus-registry-get-id-key): This "get" operation should only create an entry if this option is t. * doc/misc/gnus.texi: Documentation and news.
* | Allow customizing the Gnus summary thread indicatorsPankaj Jangid2020-12-121-2/+29
| | | | | | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Summary Buffer Lines): Document them. * lisp/gnus/gnus-sum.el (gnus-summary-prepare-threads): Use them. * lisp/gnus/gnus-sum.el (gnus-sum-opening-bracket) (gnus-sum-closing-bracket, gnus-sum-opening-bracket-adopted) (gnus-sum-closing-bracket-adopted): New variables.
* | cl-pushnew manual clarificationLars Ingebrigtsen2020-12-091-6/+7
| | | | | | | | | | | | * doc/misc/cl.texi (Modify Macros): Don't claim that cl-pushnew uses eql. (Lists as Sets): Mention that eql is the default comparison function.
* | * doc/misc/calc.texi (Predefined Units): Prune outdated kg text.Mattias Engdegård2020-12-071-7/+1
| |
* | Restore nnimap-split-download-body as a customization optionEric Abrahamsen2020-12-031-7/+9
| | | | | | | | | | | | | | | | * lisp/gnus/nnimap.el (nnimap-split-download-body): And add an obsolete alias for `nnimap-split-download-body-default'. (nnimap-fetch-inbox): Check the value of the option, not the variable. * doc/misc/gnus.texi (Client-Side IMAP Splitting): Move the primary documentation of this option to this section.
* | Remove specific byte-compiler warnings for cl.elStefan Kangas2020-12-021-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-warning-types) (byte-compile-warnings, byte-compile-cl-file-p) (byte-compile-eval, byte-compile-eval-before-compile) (byte-compile-arglist-warn, byte-compile-find-cl-functions) (byte-compile-cl-warn, displaying-byte-compile-warnings) (byte-compile-file-form-require, byte-compile-form): Remove all specific cl.el warnings, as that library is now obsolete. The regular obsoletion warnings are sufficiently discouraging. * lisp/emacs-lisp/advice.el (ad-compile-function): Don't try to silence the now removed warning. * doc/lispref/tips.texi (Coding Conventions): * doc/misc/cl.texi (Organization): Make recommendation to not use cl.el and cl-compat.el stronger. * lisp/obsolete/cl.el: Make alias help say that they are obsolete. * lisp/obsolete/cl-compat.el (build-klist, safe-idiv) (pair-with-newsyms): Silence byte-compiler.
* | Allow Tramp to mirror traces to a fileMichael Albinus2020-12-011-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Traces and Profiles): Add `tramp-debug-to-file'. * lisp/net/tramp-adb.el (tramp-adb-parse-device-names) (tramp-adb-get-device): * lisp/net/tramp-cmds.el (tramp-rename-files): * lisp/net/tramp-gvfs.el (tramp-gvfs-monitor-process-filter) (tramp-gvfs-handler-volumeadded-volumeremoved) (tramp-get-media-devices): * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch) (tramp-sh-gio-monitor-process-filter) (tramp-sh-gvfs-monitor-dir-process-filter) (tramp-sh-inotifywait-process-filter, tramp-maybe-send-script) (tramp-find-inline-encoding): * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory) (tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl): Use `tramp-compat-string-replace'. * lisp/net/tramp-compat.el (tramp-compat-string-replace): New defalias. * lisp/net/tramp.el (tramp-debug-to-file): New defcustom. (tramp-get-debug-buffer): Simplify. (tramp-get-debug-file-name): New defun. (tramp-debug-message): Write debug file if indicated.