aboutsummaryrefslogtreecommitdiffstats
path: root/doc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Backport doc improvement in ELisp manualEli Zaretskii2019-04-201-0/+20
| | | | | | | | | | | | | | | | | | * doc/lispref/processes.texi (Accepting Output): Backport: document how do avoid race conditions while waiting for all of the process's output to arrive.
* | | Fix Pike Mode's autodoc doc comments style's continued lines.Alan Mackenzie2019-04-201-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/cc-engine.el (c-forward-sws, c-backward-sws): Recognize matches of c-doc-line-join-re as syntactic whitespace. (c-find-decl-prefix-search): Recognize and move over matches of c-doc-line-join-re as whitespace. (c-find-decl-spots): Before moving backward a char, check (bobp). Before moving forward over a comment, check it isn't possibly a "bright" comment. * lisp/progmodes/cc-fonts.el (c-get-doc-comment-style): New function, extracted from c-compose-keywords-list. (c-compose-keywords-list): Call the above new function. (pike-font-lock-keywords, pike-font-lock-keywords-2) (pike-font-lock-keywords-3): Call c-set-doc-comment-res. (c-doc-line-join-re, c-doc-bright-comment-start-re, c-doc-line-join-end-ch): New variables. (c-set-doc-comment-re-element, c-set-doc-comment-char-list): New macros. (c-set-doc-comment-res): New function. (c-font-lock-doc-comments): For consistency and repeatability, in a sequence of C++ style doc comments, don't fontify the region between BOL and the comment marker. (autodoc-line-join-re, autodoc-bright-comment-start-re) (autodoc-line-join-end-ch): New variables. * lisp/progmodes/cc-mode.el (c-doc-fl-decl-start, c-doc-fl-decl-end): New functions. (c-change-expand-fl-region, c-context-expand-fl-region): Call the above two new functions for extra possibilities for the start and end of a construct. * doc/misc/cc-mode.texi (Doc Comments): Add a sentence drawing attention to the possibility of fontifying constructs within a doc comment.
* | | ; Minor improvement in documentation from recent commitEli Zaretskii2019-04-191-4/+5
| | | | | | | | | | | | | | | | | | * doc/lispref/processes.texi (Asynchronous Processes): Say explicitly that it's an error to pass non-nil value for :stopped when starting a process. (Bug#30460)
* | | Remove :stop key from make-process.Philipp Stephani2019-04-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has never worked and caused issues such as Bug#30460. * src/process.c (Fmake_process): Don't accept :stop key any more. (syms_of_process): Define needed symbol 'null'. * test/src/process-tests.el (make-process/stop): New unit test. * doc/lispref/processes.texi (Asynchronous Processes): Remove :stop key from manual.
* | | Update module documentation for bignum support.Philipp Stephani2019-04-181-6/+7
| | | | | | | | | | | | | | | * doc/lispref/internals.texi (Module Values): Update documentation for 'make_integer' and 'extract_integer' for bignum support.
* | | Merge from origin/emacs-26Glenn Morris2019-04-173-5/+19
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | a1c53d4 (origin/emacs-26) * admin/admin.el (make-manuals-dist--1): Up... d0f745f Document some compilation-mode faces 23ccba0 Mention the assignment form in "Copyright Assignment" 0f5568e Fix confusing wording in the user manual 70ec392 Fix the MSDOS build when running under CWSDPMI 7a608fc * lisp/progmodes/python.el: Be more careful about temp file r...
| * | Document some compilation-mode facesRobert Pluim2019-04-161-0/+14
| | | | | | | | | | | | | | | * doc/emacs/building.texi (Compilation Mode): Describe faces available to affect appearance of compilation-mode buffers.
| * | Mention the assignment form in "Copyright Assignment"Eli Zaretskii2019-04-161-3/+4
| | | | | | | | | | | | | | | | | | * doc/emacs/trouble.texi (Copyright Assignment): Mention the copyright assignment form explicitly. Suggested by Konstantin Kharlamov <hi-angel@yandex.ru>.
| * | Fix confusing wording in the user manualEli Zaretskii2019-04-161-2/+1
| | | | | | | | | | | | | | | * doc/emacs/maintaining.texi (VC Undo): Remove a potentially inaccurate, outdated, and/or confusing sentence. (Bug#35290)
* | | Merge from origin/emacs-26Glenn Morris2019-04-171-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | 266c622 Downcase charset 92f3459 Update for Emacs-26 beb4eac * doc/lispref/display.texi (Showing Images): Fix a typo. (Bu...
| * | * doc/lispref/display.texi (Showing Images): Fix a typo. (Bug#35240Eli Zaretskii2019-04-121-2/+2
| | |
* | | * doc/misc/tramp.texi: Fix direntry.Michael Albinus2019-04-151-4/+4
| | |
* | | Explain ad-hoc multi-hop in the Tramp Quick Start GuideMichael Albinus2019-04-141-0/+21
| | | | | | | | | | | | | | | * doc/misc/tramp.texi (Quick Start Guide): New section "Combining @option{ssh} or @option{plink} with @option{su} or @option{sudo}".
* | | Update from GnulibPaul Eggert2019-04-131-151/+297
| | | | | | | | | | | | | | | | | | | | | | | | This incorporates: 2019-04-07 Add copyright notices in several files * build-aux/config.sub, doc/misc/texinfo.tex, lib/_Noreturn.h: Copy from Gnulib. * lib/gnulib.mk.in: Regenerate.
* | | * doc/misc/tramp.texi: Fix minor glitches.Michael Albinus2019-04-131-13/+12
| | |
* | | Improve documentation of JSONRPCEli Zaretskii2019-04-131-43/+66
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (JSONRPC Overview) (Process-based JSONRPC connections) (JSONRPC JSON object format): Fix wording and markup. Add indexing.
* | | Improve documentation changes of a recent commitEli Zaretskii2019-04-131-5/+8
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (Parsing JSON): Improve wording of the documentation of 'json-parse-string' and 'json-parse-buffer'. * src/json.c (Fjson_parse_string, Fjson_parse_buffer): Doc fix. (Bug#34763)
* | | Add :array-type option to json-parse-stringDmitry Gutov2019-04-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/json.c (enum json_array_type): New type. (struct json_configuration): New field array_type. (json_parse_args): Rename the last argument. Handle the :array-type keyword argument (bug#32793). (Fjson_parse_string): Update the docstring accordingly. (json_to_lisp): Handle the case of :array-type being `list'. Add a call to 'rarely_quit' inside the loop. (syms_of_json): Define new symbols. (Fjson_serialize, Fjson_insert, Fjson_parse_string) (Fjson_parse_buffer): Update the config struct initializers.
* | | Merge from origin/emacs-26Glenn Morris2019-04-121-1/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | 818a68b * etc/HISTORY: Update for Emacs 26.2 release. e04aa5a ; ChangeLog.3 update 8297e97 * etc/AUTHORS: Update. 8582936 Improve documentation of 'read-command' dc81c05 ; * CONTRIBUTE: Mention where to ask for the copyright assign... b77723a Fix an outdated URL in a comment
| * | Improve documentation of 'read-command'Eli Zaretskii2019-04-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * src/minibuf.c (Fread_command): Document the return value when DEFAULT-VALUE is nil and the user enters nothing. * doc/lispref/minibuf.texi (High-Level Completion): Document the printed representation of a symbol whose name is empty. (Bug#3522)
| * | Backport: Update documentation for indent-relative functionsAlex Branham2019-04-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/indent.el (indent-relative): Document what happens when there is no previous nonblank line. * doc/lispref/text.texi (Relative Indent): Document indent-relative-first-indent-point instead of obsolete indent-relative-maybe. Fix documentation of which argument from 'indent-relative' is used. Bug#34858 (cherry picked from commit 10cd65878c741d2a22a1f2c36c54fcad4e516f72)
* | | Merge from origin/emacs-26Glenn Morris2019-04-121-1/+1
|\ \ \ | |/ / | | | | | | cb5a340 Update nxml-mode.texi: completion now gives xmlns="-!-"
| * | Update nxml-mode.texi: completion now gives xmlns="-!-"Noam Postavsky2019-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | | * doc/misc/nxml-mode.texi (Completion): As of 2016-01-16 "* lisp/nxml: Use standard completion; it also works for company-mode", completing an attribute when there is only one candidate inserts both quotes. Update the example accordingly.
* | | Merge from origin/emacs-26Glenn Morris2019-04-101-22/+30
|\ \ \ | |/ / | | | | | | | | | 5999401 (origin/emacs-26) Note that choose-completion-string-function... 8d2f1df Address name conflicts in EIEIO documentation (bug#31660)
| * | Address name conflicts in EIEIO documentation (bug#31660)Gemini Lasswell2019-04-091-22/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/eieio.texi (Quick Start): Rename the class used in the example from 'record' to 'person'. (Building Classes): Advise user to check for name conflicts before naming a class. Add a missing apostrophe. (Making New Objects): Correct grammar. Rename the class used in the example from 'record' to 'my-class'.
* | | Merge from origin/emacs-26Glenn Morris2019-04-101-49/+66
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a5da653 * src/editfns.c (Fnarrow_to_region): Doc fix. (Bug#35163) 646d33d Fix doc strings of 'vc-version-diff' and 'vc-version-ediff' a30a6c3 Improve documentation of set-window-start 92ce2dd Improve documentation of window parameters 6dc42c5 Improve commentary in frame.el a8cffcf Fix typo in a doc string 9e79f19 (emacs-26) ; * src/fontset.c (set-fontset-font): Use uppercas... # Conflicts: # lisp/vc/vc.el
| * | Improve documentation of set-window-startEli Zaretskii2019-04-061-7/+15
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Window Start and End): * src/window.c (Fset_window_start): Document that reliable setting of a window start position requires to adjust point to be visible. (Bug#34038)
| * | Improve documentation of window parametersEli Zaretskii2019-04-061-42/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Cyclic Window Ordering): Describe the effect of the 'other-window' window parameter. (Window Parameters): Improve the descriptions of window parameters. Move the detailed description of the 'quit-restore' window parameter from here... (Quitting Windows): ...to here. (Bug#35063)
* | | Fix typo in tramp.texiMichael Albinus2019-04-071-2/+2
| | | | | | | | | | | | | | | * doc/misc/tramp.texi (Change file name syntax) (Frequently Asked Questions): '.' or ',' must follow xref.
* | | * doc/misc/tramp.texi (Remote processes): '.' or ',' must follow xref.Glenn Morris2019-04-061-1/+1
| | |
* | | Update documentation for indent-relative functionsAlex Branham2019-04-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/indent.el (indent-relative): Document what happens when there is no previous nonblank line. * doc/lispref/text.texi (Relative Indent): Document indent-relative-first-indent-point instead of obsolete indent-relative-maybe. Fix documentation of which argument from 'indent-relative' is used. Bug#34858
* | | * doc/emacs/emacs.texi (Acknowledgments): Remove duplicate.Glenn Morris2019-04-051-1/+1
| | |
* | | Allow partial decompression (Bug#33133)Noam Postavsky2019-04-021-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | * src/decompress.c (Fzlib_decompress_region): Add optional ALLOW-PARTIAL parameter. * lisp/url/url-http.el (url-handle-content-transfer-encoding): Use it. * doc/lispref/text.texi (Decompression): Document it. * etc/NEWS: Announce it.
* | | Improve regexp advice again, and unchain rangesPaul Eggert2019-04-021-20/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/searching.texi (Regexp Special): Mention char classes earlier, in a more-logical place. Advise sticking to ASCII letters and digits in ranges. Reword negative advice to make it clearer that it’s negative. * lisp/files.el (make-auto-save-file-name): * lisp/gnus/message.el (message-mailer-swallows-blank-line): * lisp/gnus/nndoc.el (nndoc-lanl-gov-announce-type-p) (nndoc-generate-lanl-gov-head): * lisp/org/org-eshell.el (org-eshell-open): * lisp/org/org.el (org-deadline-time-hour-regexp) (org-scheduled-time-hour-regexp): * lisp/progmodes/bat-mode.el (bat-font-lock-keywords): * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): * lisp/textmodes/less-css-mode.el (less-css-font-lock-keywords): * lisp/vc/vc-cvs.el (vc-cvs-valid-symbolic-tag-name-p): * lisp/vc/vc-svn.el (vc-svn-valid-symbolic-tag-name-p): Avoid attempts to chain ranges, as this can be confusing. For example, instead of [0-9-_.], use [0-9_.-].
* | | Fix documentation of last changeEli Zaretskii2019-04-021-1/+5
| | | | | | | | | | | | | | | | | | * doc/misc/cl.texi (Structures): Document :noinline. * etc/NEWS: Mark the entry for :noinline as documented.
* | | Give example for configuration in tramp.texiMichael Albinus2019-04-021-0/+7
| | | | | | | | | | | | | | | * doc/misc/tramp.texi (Configuration): Explain how to call Tramp configuration functions in the init file.
* | | More regexp advice and clarificationsPaul Eggert2019-04-021-21/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/searching.texi (Regexp Special): Simplify style advice for order of ], ^, and - in character alternatives. Stick with saying that it’s not a good idea to put ‘-’ after a range. Remove the special case about raw 8-bit bytes and unibyte characters, as this documentation is confusing and seems to be incorrect in some cases. Say that z-a is the preferred style for reversed ranges, since it’s clearer and is typically what’s used in practice. Mention some bad styles: duplicates in character alternatives, ranges that denote <=3 characters, and ‘-’ as the first character.
* | | Merge from origin/emacs-26Paul Eggert2019-04-011-18/+34
|\ \ \ | |/ / | | | | | | | | | | | | | | | 0924b27bca Say which regexp ranges should be avoided # Conflicts: # doc/lispref/searching.texi
| * | Say which regexp ranges should be avoidedPaul Eggert2019-03-201-19/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/searching.texi (Regexp Special): Say that regular expressions like "[a-m-z]" and "[[:alpha:]-~]" should be avoided, for the same reason that regular expressions like "+" and "*" should be avoided: POSIX says their behavior is undefined, and they are confusing anyway. Also, explain better what happens when the bound of a range is a raw 8-bit byte; the old explanation appears to have been obsolete anyway. Finally, say that ranges like "[\u00FF-\xFF]" that mix non-ASCII characters and raw 8-bit bytes should be avoided, since it’s not clear what they should mean.
* | | Do not set indent-line-function in text-modeBasil L. Contovounesios2019-03-311-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | For discussion, see thread starting at: https://lists.gnu.org/archive/html/emacs-devel/2019-03/msg01012.html * lisp/textmodes/text-mode.el (text-mode): Do not reset indent-line-function to its global default value of indent-relative. * doc/lispref/modes.texi (Example Major Modes): * etc/NEWS: Document change accordingly.
* | | Use lexical-binding in text-mode.elBasil L. Contovounesios2019-03-311-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/text-mode.el: Use lexical-binding. (text-mode, paragraph-indent-minor-mode, text-mode-hook-identify): Use setq-local. (toggle-text-mode-auto-fill): Quote function symbols as such. (center-line): Minor simplification. * doc/lispref/modes.texi (Example Major Modes): Update code example for these changes to text-mode.
* | | Fix recently extended delete-indentation behaviorBasil L. Contovounesios2019-03-311-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (User-Level Deletion): Document new optional arguments of delete-indentation. * lisp/simple.el (delete-indentation): Do not barf if called interactively when region is inactive. (bug#35021) Do not skip blank lines. (bug#35036) Consistently deactivate mark even when no text was changed. Handle active region spanning a single line. * test/lisp/simple-tests.el (simple-test--buffer-substrings): New convenience function. (simple-test--dummy-buffer, simple-test--transpositions): Use it. (simple-delete-indentation-no-region) (simple-delete-indentation-inactive-region): Update commentary. Call delete-indentation interactively when testing for behavior with inactive region and region is not explicitly defined. (simple-delete-indentation-blank-line) (simple-delete-indentation-boundaries) (simple-delete-indentation-region) (simple-delete-indentation-prefix): New tests.
* | | Fix typo in regexp-opt example codeMattias Engdegård2019-03-311-2/+2
| | | | | | | | | | | | | | | * doc/lispref/searching.texi (Regexp Functions): Fix typo in example code (Bug#34596).
* | | Use connection-local setting for tramp-remote-pathMichael Albinus2019-03-271-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Remote programs): Mention connection-local settings for `tramp-remote-path'. * lisp/net/tramp-sh.el (tramp-get-remote-path): Expand connection-local variables.
* | | Update from Gnulib.Paul Eggert2019-03-251-223/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This incorporates: 2019-03-23 Support cross-compilation to musl libc 2019-03-23 noreturn: In C++ mode with clang, use _Noreturn as fallback 2019-03-22 _Noreturn: beware of C's _Noreturn in C++ pre C++11 2019-03-19 Help making signal handlers more reliable 2019-03-18 _Noreturn: clang and MSVC do support [[noreturn]] in C++11 2019-03-17 _Noreturn: GCC 4.7 does not support [[noreturn]] in C++11 2019-03-14 all: Update URLs to msdn.microsoft.com * doc/misc/texinfo.tex, lib/_Noreturn.h, lib/gettimeofday.c: * lib/mktime.c, lib/regcomp.c, lib/regexec.c, lib/stat-time.h: * lib/utimens.c, m4/fdopendir.m4, m4/getgroups.m4: * m4/gettimeofday.m4, m4/gnulib-common.m4, m4/putenv.m4, m4/utimes.m4: Update from gnulib.
* | | Fix non_local_exit_get signature in Elisp manualBasil L. Contovounesios2019-03-251-1/+1
| | | | | | | | | | | | | | | * doc/lispref/internals.texi (Module Nonlocal): Fix typo in return type of non_local_exit_get.
* | | Minor fixes for the last changeEli Zaretskii2019-03-221-3/+3
| | | | | | | | | | | | | | | | | | * lisp/simple.el (delete-indentation): * doc/emacs/indent.texi (Indentation Commands): * etc/NEWS: Fix last change. (Bug#34796)
* | | If the region is active, join all the lines it spansŁukasz Stelmach2019-03-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/simple.el (delete-indentation): Join lines in the active region. (Bug#34796) * doc/misc/org.texi: Describe the arguments of delete-indentation. * etc/NEWS: Mention region support in delete-indentation.
* | | Fix misuses of NULL when talking about the NUL characterStefan Monnier2019-03-213-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (inhibit-null-byte-detection): Make it an obsolete alias. * src/coding.c (setup_coding_system): Use new name. (detect_coding): Rename null_byte_found => nul_byte_found. (detect_coding_system): Use new name. Rename null_byte_found => nul_byte_found. (Fdefine_coding_system_internal): Use new name. (syms_of_coding): Rename inhibit-null-byte-detection to inhibit-nul-byte-detection. * src/w16select.c (get_clipboard_data): null_char => nul_char. * src/json.c (check_string_without_embedded_nuls): Rename from check_string_without_embedded_nulls. (Fjson_parse_string): Adjust accordingly. * src/coding.h (enum define_coding_undecided_arg_index) (enum coding_attr_index): ...null_byte... => ...nul_byte.... * lisp/info.el (info-insert-file-contents, Info-insert-dir): * lisp/international/mule.el (define-coding-system): * lisp/vc/vc-git.el (vc-git--call): * doc/lispref/nonascii.texi (Lisp and Coding Systems): Use the new name.
* | | New seq-contains-p predicate (Bug#34852)Nicolas Petton2019-03-211-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/seq.el (seq-contains-p): New predicate function. It is a replacement for seq-contains which cannot be used as a predicate when a sequence contains nil values as it returns the element found. (seq-contains): Make obsolete. * test/lisp/emacs-lisp/seq-tests.el (test-seq-contains-p): (test-seq-intersection-with-nil, test-seq-set-equal-p-with-nil, test-difference-with-nil): Add regression tests. * doc/lispref/sequences.texi (Sequence Functions): Document seq-contains-p.