- 30 Jan, 2018 1 commit
-
-
Tom Tromey authored
* lib-src/etags.c (copy_entries_from_old_file): Exit from inner loop before copying \f to the TAGS file.
-
- 20 Jan, 2018 2 commits
-
-
Tom Tromey authored
-
Tom Tromey authored
-
- 17 Jan, 2018 4 commits
-
-
Tom Tromey authored
-
Tom Tromey authored
-
Tom Tromey authored
-
Tom Tromey authored
-
- 07 Jan, 2018 11 commits
-
-
Philipp Stephani authored
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--old-style-backquotes): Fix expected error message.
-
Philipp Stephani authored
* src/lread.c (load_error_old_style_backquotes): Remove incorrect use of AUTO_STRING.
-
Tino Calancha authored
* lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause): Dont calculate the array length on each iteration (Bug#29866).
-
Philipp Stephani authored
* src/lread.c (load_error_old_style_backquotes): Improve error message if no file is being loaded. * test/src/lread-tests.el (lread-tests--force-new-style-backquotes): Adapt test.
-
Philipp Stephani authored
* src/lread.c (syms_of_lread): Add new variable 'force-new-style-backquotes'. (read_internal_start): Use it. * test/src/lread-tests.el (lread-tests--force-new-style-backquotes): New test. * etc/NEWS: Document new variable.
-
Philipp Stephani authored
This reverts commit 151496a4. That commit breaks bootstrap builds due to a cyclic dependency.
-
Philipp Stephani authored
* lisp/electric.el (electric-quote-post-self-insert-function): Skip over escape characters when determining whether a context-sensitive quote should be opening or closing. * test/lisp/electric-tests.el (electric-quote-replace-double-escaped-open) (electric-quote-replace-double-escaped-close): New unit tests.
-
Philipp Stephani authored
Before this commit, if 'electric-quote-replace-double' is non-nil, typing " '" turned into " ‘" even if 'electric-quote-context-sensitive' was nil. * lisp/electric.el (electric-quote-post-self-insert-function): Insert context-sensitive double quote only if the last character is actually a double quote character. * test/lisp/electric-tests.el (electric-quote-replace-double-no-context-single): New unit test.
-
Philipp Stephani authored
* lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Don't allow structures with the same names as builtin types. (cl--struct-name-p): New helper function. * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Don't allow structures with the same names as builtin types. * test/lisp/emacs-lisp/cl-macs-tests.el (cl-defstruct/builtin-type): * test/lisp/emacs-lisp/cl-preloaded-tests.el (cl-struct-define/builtin-type): New unit tests. * etc/NEWS: Document changed behavior.
-
Alan Mackenzie authored
-
Noam Postavsky authored
It does not work with more complicated interactive forms, because byte-compile-lambda actually receives an intermediate form of code rather than valid lisp source (Bug#29988). * src/callint.c (Fcall_interactively): * lisp/emacs-lisp/bytecomp.el (byte-compile-lambda): Revert previous change, and update commentary.
-
- 06 Jan, 2018 3 commits
-
-
Alan Third authored
* src/nsfns.m (Fx_show_tip): Get face colors and apply them to the tooltip. * src/nsmenu.m (EmacsTooltip::setBackgroundColor): (EmacsTooltip::setForegroundColor): New functions. * src/nsterm.h (EmacsTooltip::setBackgroundColor): (EmacsTooltip::setForegroundColor): New function prototypes.
-
Alan Mackenzie authored
In the case of two non-contiguous regions the same size, transpose-regions has been calling before-change-functions twice, once for each region. It now calls it just once, for the minimal region spanning both single regions. * src/editfns.c (Ftranspose_regions): Combine two calls of modify_text into one.
-
Michael Albinus authored
* lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Move up. (top): Delete goa methods only when `tramp-gvfs-enabled' is not nil.
-
- 05 Jan, 2018 2 commits
-
-
Michael Albinus authored
* doc/misc/tramp.texi (all): Use @acronym{GNOME} thoroughly. (Using GNOME Online Accounts based methods): Rename from "Using Google Drive". Add `owncloud'. (GVFS based methods): Add `owncloud'. * etc/NEWS: Add Tramp connection method "owncloud". * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "owncloud". Remove goa methods if not supported. (tramp-goa-methods, tramp-goa-service, tramp-goa-path) (tramp-goa-path-accounts, tramp-goa-interface-documents) (tramp-goa-interface-printers, tramp-goa-interface-files) (tramp-goa-interface-contacts, tramp-goa-interface-calendar) (tramp-goa-interface-oauth2based) (tramp-goa-interface-account, tramp-goa-identity-regexp) (tramp-goa-interface-mail, tramp-goa-interface-chat) (tramp-goa-interface-photos, tramp-goa-path-manager) (tramp-goa-interface-documents) (tramp-gvfs-owncloud-default-prefix) (tramp-gvfs-owncloud-default-prefix-regexp): New defconst. (tramp-goa-name): New defstruct. (tramp-gvfs-stringify-dbus-message): Handle all consp messages. (tramp-dbus-function, tramp-gvfs-get-remote-prefix) (tramp-get-goa-accounts): New defun. (with-tramp-dbus-call-method): Use it. (with-tramp-dbus-get-all-properties): New defmacro. (tramp-gvfs-url-file-name) (tramp-gvfs-handler-mounted-unmounted) (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec): Map between "owncloud" and "davs". (tramp-gvfs-maybe-open-connection): Set "vector" connection property. * test/lisp/net/tramp-tests.el (tramp-gvfs-handler-askquestion): Suppress run in tests. (tramp--test-owncloud-p): New defun. (tramp-test11-copy-file, tramp-test12-rename-file): Use it.
-
Jay Kamat authored
- Prevent expansion of quick substitutions when the initial "^" is not at start of line (Bug#29157). - Allow spaces inside substitutions, so "^foo bar^baz" works. - Allow trailing characters after substitution, so "^foo^bar^trailing" works. - Throw an error when substitution does not match. * lisp/eshell/em-hist.el (eshell-expand-history-references): Expand history substitution before other types of expansions, and expand them with the whole line. (eshell-history-substitution): New function to expand only substitutions, taking in the entire typed line rather than individual arguments.
-
- 04 Jan, 2018 3 commits
-
-
Michael Albinus authored
* lisp/net/tramp-archive.el (tramp-archive-handle-temporary-file-directory): Use `tramp-compat-temporary-file-directory'. * test/lisp/net/tramp-archive-tests.el (tramp-archive-test37-make-nearby-temp-file): Wrap `temporary-file-directory' call with `with-no-warnings'.
-
Michael Albinus authored
* lisp/net/tramp-adb.el (tramp-adb-handle-write-region): * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-write-region): * lisp/net/tramp-sh.el (tramp-sh-handle-write-region): * lisp/net/tramp-smb.el (tramp-smb-handle-write-region): Write proper message. * lisp/net/tramp.el (tramp-message-show-message): Change default. * test/lisp/net/tramp-tests.el (ert-x): Require it. (tramp-test10-write-region): Extend test.
-
Noam Postavsky authored
`call-interactively' relies on analyzing the source of `interactive' forms in order to preserve arguments like (region-end) in the command history, rather than just storing the resulting position. However, the byte-compiler does not preserve the source of the interactive form when lexical-binding is in effect, because `call-interactively' would evaluate the form with dynamic binding in that case. To fix this, change `call-interactively' so that it checks compiled functions for lexical-binding as well. Then the byte-compiler can preserve the source of interactive forms regardless of the value of lexical-binding. * src/callint.c (Fcall_interactively): Functions compiled with lexical-binding have their arglist encoded as an integer, use this to choose the right kind of binding for compiled functions too. * lisp/emacs-lisp/bytecomp.el (byte-compile-lambda): Preserve the uncompiled form of the interactive form when lexical-binding is enabled too.
-
- 03 Jan, 2018 1 commit
-
-
Paul Eggert authored
Problem reported by Stefan Monnier (Bug#29957). * src/.gdbinit (xgetptr, xgetint, xgettype): Cast Lisp_Word value to EMACS_INT, since it might be a pointer now.
-
- 02 Jan, 2018 2 commits
-
-
Stephen Leake authored
* doc/lispref/functions.texi (Generic Functions): Fix description of 'struct' specializer; it must be the named struct or a child, not a parent.
-
Michael Albinus authored
-
- 01 Jan, 2018 8 commits
-
-
Glenn Morris authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
Run admin/update-copyright.
-
Paul Eggert authored
63b04c11 Fix copyright years by hand 5c7dd8a7 Update copyright year to 2018 220a9ecb Merge from Gnulib 312c5655 Don't add empty keyboard macro to macro ring (Bug#24992) 39ca289a Allow customization of decoding of "man" command f8240815 * etc/NEWS: Add security consideration note on passphrase ... 0c78822c Fix subtle problem with scroll-down when scroll-margin is ... acd289c5 Fix problems with indexing in User manual b240c784 * lisp/help.el (describe-key): Only (copy-sequence elt) wh... e879a544 * src/buffer.c (Frestore_buffer_modified_p): Fix bug#29846 81b1028b Improve documentation of 'inhibit-modification-hooks' and ... 7175496d Fix doc string of 'enable-recursive-minibuffers' 5b384064 Fix documentation of delsel and of killing text # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex
-
Paul Eggert authored
These are dates that admin/update-copyright did not update, or updated incorrectly.
-
Paul Eggert authored
Run admin/update-copyright.
-
Paul Eggert authored
This incorporates: 2018-01-01 maint: Run 'make update-copyright' 2017-12-29 Add cross-compilation results for GNU/Hurd. 2017-12-12 explicit_bzero: port to macOS + Clang 9.0.0
-
- 31 Dec, 2017 3 commits
-
-
Gemini Lasswell authored
* lisp/kmacro.el (kmacro-end-call-mouse): Don't save a newly defined macro if it is empty. * test/lisp/kmacro-tests.el (kmacro-tests-end-and-call-macro-mouse): Remove expected failure tag.
-
Eli Zaretskii authored
* lisp/man.el (Man-coding-system): New defcustom. (Man-start-calling): Use it, and also pay attention to user overriding coding-system-for-read. (Bug#29872)
-
Daiki Ueno authored
-