summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundants "See" before @xref or @pxref (Bug#35793)Mauro Aranda2019-05-2512-21/+21
| | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/control.texi (Control Structures): * doc/lispref/modes.texi (Search-based Fontification): * doc/misc/cc-mode.texi (Filling and Line Breaking Commands) (Auto-newline Insertion, Other Special Indentations): * doc/misc/dbus.texi (Errors and Events): * doc/misc/dired-x.texi (Find File At Point): * doc/misc/eudc.texi (Display of Query Results, Inline Query Expansion): * doc/misc/gnus-faq.texi (FAQ 3-11): * doc/misc/gnus.texi (Group Parameters, Posting Styles) (Spam Package Introduction): * doc/misc/org.texi (LaTeX fragments, Previewing LaTeX fragments): * doc/misc/reftex.texi (Commands): Remove redundant "See" before cross references. * doc/lispref/functions.texi (Function Safety): Redundant "see" is in ignored text, but remove it anyway. * doc/lispref/positions.texi (Skipping Characters): Remove redundant "See" before cross references. Change @xref to @pxref, which is more suitable when at the end of a sentence. Most of the redundants "See" found by Noam Postavsky.
* ; * src/coding.c: Improve commentary. (Bug#34765)Eli Zaretskii2019-05-231-7/+14
|
* Fix customization type of recentf-max-saved-itemsDario Gjorgjevski2019-05-231-1/+2
| | | | | | | Change the customization type of recentf-max-saved-items to include nil, as it is an allowed value (Bug#35771). * lisp/recentf.el (recentf-max-saved-items): Change the customization type in the defcustom.
* Fix a typo in ELisp manualTom Levy2019-05-221-1/+1
| | | | | | | * doc/lispref/sequences.texi (Sequence Functions): Fix a typo. (Bug#35817) Copyright-paperwork-exempt: yes
* Add option to disable help completion autoloading (Bug#28607)Noam Postavsky2019-05-214-4/+49
| | | | | | | | | * lisp/help-fns.el (help-enable-completion-auto-load): New option. (help--symbol-completion-table): Consult it. * doc/emacs/building.texi (Lisp Libraries): Document it. * etc/NEWS: Announce it. * doc/lispref/loading.texi (Autoload by Prefix): New section. (Autoload): Reference it.
* Don't segfault on force-window-update of deleted windowNoam Postavsky2019-05-201-1/+1
| | | | | * src/window.c (Fforce_window_update): Do nothing for deleted windows (Bug#35784).
* Fix typo in ELisp manualMauro Aranda2019-05-201-1/+1
| | | | | * doc/lispref/variables.texi (Directory Local Variables): Fix typo in dir-locals-set-class-variables description. (Bug#35799)
* Remove repeated function call in picture.elMauro Aranda2019-05-201-1/+0
| | | | | * lisp/textmodes/picture.el (picture-mode-map): Remove repeated define-key call. (Bug#35772)
* ; Fix mm-destroy-parts docstring typoBasil L. Contovounesios2019-05-201-1/+1
| | | | | * lisp/gnus/mm-decode.el (mm-destroy-parts): Fix typo in docstring copy-pasted from mm-remove-parts.
* Fix Hideshow key binding typo in Emacs manualBasil L. Contovounesios2019-05-191-1/+4
| | | | | * doc/emacs/programs.texi (Hideshow): Add missing function and key index entries. Fix hs-toggle-hiding binding typo. (bug#35798)
* Backport: Fix name of gnus-summary-sort-by-mark(s)Eric Abrahamsen2019-05-171-1/+1
| | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-sort-by-marks): Needs the "s", according to docs and keymap both. (bug#35765) (cherry picked from commit 13248f7444630508cfc3b78a07e8d96613af11c8)
* Remove from docs references to obsolete MULE variablesEli Zaretskii2019-05-172-10/+3
| | | | | | | * src/search.c (search_buffer): Remove obsolete text from a comment. * src/fns.c (Fstring_make_unibyte): Remove obsolete text from a doc string.
* Do potentially destructive operations in prepare-commit-msgKonstantin Kharlamov2019-05-162-1/+46
| | | | | | | * build-aux/git-hooks/prepare-commit-msg: If someone occasionally puts Signed-off line, it will likely get there through -s option of git. Exploit this fact to abort before a user got a chance to type commit message. (Bug#35368)
* Backport: fix broken build on m68kPaul Eggert2019-05-141-52/+25
| | | | | | | | | | | | | | The GCC + valgrind fix caused the m68k build to fail (Bug#35711). Simplify string allocation a bit to make similar problems less likely in the future. * src/alloc.c (sdata, SDATA_NBYTES, SDATA_DATA) [GC_CHECK_STRING_BYTES]: Use the same implementation as with !GC_CHECK_STRING_BYTES, as the special case is no longer needed. (SDATA_ALIGN): New constant. (SDATA_SIZE): Remove this macro, replacing with ... (sdata_size): ... this new function. All uses changed. Properly account for sizes and alignments even in the m68k case, and even if GC_CHECK_STRING_BYTES is not defined.
* Handle GNUTLS_E_AGAIN in emacs_gnutls_read (Bug#34341)Noam Postavsky2019-05-131-2/+9
| | | | | | | Don't merge to master, this has already been fixed there by 2019-01-15 "Fix unlikely races with GnuTLS, datagrams". * src/gnutls.c (emacs_gnutls_read): Similar to emacs_gnutls_write, when gnutls_record_recv returns GNUTLS_E_AGAIN set errno to EGAIN.
* Let dir locals for more specific modes override those from lessNeil Roberts2019-05-122-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | The list of dir local variables to apply is now sorted by the number of parent modes of the mode used as the key in the association list. That way when the variables are applied in order the variables from more specific modes will override those from less specific modes. If there are directory entries in the list then they are sorted in order of name length. The list of modes for that dir is then recursively sorted with the same mechanism. That way variables tied to a particular subdirectory override those in in a parent directory. Previously the behaviour didn’t seem to be well defined anyway and was dependent on the order they appeared in the file. However this order was changed in version 26.1 and it probably also depended on the number of dir-local files that are merged. Bug#33400 * lisp/files.el (dir-locals-get-sort-score, dir-locals-sort-variables) (dir-locals-read-from-dir): Sort the dir locals so that more precise modes and directory-specific entries have override lesser ones. * doc/emacs/custom.texi (Directory Variables): Document the priority.
* Improve documentation of Hexl modeEli Zaretskii2019-05-111-3/+12
| | | | | | * doc/emacs/misc.texi (Editing Binary Files): Clarify "insertion". Improve wording. Add a few Hexl commands. (Bug#35580)
* Fix description of (move-to-column <n> t) when column <n> is inside a tabAlan Mackenzie2019-05-092-6/+9
| | | | | | | | This fixes bug #35647. State that when indent-tabs-mode is non-nil, spaces are inserted before the tab rather than the tab being replaced by spaces. * doc/lispref/text.texi (columns) * src/indent.c (move-to-column): Make the above documentation amendment.
* ; Fix smtpmail-stream-type docstringNoam Postavsky2019-05-091-3/+3
| | | | | * lisp/mail/smtpmail.el (smtpmail-stream-type): Remove redundant docstring verbiage.
* Recognize single quote attribute values in nxml and sgml (Bug#35381)Noam Postavsky2019-05-093-20/+35
| | | | | | | | | * lisp/textmodes/sgml-mode.el (sgml-specials): Add single quote. (sgml-syntax-propertize-rules): Handle single quote. * test/lisp/nxml/nxml-mode-tests.el (nxml-mode-font-lock-quotes): New test. * test/lisp/textmodes/sgml-mode-tests.el (sgml-delete-tag-bug-8203-should-not-delete-apostrophe): Now passes.
* Disable extra display of &#10; in nxml-mode (Bug#32897)Noam Postavsky2019-05-091-1/+3
| | | | | * lisp/nxml/nxml-mode.el (nxml-char-ref-display-extra): Don't put display for the newline, it makes the indentation look wrong.
* Fix nxml-get-inside (Bug#32003)Noam Postavsky2019-05-092-22/+82
| | | | | | | | | | | | The change from 2016-01-16 "lisp/nxml: Use syntax-tables for comments" made nxml-get-inside return non-nil for any string or comment, including attribute strings. This caused incorrect and therefore indentation. * lisp/nxml/nxml-rap.el: Update commentary to reflect changes to nxml-mode parsing. (nxml-get-inside): Only return non-nil when inside comments and generic strings, not normal quote-delimited strings. * test/lisp/nxml/nxml-mode-tests.el: New tests.
* Fix positioning client buffer as instructed by emacsclientEli Zaretskii2019-05-081-1/+8
| | | | | | | * lisp/server.el (server-switch-buffer): Let-bind switch-to-buffer-preserve-window-point to nil when switching to the client buffer, when the client requested a specific position. (Bug#35602)
* * etc/package-keyring.gpg: Add the 2019 key (backport)Stefan Monnier2019-05-081-0/+0
|
* Fix incorrect cloning of eieio-instance-inheritor objects (Bug#34840)Vitalie Spinu2019-05-082-2/+51
| | | | | | * lisp/emacs-lisp/eieio-base.el (clone): Unbound slots of eieio-instance-inheritor objects as documented in the docs string and implemented in the original eieio implementation.
* Fix cloning of eieio-named objects (Bug#22840)Vitalie Spinu2019-05-072-11/+24
| | | | | * lisp/emacs-lisp/eieio-base.el (clone): Correctly set the name of the cloned objects from eieio-named instances.
* Fix ibuffer-unmark-backward synopsis (bug#35572)Basil L. Contovounesios2019-05-071-12/+11
| | | | | * lisp/ibuffer.el (ibuffer-mode): Fix synopsis of ibuffer-unmark-backward along with other minor copy-edits.
* ; * src/lisp.h (DEFSYM): Fix inaccurate comment.Eli Zaretskii2019-05-061-1/+1
|
* Clarify handling of long options (Bug#24949)Noam Postavsky2019-05-041-1/+1
| | | | | * doc/emacs/cmdargs.texi (Emacs Invocation): Note that space can be used instead of "=" only if an option requires an argument.
* Improve documentation of the daemon and emacsclientEli Zaretskii2019-05-042-7/+12
| | | | | | | * doc/emacs/misc.texi (emacsclient Options): * doc/emacs/cmdargs.texi (Initial Options): Document that using --daemon=NAME will need to specify the same NAME when invoking 'emacscilent'. (Bug#35547)
* * etc/NEWS.24: Belatedly announce delete-consecutive-dups.Noam Postavsky2019-05-011-0/+2
|
* ; Auto-commit of loaddefs files.Glenn Morris2019-05-011-6/+18
|
* * admin/update_autogen: Handle git worktree.Glenn Morris2019-05-011-1/+1
| | | | ; No need to merge to master.
* Update process filter example (Bug#35044)Noam Postavsky2019-04-301-1/+1
| | | | | | * doc/lispref/processes.texi (Filter Functions): Use insert-before-markers in the "ordinary" filter example, like internal-default-process-filter does.
* * src/macfont.m (macfont_shape): Use convenient LGLYPH_NEW.YAMAMOTO Mitsuharu2019-04-291-1/+1
|
* Recommend using font-lock-face over face (Bug#35044)Noam Postavsky2019-04-281-1/+6
| | | | | * doc/lispref/modes.texi (Precalculated Fontification): Explain advantages of using font-lock-face over face.
* Check if mouse_face_overlay was deleted (Bug#35273)Noam Postavsky2019-04-281-1/+3
| | | | | | * src/xdisp.c (note_mouse_highlight): Check if the mouse_face_overlay actually points to a buffer, before calling mouse_face_overlay_overlaps on it.
* Port to platforms where tputs is in libtinfowPaul Eggert2019-04-271-1/+2
| | | | | | * configure.ac (tputs_library): Also try tinfow, ncursesw (Bug#33977). (cherry picked from commit a3d52b3057c98bce581bc94912ef3ced6fad6f14)
* ; * doc/lispref/nonascii.texi (Coding System Basics): Fix grammar.Charles A. Roelli2019-04-261-1/+1
|
* ; Add missing space in custom.texiMichael Albinus2019-04-251-1/+1
|
* * admin/admin.el (set-version): Check for increase in version length,Glenn Morris2019-04-221-4/+4
| | | | rather than a .50 version.
* Be more careful about indent-sexp going over eol (Bug#35286)Noam Postavsky2019-04-222-8/+42
| | | | | | | | * lisp/emacs-lisp/lisp-mode.el (indent-sexp): Only go over multiple sexps if the end of line is within a sexp. * test/lisp/emacs-lisp/lisp-mode-tests.el (indent-sexp-stop-before-eol-comment) (indent-sexp-stop-before-eol-non-lisp): New tests.
* Backport: Improve pure and side-effect-free docsBasil L. Contovounesios2019-04-225-13/+25
| | | | | | | | | | | | | | | | | | For discussion, see thread starting at: https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg00316.html * doc/lispref/customize.texi (Composite Types): Do not overspecify :match-alternatives predicates. * doc/lispref/eval.texi (Intro Eval): Anchor definition of "side effect" for cross-referencing... * doc/lispref/functions.texi (What Is a Function): ...from here. Define what a pure function is. * doc/lispref/internals.texi (Writing Emacs Primitives): Describe currently preferred approach to marking primitives as pure and side-effect-free. * doc/lispref/symbols.texi (Standard Properties): Expand description of pure and side-effect-free properties. (cherry picked from commit 4430a9b54fca266e48d0eb8b72d83706910f10b8)
* Backport: Avoid using obsolete indent-relative-maybeBasil L. Contovounesios2019-04-223-8/+10
| | | | | | | | | | | | * lisp/electric.el (electric-indent-functions-without-reindent): * lisp/indent.el (indent-according-to-mode): Check for indent-relative-first-indent-point in addition to its obsolete alias indent-relative-maybe. * lisp/obsolete/vi.el (vi-com-map): Use indent-relative-first-indent-point in place of its obsolete alias indent-relative-maybe. (cherry picked from commit 0e468a620458fecd003c396050aa6deb722982c1)
* Avoid false positives and false negatives of Info-quoted faceMauro Aranda2019-04-211-1/+2
| | | | | | | * lisp/info.el (Info-mode-font-lock-keywords): Modify the regexp, for matching single quotes of opening single quote and closing single quote, and avoid matching text followed by a curly quote when it is not quoting. (Bug#35202)
* Fix markup related to quoting in InfoEli Zaretskii2019-04-214-9/+9
| | | | | | | | * doc/misc/sc.texi (Citations): Fix markup of '>'. * doc/misc/mh-e.texi (Speedbar): Fix markup in a @table. * doc/misc/calc.texi (Yacas Language Mode): Fix a typo. * doc/emacs/mark.texi (Setting Mark): Remove duplicate quoting. (Bug#35202)
* Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26Eli Zaretskii2019-04-217-15/+54
|\
| * Add a package: line to c-submit-bug-report.Glenn Morris2019-04-201-1/+19
| | | | | | | | | | * lisp/progmodes/cc-mode.el (c-submit-bug-report): Add a Package: line for mail clients that do not support X- headers.
| * ; Remove empty NEWS sectionsGlenn Morris2019-04-201-9/+0
| |
| * ; Add NEWS sections for 26.3Glenn Morris2019-04-201-0/+27
| |