aboutsummaryrefslogtreecommitdiffstats
path: root/doc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Document use of uniquify-buffer-name-style as a function.feature/uniquify-as-functionJimmy Aguilar Mena2020-09-151-0/+11
|
* Allow preserving (some) text properties from completion tablesLars Ingebrigtsen2020-09-141-2/+16
| | | | | | | * doc/lispref/minibuf.texi (Text from Minibuffer): Document it. * lisp/minibuffer.el (completion--replace): Preserve text properties on completed items (bug#43218).
* Add facility to make module functions interactive (Bug#23486).Philipp Stephani2020-09-131-14/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/module-env-28.h: Add field for 'make_interactive' function. * src/emacs-module.c (Lisp_Module_Function): Add new field holding the interactive form. (allocate_module_function): Adapt to structure layout change. (module_make_interactive, module_function_interactive_form): New functions. (initialize_environment): Use them. * src/eval.c (Fcommandp): * src/data.c (Finteractive_form): Also handle interactive module functions. * test/data/emacs-module/mod-test.c (Fmod_test_identity): New test function. (emacs_module_init): Create two interactive module test functions. * test/src/emacs-module-tests.el (module/interactive/return-t) (module/interactive/return-t-int, module/interactive/identity): New unit tests. * doc/lispref/internals.texi (Module Functions): Document new function. Rework paragraph about wrapping module functions, as the example no longer applies. * etc/NEWS: Document new facility.
* Fix punctuation in EWW manualEli Zaretskii2020-09-131-4/+5
| | | | | * doc/misc/eww.texi (Advanced): Fix punctuation of a recent change.
* Fix up example code from previous eww.texi commitLars Ingebrigtsen2020-09-131-3/+1
| | | | | * doc/misc/eww.texi (Advanced): Simplify example command (and "--virtual-time-budget=3000" makes Chromium unstable).
* Add a way to use an external command to download HTML in ewwLars Ingebrigtsen2020-09-131-0/+17
| | | | | | | | | * doc/misc/eww.texi (Advanced): Document it. * lisp/net/eww.el (eww-retrieve): New function. (eww-reload): Use it. (eww): Ditto. (eww-retrieve-command): New variable.
* Small Texinfo markup fixesGlenn Morris2020-09-122-3/+3
| | | | | * doc/misc/dbus.texi (Register Objects): * doc/misc/gnus.texi (Searching): Texinfo markup fixes.
* Default Emacs to UTF-8 instead of Latin-1Glenn Morris2020-09-121-5/+2
| | | | | | | | | | | * doc/emacs/mule.texi (File Name Coding): Document it. * lisp/international/mule-cmds.el (reset-language-environment): Default to utf-8 instead of latin-1. * lisp/mail/sendmail.el (default-sendmail-coding-system): Ditto. * lisp/mh-e/mh-comp.el (mh-send-letter): Ditto.
* Move dired-jump from dired-x to dired (Bug#21981)Stefan Kangas2020-09-122-48/+12
| | | | | | | | | | | | | | | | | | | * lisp/dired-x.el (dired-bind-jump): Change into defvar and make obsolete. (dired-extra-startup): Doc fix. (dired-jump, dired-jump-other-window): Move from here... * lisp/dired.el (dired-jump, dired-jump-other-window): ...to here. * lisp/bindings.el (ctl-x-map, ctl-x-4-map): Bind 'C-j' to 'dired-jump' and 'dired-jump-other-window'. * doc/misc/dired-x.texi (Features, Installation) (Miscellaneous Commands): Remove documentation of 'dired-jump'. * doc/emacs/dired.texi (Dired Enter): Document 'dired-jump' and dired-jump-other-window. * etc/NEWS: Announce the above changes. * test/lisp/dired-tests.el (dired-autoload): Adjust test.
* D-Bus: Implement other compound types of propertiesMichael Albinus2020-09-111-4/+5
| | | | | | | | | | | | | | | * doc/misc/dbus.texi (Errors and Events): * etc/NEWS: Mention dbus-show-dbus-errors. * lisp/net/dbus.el (dbus-compound-types): New defconst. (dbus): New defgroup. (dbus-show-dbus-errors): New defcustom. (dbus-ignore-errors): Use it. (dbus-set-property): Simplify. (dbus-property-handler): Implement other compound types of properties. * test/lisp/net/dbus-tests.el (dbus--test-register-service) (dbus-test05-register-property): Extend tests.
* Adapt Tramp docMichael Albinus2020-09-091-0/+6
| | | | | | | * doc/misc/tramp.texi (Remote shell setup): Mention password-word-equivalents. * lisp/net/tramp.el (tramp-password-prompt-regexp): Fix docstring.
* Merge from origin/emacs-27Glenn Morris2020-09-092-2/+2
|\ | | | | | | | | 9b35b0c99c ; * lisp/man.el (Man-mode): Fix formatting. abca75d2e9 ; Fix typos; change "Emacs-Lisp" to "Emacs Lisp"
| * ; Fix typos; change "Emacs-Lisp" to "Emacs Lisp"Stefan Kangas2020-09-022-2/+2
| |
* | Merge from origin/emacs-27Glenn Morris2020-09-091-19/+0
|\ \ | |/ | | | | | | 302f71e55d Fix help message with help-window-select 0fb3fc92b3 Remove obsolete "Wide Characters" section of Gnus manual
| * Remove obsolete "Wide Characters" section of Gnus manualEric Abrahamsen2020-08-311-19/+0
| | | | | | | | * doc/misc/gnus.texi: This hasn't been valid since 2016.
* | Fix thinko in dbus.elMichael Albinus2020-09-091-3/+7
| | | | | | | | | | | | | | | | | | | | * doc/misc/dbus.texi (Register Objects): Rename from "Receiving Method Calls". Add reference to D-Bus API Design document. * lisp/net/dbus.el (dbus-managed-objects-handler): Fix thinko. * test/lisp/net/dbus-tests.el (dbus-test05-register-property) (dbus-test05-register-property-several-paths): Extend tests.
* | Implement a new `submit-emacs-patch' commandLars Ingebrigtsen2020-09-092-8/+16
| | | | | | | | | | | | | | | | | | | | | | * doc/emacs/trouble.texi (Checklist): Mention the new command. * doc/lispref/intro.texi (Caveats): Ditto. * lisp/mail/emacsbug.el (emacs-bug--system-description): Factor out into own function. (report-emacs-bug): ... from here. (submit-emacs-patch): New command.
* | Make the button navigation commands available via a minor modeLars Ingebrigtsen2020-09-091-0/+3
| | | | | | | | | | | | * lisp/button.el (button-mode): New minor mode. * doc/lispref/display.texi (Button Buffer Commands): Mention it.
* | Add Gnus function to make a persistent group from a search resultAndrew G Cohen2020-09-091-20/+31
| | | | | | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-make-group-from-search): New command (bound to C-c C-p in summary buffers). * doc/misc/gnus.texi (What is nnir?): Document it. Correct previous errors. * etc/NEWS (Gnus): Mention it.
* | Allow DEFAULT in format-prompt to be a listLars Ingebrigtsen2020-09-081-0/+2
| | | | | | | | | | | | | | | | * doc/lispref/minibuf.texi (Text from Minibuffer): Document it. * lisp/minibuffer.el (format-prompt): Allow DEFAULT to be a list (and use the first element). This is how many of the prompting functions interpret their default parameters.
* | Implement typed D-Bus properties (Bug#43252)Michael Albinus2020-09-081-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/dbus.texi (Properties and Annotations) (Receiving Method Call): Document optional type symbol in `dbus-set-property' and `dbus-register-property'. * lisp/net/dbus.el (dbus-error-unknown-interface) (dbus-error-unknown-method, dbus-error-unknown-object) (dbus-error-unknown-property): New defconsts. (dbus-peer-handler): Improve error handling. (dbus-introspect-get-signature): Handle also properties. (dbus-set-property, dbus-register-property): Allow optional TYPE symbol for VALUE. (Bug#43252) (dbus-property-handler): Implement property types. Improve error handling. * src/dbusbind.c (dbus-message-internal, dbus-registered-objects-table): Fix docstring. * test/lisp/net/dbus-tests.el (dbus-test05-register-property): Extend test. (dbus-test05-register-property-several-paths): New test.
* | Introduce a new Gnus scoring method (for article age)Alex Bochannek2020-09-081-0/+18
| | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Score File Format): Document it. * lisp/gnus/gnus-score.el (gnus-score-check-syntax): Add support for the new date methods < and > (bug#43270). (gnus-score-date): Allow scoring on dates by age.
* | Fix formatting of recent Gnus nnselect changesBasil L. Contovounesios2020-09-061-70/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Finding the Parent, Selection Groups) (Searching, Basic Usage): Heed sentence-end-double-space. Fix formatting of prose and examples. * etc/NEWS: Fix typo. * lisp/gnus/gnus-srvr.el: Remove disabled autoload. * lisp/gnus/gnus-cloud.el (gnus-cloud-available-chunks): * lisp/gnus/gnus-group.el (gnus-group-read-ephemeral-search-group): * lisp/gnus/gnus-sum.el (gnus-refer-thread-use-search) (gnus-summary-refer-thread): * lisp/gnus/gnus.el (gnus-kill-ephemeral-group): * lisp/gnus/nnheader.el (nnheader-head-make-header) (nnheader-parse-head): * lisp/gnus/nnir.el: (nnir-hyrex-remove-prefix, nnir-run-notmuch): * lisp/gnus/nnselect.el: Fix formatting/indentation of commentary, docstring, and/or code.
* | ; Minor touchups to recent D-Bus changesBasil L. Contovounesios2020-09-061-3/+3
| | | | | | | | | | | | | | | | * doc/misc/dbus.texi (Receiving Method Calls): Use lowercase @var names. * lisp/net/dbus.el (dbus-register-method): Don't quote nil in docstring. (dbus-get-this-registered-property): Simplify double negation.
* | EUDC: Reword macOS Contacts back end overviewThomas Fitzsimmons2020-09-051-9/+5
| | | | | | | | * doc/misc/eudc.texi (macOS Contacts): Shorten section.
* | ; Document new gnus-summary-line-format itemsAndrew G Cohen2020-09-051-0/+9
| | | | | | | | | | | | | | * lisp/gnus/gnus.el (gnus-summary-line-format): Include %Z, %G, and %g in the docstring. * doc/misc/gnus.texi (Summary Buffer Lines): Document %Z, %G, and %g specifications.
* | Introduce nnselect backend for gnusAndrew G Cohen2020-09-051-73/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new backend allows gnus to handle arbitrary sets of messages spanning multiple groups, even when these groups are from different backends and different servers. All gnus glue is removed from nnir (leaving only the backend search functions) and gnus search-related processing is done through nnselect. In appropriate places 'nnir' has been replaced by 'nnselect' or 'search'. * etc/NEWS: Document the change. * doc/misc/gnus.texi: New documentation for nnselect and update searching and thread-referral sections. * lisp/gnus/nnselect.el: New file. * lisp/gnus/nnir.el: Remove all gnus glue, leaving only searching capability. Improve documentation strings. * lisp/gnus/gnus-group.el (gnus-group-read-ephemeral-search-group, gnus-group-make-search-group): New functions. * lisp/gnus/gnus-msg.el (gnus-setup-message, gnus-group-news, gnus-summary-news-other-window): Update to work for nnselect. Fix gnus-newsgroup-name wrangling. *lisp/gnus/gnus-registry.el (gnus-registry-action,gnus-registry-ignore-group-p): Make work from nnselect. * lisp/gnus/nnheader.el (nnheader-parse-head, nnheader-parse-nov): Rework and consolidate header parsing. * lisp/gnus/gnus-agent.el (gnus-agent-regenerate-group): * lisp/gnus/gnus-cache.el (gnus-possibly-enter-article): * lisp/gnus/gnus-cloud.el (gnus-cloud-available-chunks): * lisp/gnus/gnus-msg.el (gnus-inews-yank-articles): * lisp/gnus/gnus-sum. (gnus-get-newsgroup-headers): * lisp/gnus/nndiary.el (nndiary-parse-head): * lisp/gnus/nnfolder.el (nnfolder-parse-head): * lisp/gnus/nnmaildir.el (nnmaildir--update-nov): * lisp/gnus/nnml.el (nnml-parse-head): * lisp/gnus/nnspool.el (nnspool-insert-nov-head): Use new header parsing. * lisp/gnus/gnus-start.el (gnus-read-active-for-groups): Rescan on activation by default. * lisp/gnus/gnus-sum.el (gnus-summary-line-format-alist): New specs for virtual groups. (gnus-article-sort-by-rsv, gnus-thread-sort-by-rsv): New functions to allow sorting by search RSV.
* | Extend dbus.el by error messages, and :write access typeMichael Albinus2020-09-041-14/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/dbus.texi (Receiving Method Calls): Describe how to produce D-Bus error messages. (Receiving Method Calls): Support :write access type. * lisp/net/dbus.el (dbus-error-dbus, dbus-error-failed) (dbus-error-access-denied, dbus-error-invalid-args) (dbus-error-property-read-only): New defconsts. (dbus-method-error-internal): Add arg ERROR-NAME. (dbus-register-method): Adapt docstring. (dbus-handle-event): Handle error messages returned from the handler. (dbus-get-this-registered-property) (dbus-get-other-registered-property): New defuns. (dbus-register-property): Support :write access type. (dbus-property-handler): Submit proper D-Bus error messages. Handle several paths at the same interface. * src/dbusbind.c (Fdbus_message_internal): Improve handling of DBUS_MESSAGE_TYPE_ERROR.
* | Document :type-error property for customization typesMauro Aranda2020-09-041-0/+7
| | | | | | | | | | | | * doc/lispref/customize.texi (Type Keywords): Document :type-error, so Lisp programs can display a more correct message when the value of a user option doesn't match its type (bug#23975).
* | Fix 'expand-file-name' for remote filesEli Zaretskii2020-09-031-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts most of commit 14fb657ba82da346d36f05f88da26f1c5498b798 and its followup fixes, and instead fixes the original bugs in a different manner that doesn't affect any unrelated use cases. As part of this, the code which caused 'expand-file-name' to enforce a trailing slash on expanded directories is removed, as this kind of semantic processing is outside of 'expand-file-name's scope. * src/fileio.c (Fexpand_file_name): If expanding default_directory yields a remote file name, call its handlers. (Bug#26911) (Bug#34834) * doc/lispref/files.texi (File Name Expansion): Remove the requirement that expanding a directory name yields a directory name, i.e. that the expansion must end in a slash. * etc/NEWS: Remove the announcement of the changed behavior of 'expand-file-name' wrt trailing slashes. * test/src/fileio-tests.el (fileio-tests--HOME-trailing-slash) (fileio-tests--expand-file-name-trailing-slash): Remove tests. * test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name): No need to expect different results in Emacs 28 and later.
* | Improve documentation for custom :optionsMauro Aranda2020-09-011-0/+8
| | | | | | | | | | | | * doc/lispref/customize.texi (Variable Definitions): Mention that re-evaluating a defcustom form doesn't reset custom options (bug#30101).
* | Document 'smtp-auth' in auth-source infoRobert Pluim2020-09-012-3/+9
| | | | | | | | | | | | * doc/misc/auth.texi (Help for users): Mention 'smtp-auth' key, add cross-reference to smtpmail.info. * doc/misc/smtpmail.texi (Authentication): Fix markup.
* | Mention C-c C-w in the signature section of the Message manualLars Ingebrigtsen2020-09-011-2/+5
| | | | | | | | | | * doc/misc/message.texi (Insertion Variables): Mention the C-c C-w command (bug#43136). Text suggested by Dan Jacobson.
* | Remove spurious @ character in smtpmail.texiLars Ingebrigtsen2020-09-011-1/+1
| | | | | | | | | | * doc/misc/smtpmail.texi (Authentication): Remove a presumably spurious @ character.
* | ; Document choice of smtp authentication methodAndrew G Cohen2020-09-011-4/+5
| | | | | | | | | | * doc/misc/smtpmail.texi (Authentication): Document smtp-auth. * etc/NEWS: Advertise the feature.
* | Merge from origin/emacs-27Glenn Morris2020-08-312-12/+13
|\ \ | |/ | | | | | | | | | | | | f20169399d (origin/emacs-27) Fix typo in Introduction to Emacs Lisp 7605060d51 Update Elisp Manual reference to which-function-mode 29708cbde7 Some precisions to bug handling dddc971f0e CC Mode: Fix processing for when c-multiline-string-start-... 4a73fb9668 Fix description of %-constructs in 'mode-line-format'
| * Fix typo in Introduction to Emacs LispStefan Kangas2020-08-311-1/+1
| | | | | | | | | | * doc/lispintro/emacs-lisp-intro.texi (type-of-animal in detail): Remove extraneous parenthesis.
| * Update Elisp Manual reference to which-function-modeStefan Kangas2020-08-311-5/+5
| | | | | | | | | | | | * doc/lispref/modes.texi (Mode Line Top, Mode Line Variables) Don't refer to obsolete alias for 'which-function-mode'. (Bug#13716)
| * Fix description of %-constructs in 'mode-line-format'Eli Zaretskii2020-08-291-6/+7
| | | | | | | | | | * doc/lispref/modes.texi (%-Constructs): Document %@ and remove %M, which is no longer supported. (Bug#43092)
| * Sync with Tramp 2.4.5-preMichael Albinus2020-08-252-20/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi: Adapt Tramp and Emacs version numbers. (Remote processes): Describe `process-file-return-signal-string' and $INSIDE_EMACS. (Frequently Asked Questions): Mention Emacs 28. Describe `tramp-smb-options'. * doc/misc/trampver.texi: Change version to "2.4.5-pre". * lisp/net/tramp-adb.el (process-file-return-signal-string): Declare. (tramp-adb-handle-write-region): Flush the cache after the file has been written. (tramp-adb-handle-set-file-modes, tramp-adb-handle-set-file-times): Add optional _FLAG. (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file) (tramp-adb-handle-process-file): Use `tramp-file-local-name'. (tramp-adb-get-signal-strings): New defun. (tramp-adb-handle-process-file): Use it. (tramp-adb-handle-make-process): Implement `stderr'. Use `insert-file-contents-literally'. (tramp-adb-send-command-and-check): Add optional argument EXIT-STATUS. (tramp-adb-handle-process-file): Use it. * lisp/net/tramp-archive.el (tramp-archive-file-name-handler): Increase `max-specpdl-size' temporarily. * lisp/net/tramp-cache.el (top): Use `insert-file-contents-literally'. * lisp/net/tramp-cmds.el (tramp-rename-files): Use `tramp-file-local-name'. * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Prevent crash for older Emacsen. (top): Adapt `tramp-gvfs-unload-hook'. (tramp-gvfs-handle-file-system-info): Fix error. (tramp-gvfs-handle-set-file-modes, tramp-gvfs-handle-set-file-times): Add optional _FLAG. * lisp/net/tramp-rclone.el (tramp-rclone-flush-directory-cache): Fix a problem with older Emacsen. * lisp/net/tramp-sh.el (process-file-return-signal-string): Declare. (tramp-sh-extra-args): Add "-noediting" as bash arg. (tramp-hexdump-encode, tramp-hexdump-awk-encode) (tramp-od-encode, tramp-od-awk-encode): New defconst. (tramp-awk-encode, tramp-awk-decode): Adapt. (tramp-awk-coding-test): Remove. (tramp-remote-coding-commands): Add hexdump/awk encoding. (Bug#35639) (tramp-find-inline-encoding): Adapt handling of awk, hexdump and od. (tramp-get-remote-busybox, tramp-get-remote-awk) (tramp-get-remote-hexdump, tramp-get-remote-od): New defuns. (tramp-sh-handle-make-symbolic-link): (tramp-do-copy-or-rename-file-directly) (tramp-sh-handle-process-file, tramp-set-remote-path) (tramp-find-inline-encoding, tramp-get-remote-touch): Use `tramp-file-local-name'. (tramp-do-file-attributes-with-stat): Simplify shell command. Suppress errors (interpret as nil). (tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times): Add optional _FLAG. (tramp-sh-handle-make-process): Do not visit with `insert-file-contents'. Delete tmp file only if exists. Support `stderr' as file name. Delete temporary stderr file. Flush connection properties in time. (tramp-sh-get-signal-strings): New defun. (tramp-sh-handle-process-file): Use it. (tramp-sh-handle-write-region): Copy to temp file only if FILENAME exists. (Bug#40156) (tramp-set-remote-path): Send the command in several chunks if it is too large. (Bug#42538) (tramp-open-connection-setup-interactive-shell): Move up "set +o vi +o emacs" command. (Bug#39399) (tramp-send-command-and-read): Suppress `signal-hook-function' when reading expression. (tramp-send-command-and-check): Add optional argument EXIT-STATUS. (tramp-sh-handle-process-file): Use it. (Bug#41099) * lisp/net/tramp-smb.el (tramp-smb-conf): Fix docstring. (tramp-smb-options): New defcustom. (tramp-smb-handle-copy-directory, tramp-smb-handle-file-acl) (tramp-smb-handle-set-file-acl, tramp-smb-maybe-open-connection): Use it. (tramp-smb-errors): Add "NT_STATUS_INVALID_PARAMETER". (tramp-smb-handle-make-symbolic-link) (tramp-smb-handle-process-file): Use `tramp-file-local-name'. * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file): (tramp-sudoedit-handle-set-file-uid-gid): Use `tramp-unquote-file-local-name'. (tramp-sudoedit-handle-make-symbolic-link): Use `tramp-file-local-name'. (tramp-sudoedit-handle-file-system-info): Fix a scoping error. (tramp-sudoedit-handle-set-file-modes): (tramp-sudoedit-handle-set-file-times): Add optional _FLAG. * lisp/net/tramp.el: Bump version to 2.4.5-pre. (tramp-file-local-name, tramp-unquote-file-local-name): New defuns. (tramp-set-connection-local-variables-for-buffer) (tramp-equal-remote, tramp-handle-make-auto-save-file-name): Use `tramp-tramp-file-p'. (tramp-parse-file): Use `insert-file-contents-literally'. (tramp-handle-file-modes, tramp-handle-file-times): Add optional _FLAG. (tramp-handle-shell-command): Fix `window-start' in output buffer. (Bug#39171) Handle `shell-command-dont-erase-buffer'. (Bug#39067) Reorganize error-buffer handling. Set `default-directory'. (Bug#39253) (tramp-handle-shell-command, tramp-handle-start-file-process): Implement asynchronous `error-buffer'. (tramp-action-process-alive): Read pending output. (tramp-read-passwd): Use `tramp-compat-temporary-file-directory'. (Bug#39389, Bug#39489) (tramp-interrupt-process): Improve command. * lisp/net/trampver.el: Change version to "2.4.5-pre". (tramp-repository-branch, tramp-repository-version): Bind `debug-on-error' to nil. * test/lisp/net/tramp-tests.el (tramp-get-remote-gid) (process-file-return-signal-string) (shell-command-dont-erase-buffer): Declare. (tramp-test10-write-region, tramp-test28-process-file) (tramp-test29-start-file-process, tramp-test30-make-process) (tramp-test31-interrupt-process, tramp-test32-shell-command): Extend test. (tramp-test10-write-region, tramp-test21-file-links): Use function symbols. (tramp-test18-file-attributes): Check `file-ownership-preserved-p' only if possible. (tramp--test-async-shell-command): New defun. (tramp--test-shell-command-to-string-asynchronously): Use it. (tramp-test32-shell-command-dont-erase-buffer): New test.
* | Add a new function dom-printLars Ingebrigtsen2020-08-311-0/+5
| | | | | | | | | | | | * doc/lispref/text.texi (Document Object Model): Document it. * lisp/dom.el (dom-print): New function.
* | Make format-prompt interpret a nil default value as "no default"Lars Ingebrigtsen2020-08-301-0/+3
| | | | | | | | | | | | | | | | | | * doc/lispref/minibuf.texi (Text from Minibuffer): Document it. * lisp/help-fns.el (describe-function): Adjust the caller. * lisp/minibuffer.el (format-prompt): Interpret a nil default value as "no default".
* | Add commands to run shell commands in project rootStefan Kangas2020-08-281-0/+14
| | | | | | | | | | | | | | | | | | | | * lisp/progmodes/project.el (project-async-shell-command) (project-shell-command): New commands to run 'async-shell-command' and 'shell-command' in project's root directory. (project-prefix-map): Bind commands to '!' and '&'. * doc/emacs/maintaining.texi (Project File Commands): Document the new commands. * etc/NEWS: Announce the new commands.
* | Fix expand-file-name symlink-to-dir bugPaul Eggert2020-08-261-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Yegor Timoshenko (Bug#26911), and I ran into it myself recently in normal-top-level. * doc/lispref/files.texi (File Name Expansion), etc/NEWS: Mention this. * src/fileio.c (Fexpand_file_name): Expand "/a/b/." to "/a/b/" not "/a/b", to avoid misinterpreting a symlink "/a/b". Similarly, expand "/a/b/c/.." to "/a/b/" not "/a/b". * test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name): Adjust to match new behavior. (tramp-test05-expand-file-name-relative): This test now succeeds, at least on Fedora 31. * test/src/fileio-tests.el: (fileio-tests--expand-file-name-trailing-slash) New test.
* | Implement a way to customize "default" valuesLars Ingebrigtsen2020-08-261-0/+28
| | | | | | | | | | | | | | * doc/lispref/minibuf.texi (Text from Minibuffer): Document them. * lisp/minibuffer.el (format-prompt): New function (bug#12443). (minibuffer-default-prompt-format): New variable.
* | Document ispell comment/string checking commands in the user manualŠtěpán Němec2020-08-261-1/+10
| | | | | | | | | | | | * doc/emacs/fixit.texi (Spelling): Mention 'ispell-comments-and-strings' and 'ispell-comment-or-string-at-point'. (bug#6411)
* | ; * doc/lispref/backups.texi (Auto-Saving): Fix wording of last change.Eli Zaretskii2020-08-261-13/+12
| |
* | Don't recommend redefining auto-save filename functionsNoam Postavsky2020-08-261-40/+27
| | | | | | | | | | | | | | | | * doc/lispref/backups.texi (Auto-Saving): Document auto-save-file-name-transforms. * lisp/files.el (make-auto-save-file-name) (auto-save-file-name-p): Remove suggestion to redefine for customization (bug#34911).
* | Add basic D-Bus integration to GnusEric Abrahamsen2020-08-251-0/+22
| | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-dbus.el: New library, registering a signal that closes all Gnus servers when the system is going to sleep. * lisp/gnus/gnus-start.el: Check new option `gnus-dbus-close-on-sleep', and register the appropriate D-Bus signal if it is non-nil. * lisp/gnus/gnus.el: New gnus-dbus customization group. * doc/misc/gnus.texi: Document.
* | Preserve setf semantics in 'substring', 'cons', 'logand' expandersŠtěpán Němec2020-08-251-2/+5
| | | | | | | | | | | | | | * doc/lispref/variables.texi (Adding Generalized Variables): Fix example. * lisp/emacs-lisp/cl-lib.el (substring) * lisp/emacs-lisp/gv.el (cons, logand): Return the value being assigned, as specified for 'setf'. (bug#35546)