aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Consider face inheritance when checking region face background.Tassilo Horn2020-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | Some themes (like dracula) make the region face inherit from some other face. If the background color of the region was inherited, `indicate-copied-region' did the switch-point-and-mark-twice dance which is not visible in case the region is highlighted. It just looked like Emacs would hang for a second after M-w. * lisp/simple.el (indicate-copied-region): Consider face inheritance when checking region face background.
| * Fix dired default file operation (bug#41261)Leo Vivier2020-05-151-4/+3
| | | | | | | | | | * lisp/dired-aux.el (dired-dwim-target-directories): Restore pre-emacs-27 behavior of 'dired-dwim-target'.
| * Fix documentation related to 'command-switch-alist'.Philipp Stephani2020-05-142-1/+56
| | | | | | | | | | | | | | | | | | | | | | | | While there, add a unit test to verify the behavior. * doc/lispref/os.texi (Command-Line Arguments): Fix documentation: the option string in 'command-switch-alist' does include leading hyphens. Also mention that 'command-switch-alist' parsing ignores equals signs in options. * test/lisp/startup-tests.el (startup-tests/command-switch-alist): New unit test.
| * Improve ediff readability in misterioso theme (Bug#41221)Simon Lang2020-05-131-0/+7
| | | | | | | | | | | | * etc/themes/misterioso-theme.el: Add ediff faces. Copyright-paperwork-exempt: yes
| * Fix a crash in handle_display_specClément Pit-Claudel2020-05-131-1/+1
| | | | | | | | | | * src/xdisp.c (handle_display_spec): Check that the cdr of the disable-eval spec is a cons before taking its car. (Bug#41232)
| * In x_hide_tip reset tip_last_frame for GTK+ tooltips only (Bug#41200)Martin Rudalics2020-05-131-3/+5
| | | | | | | | | | * src/xfns.c (x_hide_tip): Reset tip_last_frame only when using GTK+ system tooltips (Bug#41200).
| * Fix docstring of flymake-make-diagnostic (bug#40351)João Távora2020-05-121-3/+4
| | | | | | | | * lisp/progmodes/flymake.el (flymake-make-diagnostic): Fix docstring
| * Go back to “Bahá’í”Paul Eggert2020-05-101-1/+1
| | | | | | | | | | | | * doc/emacs/calendar.texi (Holidays): Revert previous change, as bahai.org spells it “Bahá’í” (with U+2019 RIGHT SINGLE QUOTATION MARK) and that’s good enough for us.
| * * lisp/dired.el (dired-toggle-marks): Doc fix. (Bug#41097)Eli Zaretskii2020-05-101-2/+2
| |
* | Remove stale commentsStefan Kangas2020-05-162-6/+0
| | | | | | | | | | | | * lisp/printing.el (pr-create-interface): * lisp/progmodes/ebnf2ps.el (ebnf-eps-filename, ebnf-trim-right): Remove old comments about Emacs 21/22 compatibility.
* | Remove some compat code from CEDETStefan Kangas2020-05-161-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cedet/data-debug.el (data-debug-overlay-properties) (data-debug-overlay-p, dd-propertize): Redefine as obsolete function aliases. (data-debug-insert-overlay-props, data-debug-insert-hash-table) (data-debug-insert-hash-table-button) (data-debug-insert-widget-properties, data-debug-insert-widget) (data-debug-insert-symbol-from-point) (data-debug-insert-symbol-button, data-debug-insert-string) (data-debug-insert-number, data-debug-thing-alist): Don't use obsolete names.
* | Remove Emacs 22 compat code from abbrev.elStefan Kangas2020-05-161-5/+1
| | | | | | | | | | * lisp/abbrev.el (write-abbrev-file): Remove Emacs 22 compatibility code.
* | ; * lisp/htmlfontify.el: Minor fix in file headers.Stefan Kangas2020-05-161-3/+0
| |
* | Remove Emacs 22 compat code from ediff-vers.elStefan Kangas2020-05-161-15/+10
| | | | | | | | | | | | | | | | * lisp/vc/ediff-vers.el (ediff-vc-revision-other-window) (ediff-vc-working-revision): Redefine Emacs 22 compatibility aliases as obsolete function aliases. (ediff-vc-internal, ediff-vc-merge-internal): Don't use the now obsolete aliases.
* | Remove some XEmacs compat code from semanticStefan Kangas2020-05-162-8/+5
| | | | | | | | | | | | | | | | | | * lisp/cedet/semantic/wisent/comp.el (wisent-ISVALID-TOKEN) (wisent-parse-nonterminals): * lisp/cedet/semantic/wisent/wisent.el (wisent-item-to-string): Remove XEmacs compatibility code. (wisent-char-p): Redefine as obsolete function alias for 'characterp'.
* | * lisp/textmodes/bibtex.el: Fix bug#41285 (paren typo)Stefan Monnier2020-05-161-3/+3
| |
* | Introduce process-file-return-signal-stringMichael Albinus2020-05-168-73/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/processes.texi (Synchronous Processes): Describe `process-file-return-signal-string'. * doc/misc/tramp.texi: Adapt Tramp and Emacs version numbers. (Remote processes): Describe `process-file-return-signal-string' and $INSIDE_EMACS. * etc/NEWS: Describe `process-file-return-signal-string'. Fix typos. * lisp/simple.el (process-file-return-signal-string): New user option. * lisp/net/tramp-adb.el (tramp-adb-handle-process-file): * lisp/net/tramp-sh.el (tramp-sh-handle-process-file): Use it. * lisp/net/tramp.el (tramp-get-signal-strings): New defun. * test/lisp/net/tramp-tests.el (tramp-test28-process-file): Adapt test.
* | * lisp/progmodes/project.el (project-try-vc): Fix regexp typo.Stefan Monnier2020-05-151-1/+10
| |
* | Fix submodules, second tryDmitry Gutov2020-05-161-5/+3
| | | | | | | | | | * lisp/progmodes/project.el (project-try-vc): Call the backend directly instead of binding default-directory.
* | CC Mode: Fix bug #40052, where a very large macro was too slow in scrollingAlan Mackenzie2020-05-152-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/cc-engine.el (c-end-of-macro): Fix faulty cache handling, where the upper bound of c-macro-cache was never being set. (c-forward-comment-minus-1): New macro which terminates unwanted indefinite backward searching with lots of escaped newlines in c-backward-single-comment. (c-backward-single-comment, c-backward-comments): Use the new macro above. * lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings) (c-after-change-mark-abnormal-strings, c-after-change-escape-NL-in-string): Optimize three regexps by using shy groups, thus preventing regexp stack overflow while handling the large C Macro.
* | Fix Git submodules detection breakageDmitry Gutov2020-05-151-4/+5
| | | | | | | | | | * lisp/progmodes/project.el (project-try-vc): Use the absolute name of .git both times.
* | * lisp/progmodes/xref.el: Fix first line syntaxStefan Monnier2020-05-151-6/+6
| | | | | | | | (xref--find-ignores-arguments): Simplify.
* | Use lexical-binding in autoconf.el and add testsSimen Heggestøyl2020-05-152-1/+56
| | | | | | | | | | | | | | * lisp/progmodes/autoconf.el: Use lexical-binding. * test/lisp/progmodes/autoconf-tests.el: New file with tests for autoconf.el.
* | Calc: GCD(0,x)=GCD(x,0)=|x|, not x (bug#41279)Mattias Engdegård2020-05-152-2/+30
| | | | | | | | | | | | | | Reported by David Ongaro. * lisp/calc/calc-comb.el (calcFunc-gcd): Fix GCD simplification. * test/lisp/calc/calc-tests.el (calc-gcd, calc-sum-gcd): New tests.
* | Delete libraries obsolete since 23.1 and 23.2Stefan Kangas2020-05-158-1619/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Emacs 23.2 was released 10 years ago. old-whitespace.el has a replacement in whitespace.el and is no longer relevant. The other libraries implement compatibility with Lucid Emacs, a modified version of Emacs last released in the 1990s. * lisp/obsolete/ledit.el: * lisp/obsolete/lmenu.el: * lisp/obsolete/lucid.el: * lisp/obsolete/old-whitespace.el: Delete files. These libraries have been obsolete since Emacs 23.1 or 23.2. * etc/NEWS: Announce their deletion. * admin/authors.el (authors-ignored-files) (authors-fixed-entries, authors-valid-file-names): * lisp/emulation/viper.el (viper-mode): * lisp/ffap.el (ffap-menu-ask): Remove references to deleted files.
* | ; Tweak version numbers in lisp/progmodes/xref.elJoão Távora2020-05-151-2/+2
| | | | | | | | | | | | | | | | Hopefully this aids in getting the package correctly listed in GNU ELPA. * lisp/progmodes/xref.el (Version): Bump to 1.0.1 (Package-Requires): Require project 0.1.1.
* | Improve detection of Git submodulesDmitry Gutov2020-05-151-3/+18
| | | | | | | | | | | | * lisp/progmodes/project.el (project-try-vc): Improve detection of Git submodules (https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg02008.html).
* | ; Fix warning in last changeTino Calancha2020-05-141-2/+2
| | | | | | | | | | * lisp/arc-mode.el (archive--summarize-descs): Use file-modes-number-to-symbolic.
* | Combine archive-int-to-mode and tar-grind-file-modebug27952_combine-tar-grind-file-mode_archive-int-to-modeTino Calancha2020-05-148-41/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new function, file-modes-number-to-symbolic. Make archive-int-to-mode and obsolete alias of it; use it to define tar-grind-file-mode (Bug#27952). * lisp/files.el (file-modes-number-to-symbolic): New defun. * lisp/arc-mode.el (archive-int-to-mode): Make it an obsolete alias. * lisp/tar-mode.el (tar-grind-file-mode): Use file-modes-number-to-symbolic. * test/lisp/arc-mode-tests.el (arc-mode-test-archive-int-to-mode) * test/lisp/tar-mode-tests.el (tar-mode-test-tar-grind-file-mode): Update test. * test/lisp/files-tests.el (files-tests-file-modes-symbolic-to-number) (files-tests-file-modes-number-to-symbolic): New tests. * doc/lispref/files.texi (Changing Files): Document the new funtion. * etc/NEWS (Lisp Changes in Emacs 28.1): Announce it.
* | Fix customisation of mouse-drag-and-drop-region (bug#41251)Mattias Engdegård2020-05-141-1/+1
| | | | | | | | | | | | Reported by David Ponce. * lisp/mouse.el (mouse-drag-and-drop-region): Add missing unquote.
* | Calc: fix LU decomposition for non-numeric matrices (bug#41223)Mattias Engdegård2020-05-142-1/+25
| | | | | | | | | | | | | | | | | | Computing determinant and inverse for on some matrices containing non-numeric elements failed or gave the wrong result. Reported by Mauro Aranda. * lisp/calc/calc-mtx.el (math-do-matrix-lud): Don't use zero as pivot. * test/lisp/calc/calc-tests.el (calc-matrix-determinant): New test.
* | ; Fix warning after last change in cal-julian.elStefan Kangas2020-05-141-8/+12
| | | | | | | | | | | | * lisp/calendar/cal-julian.el (diary-julian-date) (diary-astro-day-number): Silence byte-compiler warning about variable 'declared after its first use'.
* | Fix some oddities, uncovered by Tramp testsMichael Albinus2020-05-133-11/+25
| | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Prevent crash for older Emacsen. * lisp/net/tramp.el (tramp-process-running-p): Simplify. * test/lisp/net/tramp-tests.el (tramp-test28-process-file): Adapt test. (tramp-test33-environment-variables): Unset "INSIDE_EMACS" initially.
* | Turn Eldoc, Xref and Project into GNU ELPA :core packagesJoão Távora2020-05-135-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new packages state they require Emacs 26.3 to function, but a small part of project.el breaks this "soft" rule: the two functions requiring fileloop.el are incompatible with Emacs 26.3. * lisp/jsonrpc.el: Tweak comment near Package-Requires. * lisp/emacs-lisp/eldoc.el: Add Version and Package-Requires. * lisp/progmodes/flymake.el: Add comment near Package-Requires. * lisp/progmodes/project.el: Add Version and Package-Requires. * lisp/progmodes/xref.el: Add Version and Package-Requires.
* | Use lexical-binding in t-mouse.elStefan Kangas2020-05-131-1/+1
| | | | | | | | * lisp/t-mouse.el: Use lexical-binding.
* | ; Fix warning in last changeBasil L. Contovounesios2020-05-131-1/+1
| | | | | | | | | | * lisp/play/animate.el (animate-place-char): Silence 'unused lexical variable' warning.
* | Use lexical-binding in animate.el and add testsStefan Kangas2020-05-132-1/+57
| | | | | | | | | | * lisp/play/animate.el: Use lexical-binding. * test/lisp/play/animate-tests.el: New file.
* | Use lexical-binding in dissociate.el and add testsStefan Kangas2020-05-132-1/+39
| | | | | | | | | | * lisp/play/dissociate.el: Use lexical-binding. * test/lisp/play/dissociate-tests.el: New file.
* | Use lexical-binding in cal-julian.el and add testsStefan Kangas2020-05-132-1/+73
| | | | | | | | | | * lisp/calendar/cal-julian.el: Use lexical-binding. * test/lisp/calendar/cal-julian-tests.el: New file.
* | Use proper digraphs in Bahá’í month namesPaul Eggert2020-05-121-2/+2
| | | | | | | | | | | | | | * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array): There doesn’t seem to be any disagreement in the sources I consulted that “Mas͟híyyat” and “S͟haraf” both need an “s͟h” digraph instead of plain “sh”.
* | * lisp/emacs-lisp/syntax.el: Fix bug#41195Stefan Monnier2020-05-121-6/+18
| | | | | | | | | | | | | | | | Allow use of `syntax-ppss-flush-cache` in `syntax-propertize-function`. (syntax-propertize--inhibit-flush): New var. (syntax-propertize): Bind it. (syntax-ppss-flush-cache): Test it.
* | Revert "Inhibit modification hooks when saving eieio-persistent's"Michael Heerdegen2020-05-121-2/+1
| | | | | | | | This reverts commit c59e878439833d89998e03134ee9060f9c449fd9.
* | Support sorting timer-list-mode by column (Bug#40854)Stefan Kangas2020-05-121-4/+31
| | | | | | | | | | | | | | * lisp/emacs-lisp/timer-list.el (timer-list-mode) (timer-list--idle-predicate, timer-list--next-predicate) (timer-list--repeat-predicate) (timer-list--function-predicate): Add support for sorting by column.
* | Base timer-list-mode on tabulated-list-mode (Bug#40854)Stefan Kangas2020-05-122-59/+52
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/timer-list.el (list-timers) (timer-list-mode): Inherit from 'tabulated-list-mode' instead of 'special-mode' and make the necessary changes to support that. * doc/lispref/os.texi (Timers): Update documentation.
* | Suppress test failure on hydra.nixos.orgGlenn Morris2020-05-121-1/+2
| | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test28-process-file): Attempt to suppress hydra oddity.
* | Pacify GCC 10.1.0Paul Eggert2020-05-117-10/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pacify GCC 10.1.0 so that it does not issue false alarms when Emacs is configured with --enable-gcc-warnings. * src/dispnew.c (clear_glyph_row): * src/fns.c (hash_clear): * src/keyboard.c (append_tab_bar_item): * src/lisp.h (vcopy): * src/xfaces.c (get_lface_attributes_no_remap) (Finternal_copy_lisp_face, realize_default_face): * src/xmenu.c (set_frame_menubar): Work around -Warray-bounds false alarm in GCC 10.1.0. * src/intervals.c (copy_properties): Avoid -Wnull-dereference false alarm in GCC 10.1.0. * src/lisp.h (xvector_contents_addr, xvector_contents): New functions, useful for working around GCC bug 95072.
* | Update from gnulibPaul Eggert2020-05-115-55/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This incorporates: 2020-05-11 careadlinkat: fix GCC 10 workaround 2020-05-10 careadlinkat: limit GCC workaround 2020-05-10 attribute: clarify list of attributes 2020-05-10 string: fix compilation error in C++ mode 2020-05-09 manywarnings: port to GCC 10.1 2020-05-09 careadlinkat: pacify -Wreturn-local-addr 2020-05-09 attribute: remove ATTRIBUTE_DEPRECATED 2020-05-09 attribute: Add comments * lib/attribute.h, lib/careadlinkat.c, lib/string.in.h: * lib/warn-on-use.h, m4/manywarnings.m4: Copy from Gnulib.
* | Fix bug #40992 whilst still allowing breakpoint highlights in edebugAlan Mackenzie2020-05-111-15/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Strategy: when an instrumented function gets re-evaluated, save the former value of its symbol's `edebug' property in the new propery `ghost-edebug'. If this function is still being edebugged, edebug will then access its info from this new property. Also fix the bug whereby compile-defun'ing an instrumented function prevents the function being re-instrumented by I (edebug-instrument-callee). * lisp/emacs-lisp/edebug.el (edebug-get-edebug-or-ghost): New function. (edebug-read-and-maybe-wrap-form1): save value of `edebug' property in 'ghost-edebug'. (edebug-make-form-wrapper): Set value of `ghost-edebug' to nil. (edebug-make-form-wrapper, edebug-find-stop-point, edebug-next-break-point) (edebug-modify-breakpoint, edebug--overlay-breakpoints, edebug-set-breakpoint) (edebug-unset-breakpoints, edebug-toggle-disable-breakpoint) (edebug--backtrace-goto-source, edebug-display-freq-count) (edebug-set-conditional-breakpoint): Use edebug-get-edebug-or-ghost to access edebug information. (edebug-instrument-function): Also check a function is a cons before declaring it "already instrumented".
* | * lisp/emacs-lisp/pcase.el (pcase--fgrep): Look inside vectorsStefan Monnier2020-05-111-4/+9
| |
* | ; Fix last change to bibtex.elBasil L. Contovounesios2020-05-111-0/+1
| | | | | | | | | | | | * lisp/textmodes/bibtex.el (bibtex-autokey-before-presentation-function): Bump :version tag now that nil is no longer a valid value.