summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ; * lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Doc fix.Stefan Kangas2021-09-241-2/+2
|
* ; Instrument autorevert-tests.elMichael Albinus2021-09-241-0/+3
|
* ; * doc/emacs/glossary.texi (Glossary): Improve the "symbol" entry.Eli Zaretskii2021-09-241-5/+6
|
* * lisp/gnus/mm-uu.el (mm-uu-type-alist): Add markdown-diff/-emacs-sourcesJuri Linkov2021-09-241-0/+8
| | | | (Bug#50763)
* New thing-at-point target 'string' used in context-menu-regionJuri Linkov2021-09-243-25/+38
| | | | | | | | | | | | * lisp/mouse.el (context-menu-region): Use separate "List" and "String". * lisp/thingatpt.el (string): New target 'string'. (thing-at-point-bounds-of-string-at-point): New function. (thing-at-point-bounds-of-list-at-point): Revert previous commit by removing optional args 'escape-strings' and 'no-syntax-crossing'. (list-or-string): Remove recently added target 'list-or-string'. (thing-at-point-bounds-of-list-or-string-at-point): Remove function. https://lists.gnu.org/archive/html/emacs-devel/2021-09/msg01737.html
* Pacify recent warnings in ansi-color-tests.elBasil L. Contovounesios2021-09-241-39/+37
| | | | | | | | | | | | * test/lisp/ansi-color-tests.el: Remove invalid package keyword 'ansi', and unused dependency on cl-lib. (yellow, bright-yellow): Replace prefix-less dynvars with corresponding local lexvars. (test-strings): Rename prefix-less dynvar... (ansi-color-tests--strings): ...to this. All users updated. (ansi-color-apply-on-region-test) (ansi-color-apply-on-region-bold-is-bright-test): Simplify. (ansi-color-apply-on-region-preserving-test): Reindent.
* Add `info-lookup-symbol' to the menuLars Ingebrigtsen2021-09-231-0/+3
| | | | | * lisp/menu-bar.el (menu-bar-search-documentation-menu): Add entry for `info-lookup-symbol' (bug#50759).
* Add s Symbol entry in the glossaryLars Ingebrigtsen2021-09-231-0/+6
| | | | | * doc/emacs/glossary.texi (Glossary): Add an entry for Symbol (bug#50760).
* Do not count git markers as "deleted lines"Konstantin Kharlamov2021-09-231-1/+5
| | | | | * lisp/vc/diff-mode.el (diff-fixup-modifs): Skip "end of patch" markers that `git-format-patch` leaves around (bug#50761).
* Fix problems with 'C-c C-n' in sh-script-modeMiha Rihtaršič2021-09-231-2/+9
| | | | | | | | * lisp/progmodes/sh-script.el (sh-shell-process): If a *shell* buffer doesn't exist, 'C-c C-n' creates one and displays it. This patch prevents it from being displayed in the selected window. Additionally, it ensures that the local `sh-shell-process' variable is set in the correct buffer (bug#50765).
* checkdoc: Add abbreviation and simplifyStefan Kangas2021-09-231-5/+6
| | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Add abbreviation "a.k.a.". Simplify.
* Fix typo in previous man.el changeLars Ingebrigtsen2021-09-231-1/+1
| | | | * lisp/man.el (Man-ansi-color-map): Fix typo in last checkin.
* Add support for "bright" ANSI colors in term-modeJim Porter2021-09-233-51/+210
| | | | | | | | | | | | | | | * list/term.el (ansi-term-color-vector): Add new faces. (term-color-black, term-color-red, term-color-green, term-color-yellow) (term-color-blue, term-color-magenta, term-color-cyan, term-color-white): Inherit from 'ansi-color-COLOR'. (term-color-bright-black, term-color-bright-red, term-color-bright-green) (term-color-bright-yellow, term-color-bright-blue) (term-color-bright-magenta, term-color-bright-cyan) (term-color-bright-white): New faces. (term--maybe-brighten-color): New function. (term-handle-colors-array): Handle bright colors. * test/lisp/term-tests.el (term-colors, term-colors-bold-is-bright): New functions.
* Add support for "bright" ANSI colors in ansi-colorJim Porter2021-09-234-82/+365
| | | | | | | | | | | | | | | | | | | | | | | | | * lisp/ansi-color.el (ansi-color-bold, ansi-color-faint, ansi-color-italic) (ansi-color-underline, ansi-color-slow-blink, ansi-color-fast-blink) (ansi-color-inverse, ansi-color-red, ansi-color-green, ansi-color-yellow) (ansi-color-blue, ansi-color-magenta, ansi-color-cyan, ansi-color-white) (ansi-color-bright-red, ansi-color-bright-green, ansi-color-bright-yellow) (ansi-color-bright-blue, ansi-color-bright-magenta, ansi-color-bright-cyan) (ansi-color-bright-white): New faces. (ansi-color-basic-faces-vector, ansi-color-normal-colors-vector) (ansi-color-bright-colors-vector): New constants. (ansi-color-faces-vector, ansi-color-names-vector): Make obsolete. (ansi-color-bold-is-bright): New defcustom. (ansi-color--find-face): Sort ANSI codes and check 'ansi-color-bold-is-bright'. (ansi-color-apply-sequence): Support bright ANSI colors. (ansi-color-make-color-map, ansi-color-map, ansi-color-map-update): Make obsolete. (ansi-color-get-face-1): Add BRIGHT parameter. * lisp/man.el (Man-ansi-color-basic-faces-vector): New variable. (Man-ansi-color-map): Make obsolete. (Man-fontify-manpage): Use 'Man-ansi-color-basic-faces-vector' here. * test/lisp/ansi-color-tests.el (ansi-color-apply-on-region-bold-is-bright-test): New function.
* Avoid jumping too far in checkdoc-in-abbreviation-pStefan Kangas2021-09-232-35/+41
| | | | | | | | | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Use 'forward-ward' instead of 'forward-sexp' to avoid jumping too far in some situations. (Bug#50731) * test/lisp/emacs-lisp/checkdoc-tests.el (checkdoc-tests--abbrev-test): New helper function. (checkdoc-tests-in-abbrevation-p/basic-case): Rename from 'checkdoc-tests-in-abbrevation-p'. (checkdoc-tests-in-abbrevation-p/with-parens) (checkdoc-tests-in-abbrevation-p/with-escaped-parens): Use above new helper function. (checkdoc-tests-in-abbrevation-p/single-char) (checkdoc-tests-in-abbrevation-p/with-em-dash) (checkdoc-tests-in-abbrevation-p/incorrect-abbreviation): New tests.
* Handle updates flags when setting flagsPhilip Kaludercic2021-09-231-1/+9
| | | | | * nnmaildir.el (nnmaildir--article-set-flags): Handle updated flags more gracefully
* A bit less overhead when converting hitsDmitry Gutov2021-09-231-5/+7
| | | | | | * lisp/progmodes/xref.el (xref--collect-matches): Move 'remote-id' and 'syntax-needed' definitions to the caller function. Bind 'inhibit-modification-hooks' to t (bug#50733).
* ; Fix recently installed documentationEli Zaretskii2021-09-232-2/+7
| | | | | | | * etc/NEWS: * lisp/thingatpt.el (thing-at-point-bounds-of-list-or-string-at-point): Clarify wording of the documentation of 'list-or-string'.
* More per-match overhead reductionDmitry Gutov2021-09-231-13/+15
| | | | | | * lisp/progmodes/xref.el (xref--show-common-initialize) (xref-revert-buffer): Inhibit modification hooks (bug#50733). (xref--insert-xrefs): Cosmetics (no measurable difference here).
* xref-matches-in-files: Decrease per match and per group overheadDmitry Gutov2021-09-231-13/+11
| | | | | | | | * lisp/progmodes/xref.el (xref-search-program-alist): Add '--null' argument for slightly faster parsing and probably better behavior with weirder file names. (xref--alistify): Don't accept TEST argument, use 'assoc' instead of 'cl-assoc', use a tash table during sorting (bug#50733).
* Fix string-distance for two empty stringsPhilip Kaludercic2021-09-232-2/+10
| | | | | * fns.c (Fstring_distance): Avoid using uninitialized memory. * test/src/fns-tests.el (test-string-distance): Add test cases.
* * lisp/mouse.el (context-menu-region): Use save-excursion for syntax-ppss.Juri Linkov2021-09-231-1/+2
|
* New thing-at-point target 'list-or-string' used in context-menu-regionJuri Linkov2021-09-233-13/+27
| | | | | | | | | | | * lisp/mouse.el (context-menu-region): Rearrange the order to All>Defun>List>Line>Symbol. Show title either "List" or "String" depending on syntax-ppss, then use thing 'list-or-string' (bug#9054). * lisp/thingatpt.el (thing-at-point-bounds-of-list-at-point): Add optional args 'escape-strings' and 'no-syntax-crossing' like in 'up-list'. (list-or-string): New target 'list-or-string'. (thing-at-point-bounds-of-list-or-string-at-point): New function.
* * lisp/outline.el (outline-minor-mode-cycle-filter): New defcustom (bug#50679)Juri Linkov2021-09-232-14/+36
| | | | | | | | | | | | (outline-minor-mode-cycle--bind): New helper function. (outline-minor-mode-cycle-map): Rename from outline-mode-cycle-map. (outline-mode-map): Revert part of 6458e16f33 to disassociate keymaps outline-mode-map and outline-minor-mode-cycle-map. (outline-font-lock-keywords, outline-minor-mode-highlight-buffer): Use outline-minor-mode-cycle-map instead of outline-mode-cycle-map. * lisp/help.el (describe-bindings): Rename outline-mode-cycle-map to outline-minor-mode-cycle-map.
* ; * lisp/progmodes/verilog-mode.el: Untabify doc-strings.Wilson Snyder2021-09-231-40/+40
|
* * test/infra/Dockerfile.emba: Do not run 'make -j4 bootstrap'.Michael Albinus2021-09-231-2/+3
|
* ; * etc/NEWS: Fix typos and punctuation in recently added entries.Eli Zaretskii2021-09-231-4/+4
|
* Fix Tramp's make-process on macOSMichael Albinus2021-09-231-2/+23
| | | | | * lisp/net/tramp-sh.el (tramp-get-remote-mknod-or-mkfifo): New defun. (tramp-sh-handle-make-process): Use it. (Bug#50748)
* * lisp/net/tramp-cmds.el (tramp-cleanup-connection): Remove trace buffer.Michael Albinus2021-09-231-0/+2
|
* Add aggregate project discovery and maintenance functionsPhilip Kaludercic2021-09-232-5/+82
| | | | | | | | * project.el (project-remember-project): Add optional no-write argument (project-remember-projects-under): Add command (project-forget-zombie-projects): Add command (project-forget-projects-under): Add command * etc/NEWS: Document new commands
* Fix vc-annotate-show-log-revision-at-lineDmitry Gutov2021-09-232-0/+11
| | | | | | | | * lisp/vc/vc-annotate.el (vc-annotate-show-log-revision-at-line): Stop from being affected by 'vc-git-print-log-follow'. * lisp/vc/vc-git.el (vc-git-print-log-follow): Mention caveats in a comment.
* verilog-mode.el: Backout part of recent change showing wrong commentWilson Snyder2021-09-231-3/+3
|
* Clarify which-function tooltip textStefan Kangas2021-09-231-4/+6
| | | | | * lisp/progmodes/which-func.el (which-func-format): Clarify tooltip text.
* Improve NEWS entry for 'ffap-file-name-with-spaces'Robert Pluim2021-09-231-2/+3
| | | | * etc/NEWS: Mention default value of 'ffap-file-name-with-spaces'.
* ;* lisp/whitespace.el (whitespace-display-window): Add doc-string.Martin Rudalics2021-09-231-0/+1
|
* ; * lisp/subr.el (match-string): Clarify doc string.Eli Zaretskii2021-09-231-6/+7
|
* Clarify align-regexp doc stringLars Ingebrigtsen2021-09-231-16/+18
| | | | | | * lisp/align.el (align-regexp): Clarify what REGEXP has to contain, and which bits are added automatically interactively (bug#33541).
* Add section to refcard explaining our keybinding notationStefan Kangas2021-09-231-2/+4
| | | | | * etc/refcards/refcard.tex (Starting Emacs): Delete section. (Key Binding Notation): New section. (Bug#41403)
* Use lexical-binding in emoji-zwj.elStefan Kangas2021-09-231-1/+1
| | | | | * admin/unidata/emoji-zwj.awk: Add lexical-binding cookie to generated fie emoji-zwj.el.
* Expand the `match-string' doc stringLars Ingebrigtsen2021-09-231-5/+15
| | | | * lisp/subr.el (match-string): Mention some caveats (bug#34214).
* Improve error messaging from byte-compiling dotted listsLars Ingebrigtsen2021-09-221-0/+2
| | | | | | | | | | | | | * lisp/emacs-lisp/cconv.el (cconv-analyze-form): Improve error messaging when byte-compiling dotted lists (bug#35186). Test case -- byte-compile the following file: ;;; -*- lexical-binding: t -*- (defun foo () (+ 1 2) (a . b))
* ; * etc/NEWS: Fix typo in last commit.Stefan Kangas2021-09-221-1/+1
|
* Move 'kdb-macro-redisplay' key bindingLars Ingebrigtsen2021-09-223-5/+6
| | | | | | | * doc/emacs/kmacro.texi (Basic Keyboard Macro): Adjust. * lisp/kmacro.el (kmacro-keymap): Move 'kdb-macro-redisplay' to `C-x C-k d' since upper-case letters are reserved for users (bug#50727).
* ; More minor stylistic fixes found by checkdocStefan Kangas2021-09-22129-408/+447
|
* Put './' in the project directory completionsDmitry Gutov2021-09-221-0/+6
| | | | | | * lisp/progmodes/project.el (project--read-file-cpd-relative): Put './' in the completions set when cpd was in the original (bug#50732).
* ; Fix recently added documentationEli Zaretskii2021-09-221-4/+4
| | | | | * lisp/thingatpt.el (bounds-of-thing-at-mouse, thing-at-mouse): Improve and clarify the doc strings.
* Many improvements for Context Menus (bug#9054)Juri Linkov2021-09-225-50/+111
| | | | | | | | | | | | | | | | | | | * lisp/menu-bar.el (menu-bar-showhide-menu): Add "Context Menus". * lisp/mouse.el (context-menu-undo): Add "in Region" to the titles when the region is active. (context-menu-region): Use 'mouse-yank-from-menu' in menu items created from 'yank-menu' for submenu "Paste from Kill Menu". (context-menu-region): Add submenu "Select" with things to mark. (mark-thing-at-mouse, mouse-yank-from-menu): New functions. * lisp/thingatpt.el (bounds-of-thing-at-mouse): New function. * lisp/progmodes/elisp-mode.el (elisp-context-menu): * lisp/progmodes/prog-mode.el (prog-context-menu): Use full symbol/identifier names in :help strings. Suggested by Martin Rudalics <rudalics@gmx.at>
* Fix build with native compilation but without zlibEli Zaretskii2021-09-222-0/+15
| | | | | | | | * src/comp.c (comp_hash_source_file): Condition code that requires zlib with HAVE_ZLIB. * etc/NEWS: Explain that '--without-compress-install' is necessary when configuring with native compilation but without zlib.
* verilog-mode.el: Enable lexical binding, and merge from upstream.Wilson Snyder2021-09-221-6/+13
| | | | | | | | * lisp/progmodes/verilog-mode.el: Enable lexical binding. Templates that used the never-documented `inst' or `submod' variables may need to change to use vl-... variables. (verilog-at-constraint-p): Fix indentation on double curly brackets (#1719) (#1744). Reported by Nikolay Puzanov.
* Don't rely on lexical-binding being nil in testsMattias Engdegård2021-09-222-0/+3
| | | | | | | * test/lisp/button-tests.el (button--help-echo-form): * test/lisp/files-tests.el (files-tests-permanent-local-variables): Remove assumption that `with-temp-buffer` creates a buffer where `lexical-binding` is nil.