aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | * lisp/progmodes/cc-fonts.el (gtkdoc-font-lock-keywords): Fix faulty regexpAlan Mackenzie2019-07-171-1/+1
| | |
* | | An electric test is now passingGlenn Morris2019-07-161-10/+0
| | | | | | | | | | | | | | | | | | * test/lisp/electric-tests.el (electric-pair-whitespace-chomping-2-at-point-4-in-c++-mode-in-strings): Seems to pass since today's cc-mode changes.
* | | * lisp/wid-edit.el: Previous change needs subr-x.Glenn Morris2019-07-161-0/+1
| | |
* | | Treat the "Link" link in gnus-summary-browse-urls speciallySam Steingold2019-07-162-9/+23
| | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-collect-urls): Make sure that the URL labeled "Link" is the first in the return list. (gnus-summary-browse-url): Use the 1st URL as the default. * lisp/wid-edit.el (widget-text): New function.
* | | CC Mode: allow bogusly "adjacent" double quote marks to pair up syntacticallyAlan Mackenzie2019-07-163-179/+359
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For this introduce the text property c-fl-syn-tab to "mirror" syntax-table. * lisp/progmodes/cc-defs.el (c-is-escaped, c-will-be-escaped, c-put-syn-tab) (c-clear-syn-tab, c-clear-syn-tab-properties, c-with-extended-string-fences): new macros. (c-point): Use c-is-escaped (c-search-forward-char-property, c-search-backward-char-property) (c-search-forward-char-property-with-value-on-char) (c-search-forward-char-property-without-value-on-char): Fix regexp error involving \n. * lisp/progmodes/cc-engine.el (c-semi-pp-to-literal): User c-with-extended-string-fences around a parse-partial-sexp. (c-full-get-near-cache-entry): Fix an off-by-one error. (c-full-pp-to-literal): Avoid writing duplicate entries into a cache. (c-after-change-unmark-raw-strings): Use c-clear-syn-tab-properties. * lisp/progmodes/cc-mode.el (c-leave-cc-mode-mode): Clear the c-fl-syn-tab properties, too. (c-basic-common-init): Mark c-fl-syn-tab as a non-sticky text property. (c-depropertize-new-text): Also handle c-fl-syn-tab. (c-multiline-string-check-final-quote, c-parse-quotes-after-change): Use c-is-escaped. (c-fl-syn-tab-region): New variable. (c-clear-string-fences, c-restore-string-fences, c-remove-string-fences): New functions. (c-before-change-check-unbalanced-strings) (c-after-change-mark-abnormal-strings, c-after-change-escape-NL-in-string): Use the new functions and macros. (c-before-change, c-after-change, c-font-lock-fontify-region): Restore the syntax-table text properties from c-fl-syn-tab text properties for these functions. (c-electric-pair-inhibit-predicate): Test the c-fl-syn-tab property rather than syntax-table.
* | | Fix failing secrets-test03-itemsBasil L. Contovounesios2019-07-161-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/net/secrets-tests.el: Use lexical-binding. (secrets-test03-items): Do not assume :xdg:schema attribute is silently added to the front of the collection (bug#36694). (secrets-test04-search, secrets-test-all): Quote function symbols as such.
* | | Fix calc number formatting with digit grouping (bug#36689)Mattias EngdegÄrd2019-07-163-22/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The functions math-format-hex and math-format-octal were not implemented, yet called, leading to a crash when using hex or octal radix with digit grouping. * test/lisp/calc/calc-tests.el (calc-test-format-radix): New test. * lisp/calc/calc-ext.el: Don't declare non-existing functions. (math--format-integer-fancy): Don't call non-existing functions. * lisp/calc/calc-bin.el (math-format-binary, math-binary-digits): Simplify, fixing 0-padding bug.
* | | Revert "Add support for paths to svg.el"Lars Ingebrigtsen2019-07-162-385/+0
| | | | | | | | | | | | | | | | | | This reverts commit d6bc55ae2dc98c83e58a28e380ce4bcf2ed00bb3. Paperwork not ready for Felix Klee; will reapply once that's in place.
* | | Revert "* doc/lispref/display.texi (SVG Images): Add menu for subsection."Lars Ingebrigtsen2019-07-161-3/+0
| | | | | | | | | | | | | | | | | | This reverts commit e5cd597c7736b587f80c16fde1c53f904d921310. Paperwork nod ready for the SVG Path patch.
* | | Set revert-buffer-function in ert-results-modeMattias EngdegÄrd2019-07-161-1/+3
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-results-mode): Set revert-buffer-function to re-run the same test selection. It is a good fit and permits use of the standard "g" key binding.
* | | Prevent infinite loop on entering wdired-modeStephen Berman2019-07-161-2/+1
| | | | | | | | | | | | | | | | | | | | | * lisp/wdired.el (wdired-preprocess-symlinks): Remove unneeded use of beginning-of-line, which also triggers an infinite loop in a find-dired buffer that doesn't end with a newline (see discussion in bug#35609).
* | | * lisp/vc/vc.el (vc-log-search): New command (bug#36644).Juri Linkov2019-07-163-2/+44
| | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-log-search): New function. (vc-git-log-view-mode): Check vc-log-view-type for log-search.
* | | * lisp/vc/vc-dir.el (vc-dir-search): Remove lambda.Juri Linkov2019-07-161-2/+1
| | | | | | | | | | | | (Bug#31578) Thanks to Dmitry Gutov <dgutov@yandex.ru>
* | | * lisp/frame.el (make-frame-on-display): Use x-display-list in completion.Juri Linkov2019-07-161-4/+1
| | | | | | | | | | | | (Bug#29713)
* | | * lisp/progmodes/sh-script.el (sh-assignment): Put delete-selection on symbolJuri Linkov2019-07-161-0/+1
| | |
* | | * doc/lispref/display.texi (SVG Images): Add menu for subsection.Glenn Morris2019-07-151-0/+3
| | |
* | | * lisp/gnus/nntp.el: Use lexical-bindingStefan Monnier2019-07-151-57/+57
| | | | | | | | | | | | | | | | | | (nntp-server-action-alist): Expose the code to the compiler. (nntp-with-open-group-function): No need to obfuscate identifiers any more. (nntp-authinfo-rejected): Use `define-error`.
* | | Fix INITIAL-INPUT cons handling in ido-read-internalLars Ingebrigtsen2019-07-151-1/+8
| | | | | | | | | | | | | | | | | | * lisp/ido.el (ido-read-internal): Is INITIAL-INPUT is a cons that specifies cursor position, adjust the number to be palatable for `read-for-minibuffer' (bug#27807).
* | | Fix saving certificates in the NSM on high security levelsLars Ingebrigtsen2019-07-151-5/+0
| | | | | | | | | | | | | | | | | | | | | * lisp/net/nsm.el (nsm-check-certificate): `nsm-fingerprint-ok-p' will save the fingerprint in the correct temporary/permanent storage, so saving it once more (in the permanent storage) if the security level is high or greater is a mistake (bug#27823).
* | | Tweak mouse-face highlighting of Occur buffersLars Ingebrigtsen2019-07-151-7/+10
| | | | | | | | | | | | | | | * lisp/replace.el (occur-engine): Ensure that the mouse highlight is done over the entire line (bug#27846).
* | | open-dribble-file doc string clarificationLars Ingebrigtsen2019-07-151-3/+6
| | | | | | | | | | | | | | | * src/keyboard.c (Fopen_dribble_file): Clarify when the file is closed, and when events are written to the file (bug#27996).
* | | Possibly skip IMAP server FETCH responsesEric Abrahamsen2019-07-151-40/+53
| | | | | | | | | | | | | | | | | | | | | See bug#35433 * lisp/gnus/nnimap.el (nnimap-transform-headers): Skip FETCH responses that only provide message flags, not message headers.
* | | Add support for paths to svg.elFelix E. Klee2019-07-152-0/+385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (SVG Images): Document svg-path, svg-clip-path and svg-node (bug#32359). * doc/lispref/display.texi (SVG Path Commands): New node. * lisp/svg.el (svg--plist-delete, svg--path-command-symbol) (svg--elliptical-arc-coordinates, svg--elliptical-arc-command) (svg--moveto-command, svg--closepath-command) (svg--lineto-command, svg--horizontal-lineto-command) (svg--vertical-lineto-command, svg--curveto-command) (svg--smooth-curveto-command) (svg--quadratic-bezier-curveto-command) (svg--smooth-quadratic-bezier-curveto-command) (svg--eval-path-command, svg-path, svg-clip-path, svg-node): New functions.
* | | Revert "Add edebug specs for inline.el"Lars Ingebrigtsen2019-07-151-2/+0
| | | | | | | | | | | | | | | | | | This reverts commit ed29d9fe5286ab6ecfb2bfa5a015b9945a84512b. The edebug specs were already in the declare form, and in addition, it didn't fix the problem.
* | | Mention changing the font size in the Emacs manualLars Ingebrigtsen2019-07-151-2/+4
| | | | | | | | | | | | | | | * doc/emacs/frames.texi (Fonts): Mention changing the font scale (bug#28196).
* | | Mark semantic functions correctly in defcustomSamuel Bronson2019-07-151-1/+1
| | | | | | | | | | | | | | | * lisp/cedet/semantic/format.el (semantic-format-tag-custom-list): Mark functions correctly in defcustom (bug#28267).
* | | Clarify doc of isearch-wrap-functionLars Ingebrigtsen2019-07-151-2/+5
| | | | | | | | | | | | | | | * lisp/isearch.el (isearch-wrap-function): Doc clarification (bug#28388).
* | | Don't delete GnuTLS boot parameters too earlyRobert Pluim2019-07-151-3/+5
| | | | | | | | | | | | | | | | | | * src/process.c (connect_network_socket): Don't delete the GnuTLS boot parameters until after we've managed to connect at the IP level (bug#36660).
* | | Fix *Messages* grouping in C-Mouse-1 buffer menuLars Ingebrigtsen2019-07-151-1/+1
| | | | | | | | | | | | | | | * lisp/mouse.el (mouse-buffer-menu-mode-groups): Don't group the *Messages* buffer with Mail/News (bug#32007).
* | | * lisp/net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):Michael Albinus2019-07-151-53/+45
| | | | | | | | | | | | Don't cancel if debug buffers aren't appended.
* | | Make directory-files-recursively take a PREDICATE parameterLars Ingebrigtsen2019-07-153-11/+41
| | | | | | | | | | | | | | | | | | | | | * lisp/files.el (directory-files-recursively): Take an optional PREDICATE parameter (bug#28567). * doc/lispref/files.texi (Contents of Directories): Document it.
* | | Tweak gv-define-setter debug settingLars Ingebrigtsen2019-07-151-1/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/gv.el (gv-define-setter): Change edebug spec from body to def-body (bug#28729).
* | | Fix edge cases in Tramp's copyMichael Albinus2019-07-151-24/+26
| | | | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Special handling for "rsync". (tramp-find-inline-compress): Make check more robust on MS Windows.
* | | package-archive-priorities doc additionLars Ingebrigtsen2019-07-151-1/+3
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-archive-priorities): Document that negative priorities will lead to packages not being updated (bug#28897).
* | | Stop wdired tests leaving behind symlink /tmp/emacs1000Glenn Morris2019-07-141-0/+3
| | | | | | | | | | | | * test/lisp/wdired-tests.el (server-socket-dir): Make effective.
* | | Mark octave-block-offset as a safe local variableLars Ingebrigtsen2019-07-151-0/+1
| | | | | | | | | | | | | | | * lisp/progmodes/octave.el (octave-block-offset): Mark as safe as a local variable (bug#28916).
* | | ; NEWS copyeditsGlenn Morris2019-07-141-10/+6
| | |
* | | Update a ffap testGlenn Morris2019-07-141-3/+1
| | | | | | | | | | | | | | | * test/lisp/ffap-tests.el (ffap-other-window--bug-25352): Update for incompatible ffap-other-window change.
* | | Make elint understand condition-case-unless-debugLars Ingebrigtsen2019-07-141-0/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/elint.el (elint-special-forms): Teach elint about `condition-case-unless-debug' (bug#29585).
* | | Fix prompting in functions like ffap-read-onlyLars Ingebrigtsen2019-07-141-26/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/ffap.el (ffap-prompter, ffap-other-window) (ffap-other-frame, ffap-read-only) (ffap-read-only-other-window, ffap-read-only-other-frame) (ffap-alternate-file, ffap-alternate-file-other-window) (ffap-literally): Rework to be able to specify different prompts for different actions (bug#30284) and don't use `call-interactively' all over the place.
* | | Make describe-face also output the version informationLars Ingebrigtsen2019-07-142-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/help-fns.el (describe-variable-custom-version-info): Allow taking a type as an optional input, so this can be used for faces, too (bug#30527). * lisp/faces.el (describe-face): Use this to output the version information.
* | | Use correct colorspace for XBM imagesAlan Third2019-07-141-2/+2
| | | | | | | | | | | | | | | * src/nsimage.m ([EmacsImage setXBMColor:]): Use 'generic RGB' color space.
* | | Revert "Make describe-face also output the version information"Lars Ingebrigtsen2019-07-142-16/+6
| | | | | | | | | | | | | | | | | | This reverts commit a7aae1473c1aed7758b550a23cda61ee17668e23. The patch broke the build.
* | | Tweak bug ID prompting in gnus-group--read-bug-idsLars Ingebrigtsen2019-07-141-1/+4
| | | | | | | | | | | | | | | * lisp/gnus/gnus-group.el (gnus-group--read-bug-ids): Default to current bug id on RET.
* | | Make describe-face also output the version informationLars Ingebrigtsen2019-07-142-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/help-fns.el (describe-variable-custom-version-info): Allow taking a type as an optional input, so this can be used for faces, too (bug#30527). * lisp/faces.el (describe-face): Use this to output the version information.
* | | ; Add comment to hash_table_rehash (Bug#36447)Stefan Monnier2019-07-141-0/+5
| | | | | | | | | | | | | | | | | | * src/fns.c (hash_table_rehash): Add a comment to explain that hash_table_rehash is not used in "normal" rehashing, but only in the rare case of rehashing on the first access to a preloaded hash-table.
* | | Use ngettext in vc-dir-clean-filesNoam Postavsky2019-07-141-2/+3
| | | | | | | | | | | | | | | * lisp/vc/vc-dir.el (vc-dir-clean-files): Use ngettext to separate pluralization from format string.
* | | Tweak background colour handling in shrLars Ingebrigtsen2019-07-141-4/+6
| | | | | | | | | | | | | | | * lisp/net/shr.el (shr-fill-line): Keep the background colour on the newline and the indentation.
* | | Rename vc-dir-delete-files-no-vc to vc-dir-clean-filesLars Ingebrigtsen2019-07-143-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/maintaining.texi (VC Directory Commands): Adjust command name. * lisp/vc/vc-dir.el (vc-dir-clean-files): Rename from vc-dir-delete-files-no-vc, and work on unregistered files only (bug#31732). (vc-dir-menu-map): Adjust command name.
* | | Allow bad tags in SchemeEric Ludlam2019-07-141-0/+2
| | | | | | | | | | | | | | | * admin/grammars/scheme.by (scheme-in-list): Allow bad tags in Scheme (bug#36521).