summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | ; Merge from origin/emacs-26Glenn Morris2019-07-060-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: dc5ed2c (emacs-26) ; Auto-commit of loaddefs files.
| * ; Auto-commit of loaddefs files.Glenn Morris2019-07-011-15/+5
| |
* | Merge from origin/emacs-26Glenn Morris2019-07-064-37/+44
|\ \ | |/ | | | | | | | | | | | | 316f5a3 Fix typo in doc string of file-exists-p (bug#36408) bfc7c6e * test/lisp/url/url-file-tests.el (url-file): Fix for POSIX f... 13b95e1 Fix typo in windows.texi 8b775c3 Clarify & update (elisp) Writing Emacs Primitives 7648c12 Clarify a subtle issue in the Internals chapter of lispref
| * Fix typo in doc string of file-exists-p (bug#36408)Stefan Kangas2019-06-291-1/+1
| | | | | | | | * src/fileio.c (Ffile_exists_p): Fix typo in doc string.
| * * test/lisp/url/url-file-tests.el (url-file): Fix for POSIX filenames.Juanma Barranquero2019-06-281-2/+3
| |
| * Fix typo in windows.texiStefan Kangas2019-06-281-1/+1
| | | | | | | | * doc/lispref/windows.texi (Window History): Fix typo. (Bug#36412)
| * Clarify & update (elisp) Writing Emacs PrimitivesBasil L. Contovounesios2019-06-261-29/+31
| | | | | | | | | | | | | | * doc/lispref/internals.texi (Writing Emacs Primitives): Update some of the sample code listings, fixing argument lists and parentheses. Replace ... with @dots{}. Describe UNEVALLED special forms as taking a single argument. (bug#36392)
| * Clarify a subtle issue in the Internals chapter of lisprefEli Zaretskii2019-06-261-4/+8
| | | | | | | | | | | | * doc/lispref/internals.texi (Writing Emacs Primitives): Clarify the issue with relocation of buffer or string text as side effect of Lisp evaluation. (Bug#36392)
* | * lisp/dom.el (dom-texts): Simplify (Bug#36441).Xu Chunyang2019-07-061-11/+9
| |
* | Use buffer's name for help-mode bookmarks (Bug#24573)Noam Postavsky2019-07-061-1/+3
| | | | | | | | | | | | * lisp/help-mode.el (help-bookmark-make-record): Replace buffer objects with their names in help-args, otherwise the bookmark won't be readable from the bookmark save file.
* | Add commentary about #$ in autoload filesNoam Postavsky2019-07-061-2/+6
| | | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload-rubric): Add commentary about `#$' trick.
* | Fix indentation of default clocking definitions.Wilson Snyder2019-07-061-2/+7
| | | | | | | | | | * verilog-mode.el (verilog-default-clocking-re): Fix indentation of default clocking definitions, Verilog-Mode bug1457. Reported by Paul Donahue.
* | Backout replacing manually crafted hex regexes with [:xdigit:].Wilson Snyder2019-07-061-4/+4
| | | | | | | | | | | | | | | | | | * lisp/progmodes/verilog-mode.el (verilog-delay-re): (verilog-type-font-keywords, verilog-read-always-signals-recurse): (verilog-is-number): Backout replacing manually crafted hex regexes with [:xdigit:] (Bug#36167). This repairs Verilog-mode regressions; Verilog-mode maintains back-compatibility with Emacsen before this syntax was supported.
* | Update current buffer when changing text propertiesPip Cet2019-07-062-1/+67
| | | | | | | | | | | | | | | | | | * src/textprop.c (add_text_properties_1, set_text_properties) (set_text_properties_1, Fremove_text_properties): Switch buffer if necessary. (Bug#36190) * doc/lispref/text.texi (Examining Properties): Document performance FIXME.
* | Update from GnulibPaul Eggert2019-07-069-33/+45
| | | | | | | | | | | | | | | | | | | | | | | | This incorporates: 2019-07-06 thread, lock, cond, tls: Remove support for Pth threads 2019-07-02 verify: document ‘assume’ better 2019-06-30 Include <stdlib.h> when needed 2019-06-30 inet_ntop, inet_pton: Avoid conflict with native Windows * build-aux/config.sub, lib/faccessat.c, lib/fcntl.c, lib/fstatat.c: * lib/readlinkat.c, lib/verify.h, m4/pthread_sigmask.m4: * m4/sys_socket_h.m4: Copy from Gnulib. * lib/gnulib.mk.in: Regenerate.
* | Fix [[:xdigit:]] glitch on SolarisPaul Eggert2019-07-061-1/+1
| | | | | | | | | | * admin/charsets/mapconv: Revert this [[:xdigit:]] change. Solaris 10 ‘sed’ does not support [[:xdigit:]].
* | Tweak point movement in view-echo-area-messagesDrew Adams2019-07-061-3/+7
| | | | | | | | | | | | * lisp/help.el (view-echo-area-messages): Move the point to the end of the *Messages* buffer even if it's already displayed (bug#36343).
* | Remove outdated comment in uniquify.elStefan Kangas2019-07-061-3/+0
| | | | | | | | | | * lisp/uniquify.el: Remove outdated comment regarding some ancient version of uniquify.el (bug#36384).
* | Improve an error message in bookmark.elStefan Kangas2019-07-061-1/+3
| | | | | | | | | | * lisp/bookmark.el (bookmark-alist-from-buffer): Improve error message (bug#36391).
* | Improve Gnus ephemeral bug group browsingBasil L. Contovounesios2019-07-062-72/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Foreign Groups): Update description of gnus-read-ephemeral-emacs-bug-group for multiple bug IDs (bug#11961). * lisp/gnus/gnus-group.el (gnus-bug-group-download-format-alist): Use HTTPS for Debian's bug tracker. (gnus-group--read-bug-ids): New function for reading multiple bug IDs in the minibuffer. Improves on previous brittle approach of word-at-point -> read-string -> string-to-number by a) defaulting to the more accurate bug-reference-bug-regexp or number-at-point without using the intrusive INITIAL-INPUT argument, and b) not attempting to parse bug IDs. (gnus-read-ephemeral-bug-group): Use it. Extend docstring and commentary. Fix handling of multiple bug IDs as either numbers or strings. Hoist some string consing out of inner loop. Delete temporary file even on error. Throw more informative error when url-insert-file-contents successfully returns an error (bug#36433). (gnus-read-ephemeral-debian-bug-group): Use gnus-group--read-bug-ids and fix docstring for multiple bug IDs. Accept optional WINDOW-CONF like other ephemeral bug group commands. (gnus-read-ephemeral-emacs-bug-group): Use gnus-group--read-bug-ids and fix string/numeric ID conversions. Try loading debbugs-gnu before testing for debbugs-gnu-summary-mode (bug#36433).
* | Add tests for text-property-search to check prop-match-valueStefan Kangas2019-07-061-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/emacs-lisp/text-property-search-tests.el (with-match-test): New macro. (text-property-search-forward-prop-match-match-face-nil-nil) (text-property-search-forward-prop-match-match-face-bold-t) (text-property-search-forward-prop-match-match-face-bold-nil) (text-property-search-backward-prop-match-match-face-nil-nil) (text-property-search-backward-prop-match-match-face-italic-t) (text-property-search-backward-prop-match-match-face-italic-nil): Add test cases to also verify the value of prop-match-value (bug#36486).
* | Improve the default value of 'doc-view-ghostscript-program'Eli Zaretskii2019-07-061-2/+8
| | | | | | | | | | * lisp/doc-view.el (doc-view-ghostscript-program): Make the default value dependent on the underlying OS. (Bug#36357)
* | Make "M-x pdb" use "[:graph:]" to match file namesStefan Kangas2019-07-061-1/+5
| | | | | | | | | | * lisp/progmodes/gud.el (gud-pdb-marker-regexp): Use "[:graph:]" to match file name in prompt. (Bug#34489)
* | * lisp/net/goto-addr.el: Remove leftover XEmacs compat code. (Bug#36512)Stefan Kangas2019-07-061-10/+0
| |
* | * lisp/bookmark.el (bookmark-set-internal): Doc fix. (Bug#25032)Stefan Kangas2019-07-061-12/+17
| |
* | * lisp/bookmark.el (bookmark-quit-flag): Mark unused variable obsolete.Stefan Kangas2019-07-061-0/+2
| | | | | | | | (Bug#36460)
* | Prefer progress-reporter to 'message' in bookmark.elStefan Kangas2019-07-061-12/+10
| | | | | | | | | | | | * lisp/bookmark.el (bookmark-upgrade-file-format-from-0) (bookmark-bmenu-execute-deletions): Use progress-reporter. (Bug#36462)
* | Replace manually crafted hex regexes with [:xdigit:]Konstantin Kharlamov2019-07-0641-95/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/charsets/mapconv: * build-aux/gitlog-to-changelog (parse_amend_file, git_dir_option): * lisp/progmodes/verilog-mode.el (verilog-delay-re): (verilog-type-font-keywords, verilog-read-always-signals-recurse): (verilog-is-number): * lisp/progmodes/vera-mode.el (vera-font-lock-keywords): * test/src/emacs-module-tests.el (mod-test-sum-test): * lisp/xml.el: (xml--entity-replacement-text): * lisp/version.el (emacs-repository-version-git): * lisp/textmodes/sgml-mode.el (sgml-quote): * lisp/textmodes/css-mode.el (css-escapes-re) (css--colors-regexp): * lisp/progmodes/prolog.el (prolog-syntax-propertize-function): * lisp/progmodes/hideif.el (hif-token-regexp, hif-tokenize): * lisp/progmodes/ebnf-dtd.el: (ebnf-dtd-attlistdecl) (ebnf-dtd-entitydecl, ebnf-dtd-lex): * lisp/progmodes/ebnf-ebx.el (ebnf-ebx-hex-character): * lisp/progmodes/ebnf-abn.el (ebnf-abn-character): * lisp/progmodes/cperl-mode.el (cperl-highlight-charclass) (cperl-find-pods-heres): * lisp/progmodes/cc-mode.el (c-maybe-quoted-number-head) (c-maybe-quoted-number, c-parse-quotes-before-change) (c-parse-quotes-after-change, c-quoted-number-head-before-point) (c-quoted-number-straddling-point): * lisp/progmodes/ada-mode.el (featurep, ada-in-numeric-literal-p) (ada-font-lock-keywords): * lisp/org/org-mobile.el (org-mobile-copy-agenda-files) * lisp/org/org-table.el (org-table-number-regexp): (org-mobile-update-checksum-for-capture-file): * lisp/nxml/xsd-regexp.el (xsdre-gen-categories): * lisp/nxml/xmltok.el (let*): * lisp/nxml/rng-xsd.el (rng-xsd-convert-hex-binary) (rng-xsd-convert-any-uri): * lisp/nxml/rng-uri.el (rng-uri-file-name-1) (rng-uri-unescape-multibyte, rng-uri-unescape-unibyte) (rng-uri-unescape-unibyte-match) (rng-uri-unescape-unibyte-replace): * lisp/nxml/rng-cmpct.el (rng-c-process-escapes): * lisp/nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set): * lisp/net/shr-color.el (shr-color->hexadecimal): * lisp/mail/rfc2231.el (rfc2231-decode-encoded-string): * lisp/international/mule-cmds.el (read-char-by-name): * lisp/htmlfontify.el (hfy-hex-regex): * lisp/gnus/nneething.el (nneething-decode-file-name): * lisp/gnus/mml-sec.el (mml-secure-find-usable-keys): * lisp/gnus/gnus-art.el (gnus-button-mid-or-mail-heuristic-alist): * lisp/faces.el (read-color): * lisp/epg.el (epg--status-ERRSIG, epg--status-VALIDSIG) (epg--status-SIG_CREATED, epg--decode-percent-escape) (epg--decode-hexstring, epg--decode-quotedstring) (epg-dn-from-string): * lisp/emulation/cua-rect.el (cua-incr-rectangle): * lisp/dnd.el (dnd-unescape-uri): * lisp/cedet/semantic/lex.el (semantic-lex-number-expression): * lisp/cedet/semantic/java.el (semantic-java-number-regexp): * lisp/calc/calc-lang.el (pascal): * lisp/calc/calc-ext.el (math-read-number-fancy): * lisp/calc/calc-aent.el (math-read-token): Replace various combinations of [0-9a-fA-F] with [[:xdigit:]]. (Bug#36167)
* | Add HarfBuzz fallbacks for libotf functions used in ftfont_listYAMAMOTO Mitsuharu2019-07-061-3/+100
| | | | | | | | | | | | | | | | | | | | * src/ftfont.c [!HAVE_LIBOTF && HAVE_HARFBUZZ]: Include hb-ot.h. (OTF, OTF_tag) [!HAVE_LIBOTF && HAVE_HARFBUZZ]: New typedefs. (hbotf_open, hbotf_check_features) [!HAVE_LIBOTF && HAVE_HARFBUZZ]: New functions. (OTF_open, OTF_close, OTF_check_features) [!HAVE_LIBOTF && HAVE_HARFBUZZ]: New macros. (ftfont_list) [!HAVE_LIBOTF && HAVE_HARFBUZZ]: Use them.
* | Avoid crash inside CFCharacterSetIsLongCharacterMemberYAMAMOTO Mitsuharu2019-07-061-1/+4
| | | | | | | | | | | | * src/macfont.m (macfont_supports_charset_and_languages_p) (macfont_has_char): Don't pass integers outside the Unicode codespace to CFCharacterSetIsLongCharacterMember.
* | * lisp/replace.el (replace-highlight): Add save-match-data (bug#36328)Juri Linkov2019-07-052-2/+6
| | | | | | | | | | | | | | * lisp/term/tty-colors.el (tty-color-canonicalize): Replace string-match with string-match-p. Thanks to Jayden Navarro <jayden@yugabyte.com> and Alan Mackenzie <acm@muc.de>
* | * lisp/minibuffer.el (minibuffer-message-properties): New variable.Juri Linkov2019-07-053-6/+18
| | | | | | | | | | | | | | | | | | | | | | (minibuffer-message): Use it to propertize message unless already propertized by the caller. * lisp/simple.el (minibuffer-error-function): Propertize the error. * lisp/isearch.el (isearch-message-properties): New variable. (isearch--momentary-message, isearch-message-prefix) (isearch-message-suffix): Use it. (Bug#21112)
* | * lisp/char-fold.el (char-fold-to-regexp): Implement arg LAX (bug#36398).Juri Linkov2019-07-042-27/+45
| | | | | | | | * test/lisp/char-fold-tests.el (char-fold--test-multi-lax): New test.
* | ; * lisp/net/shr.el (shr-selected-link): Doc fix.Basil L. Contovounesios2019-07-041-1/+3
| |
* | Optimise more inputs to `regexp-opt' (bug#36444)Mattias Engdegård2019-07-042-25/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a more precise test to determine whether the input to `regexp-opt' is safe to optimise when KEEP-ORDER is non-nil, permitting more inputs to be optimised than before. For example, ("good" "goal" "go") is now accepted. * lisp/emacs-lisp/regexp-opt.el (regexp-opt): More precise test for whether the list is safe w.r.t. KEEP-ORDER. (regexp-opt--contains-prefix): Remove. * test/lisp/emacs-lisp/regexp-opt-tests.el: Use lexical-binding. (regexp-opt-test--permutation, regexp-opt-test--factorial) (regexp-opt-test--permutations, regexp-opt-test--match-all) (regexp-opt-test--check-perm, regexp-opt-test--explain-perm) (regexp-opt-keep-order): Test KEEP-ORDER.
* | * src/coding.c (decode_coding): Improve doc.Stefan Monnier2019-07-041-3/+7
| |
* | In Message, respect Content-Type provided by the userLars Ingebrigtsen2019-07-041-0/+8
| | | | | | | | | | * lisp/gnus/mml.el (mml-parse-1): Respect any Content-Type inserted by the user instead of insisting on text/plain.
* | Fix an infinite loop in c-end-of-macro. Should fix bug #36484Alan Mackenzie2019-07-043-35/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix two faulty regexps, save-match-data, and check c-major-mode-is 'c++-mode where needed. * lis/progmodes/cc-langs.el (c-last-c-comment-end-on-line-re) (c-last-open-c-comment-start-on-line-re): Handle repeated *s in regexp correctly. * lisp/progmodes/cc-engine.el (c-beginning-of-macro, c-end-of-macro): Protect the match-data with save-match-data around regexp operations. (c-end-of-macro): In the loop handling multiline block comments, check a comment actually is multiline. * lisp/progmodes/cc-mode.el (c-depropertize-CPP): Only call c-depropertize-raw-strings-in-region in C++ Mode.
* | Fix Flymake's user-visible accessors of diagnostic positionsJoão Távora2019-07-041-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Diagnostics are supported by overlays, and they can legitimately move around. So flymake-diagnostic-beg and flymake-diagnostic-end must look up the overlay positions, not the immutable slots of the flymake--diag structure, which become stale. * lisp/progmodes/flymake.el (version): Bump to 1.0.8. (flymake-diagnostic-beg, flymake-diagnostic-end): Use diag's overlay. (flymake-show-diagnostic): Use flymake-diagnostic-end, flymake-diagnostic-beg.
* | Fix Flymake's treatment of region-specific reportsJoão Távora2019-07-041-4/+15
| | | | | | | | | | | | | | | | | | We're supposed to delete intersecting diagnostics in that situation, but the intersection logic was way off. * lisp/progmodes/flymake.el (version): Bump to 1.0.7. (flymake--intersects-p): New helper. (flymake--handle-report): Fix handling of :region.
* | Small fix to writing Gnus dribble change-level entriesEric Abrahamsen2019-07-031-3/+5
| | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-start.el (gnus-group-change-level): PREVIOUS needs to still be a string when the dribble entry is written, so don't convert it to an entry until after that's done. Also, we're not meant to write PREVIOUS itself, we're meant to write the group that comes _after_ it in the sort-order of gnus-group-list, so do that instead.
* | Add tests for bookmark.el (Bug#36452)Stefan Kangas2019-07-034-32/+348
| | | | | | | | | | | | | | | | | | * test/lisp/bookmark-resources/example.txt: * test/lisp/bookmark-resources/test.bmk: * test/lisp/bookmark-tests.el: New files. * lisp/bookmark.el: Minor cleanups. (bookmark-insert-annotation): Signal error on invalid bookmark. (bookmark-write-file): Add newline at end of file.
* | Fix rotation validity test in image.cEli Zaretskii2019-07-031-1/+4
| | | | | | | | | | | | * src/image.c (compute_image_rotation): Fix the validity test for :rotation values. This avoids logging error messages when no :rotation was provided in the image spec.
* | Fix compiler warnings due to a recent commitEli Zaretskii2019-07-031-2/+2
| | | | | | | | | | * src/xdisp.c (expose_window, expose_frame): Avoid compilation warnings about printing unsigned values with %d.
* | Change expected result of a flymake test on embaMichael Albinus2019-07-031-1/+0
| | | | | | | | | | * test/lisp/progmodes/flymake-tests.el (different-diagnostic-types): Test is now passing on emba.gnu.org, too.
* | Replace TRACE with redisplay_trace, etc.Paul Eggert2019-07-022-61/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This simplifies callers and catches trace printf format errors even with typical (non-debugging) compiles. * src/dispextern.h (TRACE) [GLYPH_DEBUG]: Move definitions to xdisp.c if it’s used only there. * src/xdisp.c (redisplay_trace): New function, replacing TRACE macro. (move_trace): New function, replacing TRACE_MOVE macro. All uses changed. (dump_glyph): When tracing, don’t use %d to format ptrdiff_t, or %x to format a pointer. (expose_frame): Redo trace printfs to avoid interleaved output on GNU/Linux.
* | Change expected result of a flymake test on hydraGlenn Morris2019-07-021-3/+1
| | | | | | | | | | * test/lisp/progmodes/flymake-tests.el (different-diagnostic-types): Test is now passing on hydra.nixos.org, since today.
* | * src/json.c (Fjson_insert): Don't temporarily insert invalid bytes in bufferStefan Monnier2019-07-021-9/+8
| |
* | (Finsert_file_contents): Keep buffer consistent in non-local exitStefan Monnier2019-07-022-43/+41
| | | | | | | | | | | | | | | | * src/fileio.c (decide_coding_unwind): Delete function. (Finsert_file_contents): Don't let invalid multibyte byte sequences escape when we exit non-locally. * test/src/fileio-tests.el (fileio-tests--insert-file-interrupt): New test.
* | Fix printf formats when DEBUG_TRACE_MOVEPaul Eggert2019-07-021-5/+5
| | | | | | | | | | | | Problem caught by gcc -DDEBUG_TRACE_MOVE -Wformat. * src/xdisp.c (move_it_in_display_line_to, move_it_to) (move_it_vertically) [DEBUG_TRACE_MOVE]: Fix printf format typos.