summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
...
* | CC Mode: increment version numbers to 5.35 due to standalone releaseAlan Mackenzie2020-12-31
| | | | | | | | | | | | * 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-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Allow add-to-ordered-list to use a test predicateLars Ingebrigtsen2020-12-31
| | | | | | | | | | | | | | * doc/lispref/lists.texi (List Variables): Update manual. * lisp/subr.el (add-to-ordered-list): Allow using a test predicate, and make slightly more efficient (bug#45539).
* | Revert "Switch add-to-ordered-list to eql"Lars Ingebrigtsen2020-12-30
| | | | | | | | | | | | This reverts commit b4fd857ead728a06380250c5336c1ab94a7c2f7a. I misunderstood the purposed of the function.
* | Switch add-to-ordered-list to eqlLars Ingebrigtsen2020-12-30
| | | | | | | | | | | | * doc/lispref/lists.texi (List Variables): Update documentation. * lisp/subr.el (add-to-ordered-list): Switch to eql (bug#45539).
* | Add caveat about the `long' `mode-line-compact' settingLars Ingebrigtsen2020-12-30
| | | | | | | | | | * doc/lispref/modes.texi (Mode Line Basics): Elaborate on the `long' setting.
* | Sync with Tramp 2.5.0Michael Albinus2020-12-29
| | | | | | | | | | | | | | | | | | | | | | | | * 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-29
| | | | | | | | | | | | | | | | This reverts commit 37049ee78c4576d340781179317e6cbaaf73b6c3. It's not ready to be used, contains some fundamental errors. See bug#33740.
* | Introduce new variable mode-line-compactLars Ingebrigtsen2020-12-29
| | | | | | | | | | | | | | * doc/lispref/modes.texi (Mode Line Basics): Document it (bug#34476). * src/xdisp.c (display_mode_line): Use it. (syms_of_xdisp): New variable mode-line-compact.
* | Allow the flymake mode line indicator to be customizedLars Ingebrigtsen2020-12-29
| | | | | | | | | | | | | | | | * 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.
* | Add a SPLIT parameter to `format-spec'Lars Ingebrigtsen2020-12-29
| | | | | | | | | | | | | | * doc/lispref/strings.texi (Custom Format Strings): Document it. * lisp/format-spec.el (format-spec): Add an optional parameter to return a list of strings (bug#33740).
* | Add a reference between the Strings node and Search/ReplaceLars Ingebrigtsen2020-12-29
| | | | | | | | | | * doc/lispref/strings.texi (Creating Strings): Mention string-replace/replace-regexp-in-string (bug#45516).
* | Document the text property limitations in mode linesLars Ingebrigtsen2020-12-28
| | | | | | | | | | * doc/lispref/modes.texi (Properties in Mode, Mode Line Basics): Mention the special text property limitations.
* | Add new predicates for sequence lengthsLars Ingebrigtsen2020-12-27
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/sequences.texi (Sequence Functions): Document them. * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Mark them as side-effect-free. * lisp/emacs-lisp/shortdoc.el (list): Mention them. * src/fns.c (Flength): Mention them in the doc string. (length_internal): New function. (Flength_less, Flength_greater, Flength_equal): New defuns. (syms_of_fns): Sym them.
* | Rename Tramp method "media" to "mtp" (Bug#45402)Michael Albinus2020-12-26
| | | | | | | | | | | | | | | | | | | | | | | | * 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)
* | Improvements for `:base-uri' svg image propertyZajcev Evgeny2020-12-26
| | | | | | | | | | | | | | * src/image.c (svg_load): Use ENCODE_FILE for `:base-uri' * doc/lispref/display.texi (SVG Images): Add more documentation for `:base-uri'
* | Merge from origin/emacs-27Glenn Morris2020-12-25
|\| | | | | | | | | | | | | | | | | | | 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-21
| |
| * * doc/misc/efaq.texi (Latest version of Emacs): Bump version.Stefan Kangas2020-12-21
| |
* | Allow `string-limit' to work on encoded stringsLars Ingebrigtsen2020-12-25
| | | | | | | | | | | | | | * doc/lispref/strings.texi (Creating Strings): Document it. * lisp/emacs-lisp/subr-x.el (string-limit): Allow limiting on encoded strings.
* | Remove `string-slice' -- it's not very well definedLars Ingebrigtsen2020-12-25
| | | | | | | | | | | | * doc/lispref/strings.texi (Creating Strings): Ditto. * lisp/emacs-lisp/subr-x.el (string-slice): Remove.
* | Update Gnulib.Philipp Stephani2020-12-24
| | | | | | | | | | All changes in this commit are autogenerated by running admin/merge-gnulib.
* | Re-order the items in `profiler-report' output.Alan Mackenzie2020-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Putting the usage figures first on the line will eliminate the truncation of function names. lisp/profiler.el (profiler-version): Change to "28.1". (profiler-format): Enhance, so that a width of zero means print the string without padding or truncation. (profiler-report-cpu-line-format, profiler-report-memory-line-format): Amend for the new layout. The number of places for the cpu samples has been reduced from 19 to 12 (enough for ~30 years at 1,000 samples per second). (profiler-report-line-format, profiler-report-describe-entry): Amend for the new order of arguments to profiler-format. etc/NEWS (Specialized Modes): Add an entry documenting this change. doc/lispref/debugging.texi (Profiling): Describe the new ordering of the items in place of the old ordering.
* | Make string-pad take an optional START parameterLars Ingebrigtsen2020-12-22
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-pad): Alter the calling convention.
* | Change the string-limit parameter semanticsLars Ingebrigtsen2020-12-22
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-limit): Alter the calling convention.
* | Add string-chop-newlineLars Ingebrigtsen2020-12-21
| | | | | | | | | | * doc/lispref/strings.texi (Creating Strings): Document it. * lisp/emacs-lisp/subr-x.el (string-chop-newline): Add new function.
* | Rename slice-string to string-sliceLars Ingebrigtsen2020-12-21
| | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-slice): Rename from slice-string. * doc/lispref/strings.texi (Creating Strings): Ditto.
* | Add `string-pad'Lars Ingebrigtsen2020-12-21
| | | | | | | | | | | | | | * doc/lispref/strings.texi (Creating Strings): Document it. * lisp/emacs-lisp/shortdoc.el (string): Add example. * lisp/emacs-lisp/subr-x.el (string-pad): New function.
* | Beef up the Emacs string utility set a bitLars Ingebrigtsen2020-12-21
| | | | | | | | | | | | | | | | | | * doc/lispref/strings.texi (Modifying Strings): Document them. * lisp/emacs-lisp/shortdoc.el (string): Add examples. * lisp/emacs-lisp/subr-x.el (string-clean-whitespace) (string-fill, string-limit, string-lines, slice-string): New functions.
* | Improve make-process in TrampMichael Albinus2020-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 grammar in recent change to internals.texiBasil L. Contovounesios2020-12-18
| |
* | ; Fix @pxref in last change to flymake.texiBasil L. Contovounesios2020-12-18
| |
* | Merge from origin/emacs-27Glenn Morris2020-12-18
|\| | | | | | | | | | | | | | | | | | | 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
| * Improve documentation of 'query-replace'Eli Zaretskii2020-12-16
| | | | | | | | | | * doc/emacs/search.texi (Query Replace): Add 'E' to the list of characters one can type at 'query-replace' prompt. (Bug#45273)
| * Update to Org 9.4.3Bastien Guerry2020-12-16
| | | | | | | | Fix #45259
* | Document that flymake-diag-region saves match dataJoão Távora2020-12-18
| | | | | | | | | | | | | | | | | | | | | | | | 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-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Give affixation-function higher priority over annotation-function (bug#45234)Juri Linkov2020-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/minibuf.texi (Completion Variables) (Programmed Completion): Describe precedence rules of affixation-function and annotation-function. * lisp/minibuffer.el (completion-metadata) (completion-extra-properties): Describe precedence rules of affixation-function and annotation-function. (minibuffer-completion-help): First try to apply affixation-function, if there is no such function, try annotation-function.
* | Merge from origin/emacs-27Glenn Morris2020-12-15
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-13
| |
* | * doc/lispref/errors.texi (Standard Errors): Fix xref.Glenn Morris2020-12-14
| | | | | | | | Though I am not sure "report a bug" is helpful.
* | * doc/emacs/indent.texi (Indent Convenience): Fix use of @xref.Glenn Morris2020-12-14
| |
* | Tiny fix for lispref/variables.texiGlenn Morris2020-12-14
| | | | | | | | | | | | * doc/lispref/variables.texi (Converting to Lexical Binding): @strong{Note...} produces a spurious cross-reference in Info; reword to avoid that.
* | Add 'remote-file-error' for TrampMichael Albinus2020-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/errors.texi (Standard Errors): Add 'remote-file-error'. * etc/NEWS: Mention 'remote-file-error'. * lisp/net/ange-ftp.el (ftp-error): Add error condition `remote-file-error'. * lisp/net/tramp-cmds.el (tramp-cleanup-all-connections): Do not set `tramp-locked'. * lisp/net/tramp-compat.el (remote-file-error): Define if it doesn't exist. * lisp/net/tramp-sh.el (tramp-timeout-session): Check for "locked" property. (tramp-maybe-open-connection): Simplify. * lisp/net/tramp.el (tramp-locked, tramp-locker): Remove them. (tramp-file-name-handler): Do not set them. (with-tramp-locked-connection): New defmacro. (tramp-accept-process-output, tramp-send-string): Use it. * src/fileio.c (Qremote_file_error): New error symbol. * test/lisp/net/tramp-tests.el (tramp-test43-asynchronous-requests): Adapt test. Remove :unstable tag.
* | Make XEmacs entry in the FAQ more contemporaryStefan Kangas2020-12-14
| | | | | | | | | | | | | | * 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)
* | Mention how to handle user names with @ in rmailRobert Thorpe2020-12-14
| | | | | | | | | | | | | | * doc/emacs/rmail.texi (Remote Mailboxes): Mention how to work around the problem with user names like foo@example.com (bug#16946). Copyright-paperwork-exempt: yes
* | Make goto-char offer the number at point as defaultDaniel Martín2020-12-14
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (read-natnum-interactive): New function to read natural numbers for interactive functions. * src/editfns.c (Fgoto_char): Call read-natnum-interactive from the interactive definition of goto-char to offer the number at point as default. Also expand the docstring to document this new interactive behavior. * doc/emacs/basic.texi (Moving Point): Expand the Emacs manual to document this new behavior. * etc/NEWS: And announce it (bug#45199).
* | Tool bar documentation clarification: Mention forcing updatesLars Ingebrigtsen2020-12-14
| | | | | | | | | | | | * doc/lispref/keymaps.texi (Tool Bar): Document that flipping the status of a tool bar item doesn't necessarily update the visuals (bug#42957).
* | Add a new recursively bound `current-minibuffer-command' variableLars Ingebrigtsen2020-12-14
| | | | | | | | | | | | | | | | | | | | * doc/lispref/commands.texi (Command Loop Info): Document it (bug#45177). * src/callint.c (Fcall_interactively): Bind it. * src/keyboard.c (syms_of_keyboard): Define current-minibuffer-command.