summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Minor copyedits in efaq-w32Eli Zaretskii2019-06-081-2/+4
| | | | | | * doc/misc/efaq-w32.texi (Grep, Recursive grep): More accurate description of using 'findstr' as a poor-man's replacement for 'grep'. Reported by 范凯 <m_pupil@163.com>
* Tiny improvement of documentation of major mode conventionsEli Zaretskii2019-06-081-1/+3
| | | | | | * doc/lispref/modes.texi (Major Mode Conventions): More accurate advice regarding customization of 'C-M-a' by major modes.
* * nt/addpm.c (main): Fix buffer overflowJuanma Barranquero2019-06-081-2/+3
|
* Resurrect display-line-number-mode in client framesEli Zaretskii2019-06-072-3/+5
| | | | | | | * lisp/linum.el (linum-on): Mention bug#35726 in a comment. * lisp/display-line-numbers.el (display-line-numbers--turn-on): Don't check for daemon. (Bug#35726)
* * src/fns.c (Fmapconcat): Doc fix. (Bug#35710)Eli Zaretskii2019-06-071-2/+6
|
* Fix typoPhillip Lord2019-06-071-1/+1
| | | | * nt/README.W32:
* * lisp/term/w32-win.el ([noname]): Bind to 'ignore'. (Bug#36083)Eli Zaretskii2019-06-061-0/+9
|
* Fix styling of Unicode codepoints in manualsEli Zaretskii2019-06-055-27/+29
| | | | | | | | | | * doc/lispref/nonascii.texi (Character Properties): * doc/lispref/display.texi (Glyphless Chars) (Bidirectional Display): * doc/emacs/search.texi (Lax Search): * doc/emacs/text.texi (Quotation Marks): * doc/emacs/basic.texi (Inserting Text): Canonicalize the style of "U+NNNN CHARACTER NAME". (Bug#35885)
* Fix a few uses of quotes in user manualEli Zaretskii2019-06-043-8/+8
| | | | | | | * doc/emacs/text.texi (Quotation Marks): * doc/emacs/display.texi (Text Display): * doc/emacs/basic.texi (Inserting Text): Fix some more quotes. (Bug#35885)
* More minor copyedits in the Emacs manualEli Zaretskii2019-06-034-17/+18
| | | | | | | | * doc/emacs/basic.texi (Arguments): * doc/emacs/display.texi (Recentering, Text Display): * doc/emacs/regs.texi (Text Registers, Rectangle Registers): * doc/emacs/mark.texi (Disabled Transient Mark): Fix inaccuracies and typos. (Bug#35885)
* Fix minor issues in the Emacs manualEli Zaretskii2019-06-032-5/+4
| | | | | | | * doc/emacs/search.texi (Regexp Replace, Regexps): * doc/emacs/kmacro.texi (Keyboard Macro Query) (Save Keyboard Macro): Fix inaccuracies and typos. (Bug#35885)
* Try to improve text on atomic windows in Elisp manualMartin Rudalics2019-06-031-34/+49
| | | | | | | | | * doc/lispref/windows.texi (Deleting Windows): Mention how 'delete-window' and 'delete-other-windows' handle atomic windows. Minor rewrite. (Quitting Windows): Mention how 'quit-restore-window' handles atomic windows and that it tries to avoid raising an error. (Atomic Windows): Tell how to dissolve atomic windows.
* Don't recommend insert-before-markers in process filtersNoam Postavsky2019-06-011-2/+7
| | | | | | | | See <https://lists.gnu.org/r/emacs-devel/2019-05/msg00062.html> and Bug#35334. * doc/lispref/processes.texi (Filter Functions): Go back to using plain insert in the example filter. Add note about updating window point.
* Disable byte-compile-cond-use-jump-table (Bug#35770)Noam Postavsky2019-06-011-2/+2
| | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-use-jump-table): Set to nil by default. Don't merge to master, the bug is already fixed there.
* Allow macros autoloaded as functions during bytecomp (Bug#36022)Noam Postavsky2019-06-011-1/+3
| | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Don't pass symbols which don't have a known definition to byte-compile--function-signature, it fails to compile code which previously compiled successfully (for example, gnus.el until 2019-06-01 "* lisp/gnus/gnus.el: Mark autoloaded macros as such" which autoloads some macros as if they were functions).
* * lisp/gnus/gnus.el: Mark autoloaded macros as such.Glenn Morris2019-06-011-5/+5
| | | | This avoids a build failure.
* Speed up redisplay of HELLOEli Zaretskii2019-06-012-0/+2
| | | | | | | | | * etc/HELLO: Set 'inhibit-compacting-font-caches' non-nil locally. (Bug#36032) * lisp/files.el: Add 'inhibit-compacting-font-caches' to the list of built-in variables for which we set up 'safe-local-variable' properties.
* Improve documentation of 'safe-local-variable' propertyEli Zaretskii2019-06-011-0/+5
| | | | | | * doc/lispref/variables.texi (File Local Variables): Document how to define 'safe-local-variable' properties for built-in variables.
* * lisp/emacs-lisp/package.el: Obey buffer-file-coding-system (bug#35739)Stefan Monnier2019-05-311-9/+27
| | | | | | | | | | | | | | | | `url-insert-file-contents` saves in buffer-file-coding-system the coding-system used to decode the contents. Preserve this as the contents is moved from buffer to string to buffer, and use it when saving the contents to file, so as to try and better preserve the original byte sequence. (package--buffer-string, package--cs): New functions. (package--check-signature): Encode `string` if a coding-system was specified in buffer-file-coding-system. (package--download-one-archive, package-install-from-archive): Obey and preserve the buffer-file-coding-system if specified. Do not merge.
* Warn about wrong number of args for subrs (Bug#35767)Noam Postavsky2019-05-302-1/+15
| | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Don't assume byte-compile-fdefinition will return non-nil. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-warn-wrong-args) (bytecomp-warn-wrong-args-subr): New tests.
* Use plain symbols for eieio type descriptors (Bug#29220)Noam Postavsky2019-05-303-10/+32
| | | | | | | | | | | | | | | | | | | | | | | | Since Emacs 26, eieio objects use a class record (with circular references) as the type descriptor of the object record. This causes problems when reading back an object from a string, because the class record is not `eq' to the canonical one (which means that read objects don't satisfy the foo-p predicate). * lisp/emacs-lisp/eieio.el (make-instance): As a (partial) fix, set the record's type descriptor to a plain symbol for the type descriptor when eieio-backward-compatibility is non-nil (the default). * lisp/emacs-lisp/eieio-core.el (eieio--object-class): Call eieio--class-object on the type tag when eieio-backward-compatibility is non-nil. (eieio-object-p): Use eieio--object-class instead of eieio--object-class-tag. * test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el (eieio-test-persist-hash-and-vector) (eieio-test-persist-interior-lists): Make into functions. (eieio-persist-hash-and-vector-backward-compatibility) (eieio-persist-hash-and-vector-no-backward-compatibility) (eieio-test-persist-interior-lists-backward-compatibility) (eieio-test-persist-interior-lists-no-backward-compatibility): New tests which call them, eieio-backward-compatibility let-bound.
* Pacify GCC 9 -Wredundant-declsPaul Eggert2019-05-301-8/+1
| | | | | | | | * src/gmalloc.c (_fraghead) [!HYBRID_MALLOC]: Make it static in this case, too. This avoids having both ‘extern struct list _fraghead[];’ and ‘static struct list _fraghead[BLOCKLOG];’, which GCC 9 complains about.
* Pacify librsvg 2.45.1 and laterPaul Eggert2019-05-301-0/+15
| | | | | | * src/image.c (svg_load_image): Pacify librsvg 2.45.1 and later, and add a FIXME comment about the deprecated librsvg functions. Backport from master.
* Simplify xd_signature to pacify GCC 9Paul Eggert2019-05-301-5/+3
| | | | | | * src/dbusbind.c (xd_signature): Use simpler way to set up the subsignature. This also pacifies GCC 9 on Fedora 30 x86-64. Backport from master.
* Pacify GCC when compiling unexelf.c on Fedora 30Paul Eggert2019-05-301-0/+1
| | | | * src/unexelf.c (unexec): Pacify GCC 9.
* Suppress GCC 9 “no longer supported” messagesPaul Eggert2019-05-301-2/+1
| | | | | | | * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Remove -Wchkp. This suppresses a boatload of warnings of the form “gcc: warning: switch ‘-Wchkp’ is no longer supported”. when using GCC 9. Do not merge to master.
* Fix docstring of bookmark-get-bookmarkStefan Kangas2019-05-301-2/+3
| | | | | * lisp/bookmark.el (bookmark-get-bookmark): Document optional argument NOERROR. (bug#20148)
* Avoid infloop in read-multiple-choice (Bug#32257)Noam Postavsky2019-05-261-2/+7
| | | | | | | | * lisp/emacs-lisp/rmc.el (read-multiple-choice): When `read-char' signals an error "Non-character input-event", call `read-event' to take the non-character event out of the queue. Don't merge to master, we just use `read-event' directly there, rather than this solution which relies a particular error message.
* ; * doc/lispref/nonascii.texi (Explicit Encoding): Fix typo.Noam Postavsky2019-05-261-1/+1
|
* Improve documentation of decoding into a unibyte bufferEli Zaretskii2019-05-252-4/+12
| | | | | | | | | * doc/lispref/nonascii.texi (Explicit Encoding): Document what happens when DESTINATION of decoding is a unibyte buffer. * src/coding.c (Fdecode_coding_region) (Fdecode_coding_string): Document what happens if DESTINATION is a unibyte buffer.
* 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.