summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix GC bug with Lisp floats and --with-wide-intPaul Eggert2020-08-311-12/+31
| | | | | | | | | | | | | | | | | | | | On --with-wide-int platforms where Lisp_Object can be put into non-adjacent registers, mark_maybe_pointer failed to mark a float whose only reference was as a tagged pointer. * src/alloc.c (live_float_holding): New function, a generalization of the old live_float_p. (live_float_p): Use it. (mark_maybe_pointer): Use live_float_holding, not live_float_p.
* | Bind 'n' and 'p' in compilation-mode-mapStefan Kangas2020-08-301-0/+2
| | | | | | | | | | * lisp/progmodes/compile.el (compilation-mode-map): Bind '(next|previous)-error-no-select' to 'n' and 'p'. (Bug#41844)
* | Use lexical-binding in life.el and add testsStefan Kangas2020-08-302-9/+101
| | | | | | | | | | | | | | | | | | | | * lisp/play/life.el: Use lexical-binding. (life--tick): Extract from... (life): ...here. (life--max-width, life--max-height): New variables. (life-mode, life-setup): Use above variables. * test/lisp/play/life-tests.el: New file.
* | Various life.el improvementsStefan Kangas2020-08-301-12/+48
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/play/life.el (life): New defgroup. (life-step-time): New defcustom (lower default from 1 to 0.5). (life): Use above new variable. Make prefix arguments set step time in tenths of a second instead of whole seconds. (life-expand-plane-if-needed): Rename argument to step-time. (life-setup): Fix running `M-x life' with existing buffer. (life-patterns): Add three more classic patterns.
* | Remove some XEmacs compat code from gamegrid.elStefan Kangas2020-08-301-6/+1
| | | | | | | | | | * lisp/play/gamegrid.el (gamegrid-setup-face): Remove XEmacs compat code.
* | * lisp/play/tetris.el: Use lexical-binding.Stefan Kangas2020-08-301-1/+1
| |
* | Tweak background colours in shr when there's indentationLars Ingebrigtsen2020-08-301-2/+2
| | | | | | | | | | * lisp/net/shr.el (shr-fill-line): Get the background colour right for the indentation, too.
* | Respect :must-match for file types in customization buffersMauro Aranda2020-08-301-0/+9
| | | | | | | | | | | | * lisp/wid-edit.el (file widget): Add a :match and a :validate function to the 'file widget, to be able to check if the widget value is an existent file, when required (bug#25678).
* | Place flymake-eldoc-function at the end of eldoc-documentation-functionsJoão Távora2020-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Having it placed in the beginning of that hook meant it was mostly impossible to track the args to a function call while writing it from scratch, since most compilers issue a diagnostic about incorrect number of arguments. See bug#43103. * lisp/progmodes/flymake.el (flymake-mode): Lower priority of flymake-eldoc-function.
* | ; tiny indentation fix to lisp/progmodes/elisp-mode.elJoão Távora2020-08-301-1/+1
| | | | | | | | | | * lisp/progmodes/elisp-mode.el (elisp-eldoc-var-docstring): Fix indentation.
* | Make format-prompt interpret a nil default value as "no default"Lars Ingebrigtsen2020-08-303-5/+10
| | | | | | | | | | | | | | | | | | * doc/lispref/minibuf.texi (Text from Minibuffer): Document it. * lisp/help-fns.el (describe-function): Adjust the caller. * lisp/minibuffer.el (format-prompt): Interpret a nil default value as "no default".
* | Fix compilation warning in snake.elLars Ingebrigtsen2020-08-301-1/+1
| | | | | | | | | | * lisp/play/snake.el (snake-reset-game): Avoid warning about unused variable.
* | * .gitlab-ci.yml (test-all): Run only when needed.Michael Albinus2020-08-301-0/+26
| |
* | Convert manual rmailmm tests to ertStefan Kangas2020-08-301-18/+42
| | | | | | | | | | * test/manual/rmailmm.el: Move from here... * test/lisp/mail/rmailmm-tests.el: ...to here, and convert to ert.
* | Convert unsafep tests to ertStefan Kangas2020-08-291-36/+40
| | | | | | | | | | | | * lisp/emacs-lisp/tcover-unsafep.el: Move from here... * test/lisp/emacs-lisp/unsafep-tests.el: ...to here, and convert to use ert instead of tcover.
* | * lisp/play/snake.el: Use lexical-binding.Stefan Kangas2020-08-291-1/+1
| |
* | Use lexical-binding in more testsStefan Kangas2020-08-298-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lib-src/emacsclient-tests.el: * test/lisp/emacs-lisp/hierarchy-tests.el: * test/lisp/eshell/eshell-tests.el: * test/lisp/gnus/gnus-util-tests.el: * test/lisp/progmodes/js-tests.el: * test/lisp/textmodes/bibtex-tests.el: * test/src/editfns-tests.el: * test/src/fns-tests.el: Use lexical-binding. * test/lisp/emacs-lisp/hierarchy-tests.el (hierarchy-leafs-includes-lonely-roots): * test/src/editfns-tests.el (transpose-test-get-byte-positions): * test/src/fns-tests.el (fns-tests-func-arity): Adjust for lexical-binding.
* | Mark failing fileio test on MS-WindowsPaul Eggert2020-08-291-0/+3
| | | | | | | | | | * test/src/fileio-tests.el (fileio-tests--HOME-trailing-slash): Expect failure on MS-Windows.
* | Run GNUstep build test more oftenAlan Third2020-08-291-12/+4
| | | | | | | | | | * .gitlab-ci.yml (test-gnustep): Include more files that may affect the GNUstep build.
* | * lisp/mail/mspools.el: Remove redundant :group args.Stefan Kangas2020-08-291-10/+5
| |
* | Prevent ElDoc blinking when eldoc-documentation-enthusiast is usedJoão Távora2020-08-291-2/+3
| | | | | | | | | | | | | | | | | | | | This eldoc-documentation-strategy function didn't always obey protocol since it returned nil sometimes, which the eldoc engine took it as a hint for the "old" protocol to clear the echo area. * lisp/emacs-lisp/eldoc.el (eldoc-documentation-enthusiast): Return t. (Version): Bump to 1.9.0
* | Delete duplicate definition for koi8-u coding systemUlrich Müller2020-08-291-7/+0
| | | | | | | | * lisp/language/cyrillic.el (koi8-u): Delete duplicate definition.
* | * test/lisp/emacs-lisp/rx-tests.el: Improve test coverage.Mattias Engdegård2020-08-291-4/+9
| |
* | Revert recent expand-file-name changes if DOS_NTPaul Eggert2020-08-281-9/+57
| | | | | | | | | | | | * src/fileio.c (Fexpand_file_name): Restore pre-August-26 behavior, if DOS_NT. This should fix the recently-introduced expand-file-name bugs on DOS_NT (Bug#26911).
* | * src/fileio.c (Fexpand_file_name): Omit unnecessary assignment.Paul Eggert2020-08-281-1/+0
| |
* | Allow direct choice of smtp authentication methodAndrew G Cohen2020-08-291-2/+4
| | | | | | | | | | | | * lisp/mail/smtpmail.el (smtpmail-try-auth-methods): Let the authorization credentials have an entry with key :smtp-auth containing a preferred authentication mechanism.
* | ; Bump seq version to 2.22Stefan Kangas2020-08-291-1/+1
| |
* | Fix Objective-C C99 build problemAlan Third2020-08-281-3/+4
| | | | | | | | | | * configure.ac (NS_IMPL_GNUSTEP): GCC appears to need to be told to use C99 when compiling Objective-C.
* | Add GNUstep build to Gitlab CI/CDAlan Third2020-08-281-0/+26
| | | | | | | | * .gitlab-ci.yml (test-gnustep): New test target.
* | Add support for parsing column numbers in Visual Studio messagesDaniel Martín2020-08-284-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Extend regular expression to match optional column numbers. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): Add a test. * test/lisp/progmodes/compile-tests.el (compile-test-error-regexps): Update the total number of compilation errors in a test. * etc/compilation.txt: Update compilation.txt with the newly supported message format. * etc/NEWS: Advertise the feature.
* | Fix Bug#43052Michael Albinus2020-08-281-15/+23
| | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test04-substitute-in-file-name): Make user name unique. (Bug#43052)
* | Add commands to run shell commands in project rootStefan Kangas2020-08-283-0/+35
| | | | | | | | | | | | | | | | | | | | * lisp/progmodes/project.el (project-async-shell-command) (project-shell-command): New commands to run 'async-shell-command' and 'shell-command' in project's root directory. (project-prefix-map): Bind commands to '!' and '&'. * doc/emacs/maintaining.texi (Project File Commands): Document the new commands. * etc/NEWS: Announce the new commands.
* | Make XEmacs compat aliases obsolete in warnings.elStefan Kangas2020-08-281-2/+4
| | | | | | | | | | | | * lisp/emacs-lisp/warnings.el (display-warning-minimum-level) (log-warning-minimum-level): Make XEmacs compat aliases into obsolete aliases for 'warning-minimum-level' and 'warning-minimum-log-level'.
* | Use lexical-binding in warnings.el and add testsStefan Kangas2020-08-282-5/+61
| | | | | | | | | | | | | | * lisp/warnings.el: Use lexical-binding. Remove redundant :group args. * test/lisp/warnings-tests.el: New file.
* | New eieio-persistent-make-instance generic functionEric Abrahamsen2020-08-281-41/+39
| | | | | | | | | | | | | | | | | | | | This allows override of the read process for eieio-persistent objects, providing the possibility of matching read/write customization for eieio-persistent subclasses. * lisp/emacs-lisp/eieio-base.el (eieio-persistent-make-instance): New generic function for constructing instances from object data written to disk. Previously known as eieio-persistent-convert-list-to-object.
* | Remove redundant slot validation in eieio-persistent-readEric Abrahamsen2020-08-281-148/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Actual object creation (in `make-instance') will later run all slot values through cl-typep, which does a better job of validation. This validation is redundant, and slows the read process down. * lisp/emacs-lisp/eieio-base.el (eieio-persistent-fix-value): Rename from `eieio-persistent-validate/fix-slot-value', as we no longer validate, and we don't care about the slot definition. (eieio-persistent-slot-type-is-class-p): Delete function. (eieio-persistent-convert-list-to-object): Still call `eieio--full-class-object', to trigger an autoload if necessary, but discard the return value.
* | Fix indent-region for identifiers with underscores in cperl-modeHarald Jörg2020-08-281-4/+4
| | | | | | | | | | | | | | * lisp/progmodes/cperl-mode.el (cperl-fix-line-spacing): Fix Bug#18985. Hash keys or function names starting with a Perl keyword followed by an underscore (as in "for_me" are no longer split into two words by M-x indent-region.
* | * lisp/mwheel.el: Improve package description.Stefan Kangas2020-08-281-2/+2
| |
* | * test/src/fileio-tests.el: Preserve HOME when a test failsMattias Engdegård2020-08-281-6/+4
| |
* | Fix most of fileio-tests on MS-WindowsEli Zaretskii2020-08-281-7/+23
| | | | | | | | | | | | * test/src/fileio-tests.el (fileio-tests--HOME-trailing-slash) (fileio-tests--expand-file-name-trailing-slash): Account for drive letters in MS-Windows/MS-DOS file names. (Bug#26911)
* | Fix recently-introduced expand-file-name bugPaul Eggert2020-08-272-25/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug was that (expand-file-name "~") returned something like "/home/eggert/" instead of "/home/eggert". Problem reported by Mattias Engdegård (Bug#26911#27). * src/fileio.c (Fexpand_file_name): When concatenating NEWDIR to NM, instead of stripping trailing slashes from NEWDIR (which can turn non-symlinks into symlinks), strip leading slashes from NM. This also simplifies the code by removing no-longer-needed DOS_NT special-casing. Also, remove an unnecessary ‘target[length] = 0;’ as that byte will be overwritten by the next memcpy anyway. * test/src/fileio-tests.el (fileio-tests--HOME-trailing-slash): New test.
* | Set Gnus server 'closed status in gnus-close-serverEric Abrahamsen2020-08-272-5/+7
| | | | | | | | | | * lisp/gnus/gnus-int.el (gnus-close-server): Set 'closed status here. * lisp/gnus/gnus-group.el (gnus-group-suspend): Not here.
* | Switch Gnus D-Bus signal from :session to :systemEric Abrahamsen2020-08-271-1/+1
| | | | | | | | | | | | * lisp/gnus/gnus-dbus.el (gnus-dbus-register-sleep-signal): Apparently this needs to be :system -- perhaps because PrepareForSleep is a system-level event?
* | Adapt tramp-testsMichael Albinus2020-08-271-11/+8
| | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test05-expand-file-name) (tramp-test05-expand-file-name-relative): Adapt tests.
* | ; * etc/NEWS: Fix formatting of a recently-added entry.Eli Zaretskii2020-08-271-2/+1
| |
* | Keep the user theme in sync when marking a variable as setMauro Aranda2020-08-271-0/+3
| | | | | | | | | | | | | | * lisp/custom.el (customize-mark-as-set): Keep the user theme in sync even if the new value of the variable is the saved-value or the standard-value. If we don't do this, custom themes might end up stepping over the user preferences in a session (bug#28904).
* | Make minibuf-eldef respect minibuffer-default-prompt-formatLars Ingebrigtsen2020-08-271-4/+18
| | | | | | | | | | * lisp/minibuf-eldef.el (minibuffer-default--in-prompt-regexps): Take minibuffer-default-prompt-format into account.
* | Substitute command keys in display-local-helpStefan Kangas2020-08-271-1/+4
| | | | | | | | | | | | | | | | | | * lisp/help-at-pt.el (display-local-help): Pass 'help-echo' property through 'substitute-command-keys' before displaying to be consistent with tooltips. (Bug#37628) This was discussed in: https://lists.gnu.org/archive/html/emacs-devel/2019-10/msg00090.html
* | Prevent spurious tabs by RET in todo-edit-mode (bug#43068)Stephen Berman2020-08-273-11/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calendar/todo-mode.el (todo-key-bindings-t) (todo-edit-mode-map): Remove remapping of `newline' to `newline-and-indent'. (todo-modes-set-1): Remove local setting of `indent-line-function'. (todo-edit-mode): Locally set `indent-line-function' to `todo-indent'. * test/lisp/calendar/todo-mode-tests.el (todo-test-move-item05): Prevent interactive test failure. (Until the addition of testcat4 to todo-test-1.todo, the test passed by chance, since testcat3 is empty and has no archived items.) (todo-test-edit-item-date-month): Refer to bug number. (todo-test-multiline-item-indentation-1) (todo-test-multiline-item-indentation-2) (todo-test-multiline-item-indentation-3): New tests. * test/lisp/calendar/todo-mode-resources/todo-test-1.todo: Remove spurious tabs from testcat1.
* | Minor clean up in flyspell.elStefan Kangas2020-08-271-8/+5
| | | | | | | | | | * lisp/textmodes/flyspell.el (flyspell-buffers): Declare obsolete. (flyspell--prev-meta-tab-binding): Doc fix.