- 29 Jun, 2018 6 commits
-
-
João Távora authored
* lisp/jsonrpc.el: New file * test/lisp/jsonrpc-tests.el: New file
-
Andreas Schwab authored
-
Andreas Schwab authored
* lisp/url/url-http.el (url-https-proxy-after-change-function): Bind url-http-proxy to nil around url-http-create-request.
-
Michael Albinus authored
* doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.0". * lisp/net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted): Ignore unknown GVFS methods. * test/lisp/net/tramp-tests.el (tramp-test42-asynchronous-requests): Tag as :unstable.
-
Paul Eggert authored
-
Noam Postavsky authored
* lisp/vc/ediff-util.el (ediff-inferior-compare-regions): Ask user whether to compare against the ancestor or merge buffer. Use read-multiple-choice for A vs B buffer query.
-
- 28 Jun, 2018 2 commits
-
-
Paul Eggert authored
Problem reported by Andy Moreton (Bug#31996). * src/lisp.h (union specbinding.unwind_array): Remove unused member func. Move array after nelts, as this is likely to generate more efficient code in safe_free, which can call xfree with the same value either way. (safe_free): Also handle SPECPDL_UNWIND_AWAY.
-
Paul Eggert authored
On my platform (Fedora 28 x86-64, AMD Phenom II X4 910e) this sped up a SAFE_FREE-using microbenchmark (string-distance "abc" "abc") by about 18%, and shrank the Emacs text size by about 0.1%. * src/callint.c (Fcall_interactively): * src/callproc.c (call_process): * src/doc.c (get_doc_string, Fsnarf_documentation): * src/editfns.c (Freplace_buffer_contents): * src/emacs-module.c (funcall_module): * src/eval.c (Flet): * src/process.c (Fmake_process): * src/term.c (tty_menu_show): * src/xdisp.c (safe__call): * src/xmenu.c (x_menu_show): Use SAFE_FREE_UNBIND_TO. * src/data.c (wrong_choice): No need to call SAFE_FREE here. * src/lisp.h (USE_SAFE_ALLOCA): * src/regex.c (REGEX_USE_SAFE_ALLOCA): Do not declare sa_must_free local; no longer needed. All uses removed. (SAFE_FREE): Rewrite in terms of safe_free. (safe_free): New function, optimized to use xfree. (SAFE_FREE_UNBIND_TO): New macro. (safe_free_unbind_to): New function.
-
- 27 Jun, 2018 3 commits
-
-
Eli Zaretskii authored
-
João Távora authored
Fixes: Bug#31951 * lisp/server.el (server-save-buffers-kill-terminal): Only pass PRED=t to save-some-bufers if ARG in non-nil.
-
Vincent Belaïche authored
-
- 26 Jun, 2018 2 commits
-
-
Glenn Morris authored
12c77f69 (origin/emacs-26) Add ido-fallback special variable (Bug#31707) 826e8d1f Merge branch 'emacs-26' of git.sv.gnu.org:/srv/git/emacs into... c7848767 Tighten a cross-reference in documentation 517dc0b1 Fix last change in tramp-sh.el f43186fe Revert previous patch; comment was OK after all. 4c3306e1 Fix lead comment for count_trailing_zero_bits b419f27a ; * doc/emacs/files.texi (Interlocking): Fix a non-portable @... 7488de4f * lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix docstring q... 0b698070 Make a minor update to the CSS mode docstring 9a53b6d4 Say how to override a primitive interactive spec 1d770788 Fix Bug#31941
-
Christophe Junke authored
Before ido.el switch to lexical-binding, it was possible for other packages to modify the 'fallback' variables declared inside 'ido-file-internal' and 'ido-buffer-internal'. * lisp/ido.el (ido-fallback): New variable. (ido-buffer-internal, ido-file-internal): Reset ido-fallback to nil before prompting user. Use ido-fallback when ido-exit is 'fallback'. (ido-fallback-command): Add optional FALLBACK-COMMAND argument. Copyright-paperwork-exempt: yes
-
- 25 Jun, 2018 14 commits
-
-
Jean-Christophe Helary authored
* lisp/emacs-lisp/package.el (package-buffer-info) (package--download-one-archive, package-install-selected-packages) (package-autoremove, describe-package-1, package-menu-toggle-hiding) (package-menu-hide-package, package-menu--mark-upgrades-1) (package-menu--list-to-prompt, package-menu--prompt-transaction-p) (package-menu-execute, package-menu--find-and-notify-upgrades): Reformat message strings to remove need for plural computation. Try to put full sentences in source string literals. * test/lisp/emacs-lisp/package-tests.el (package-test-describe-package): Update to match new message format.
-
Noam Postavsky authored
* lisp/electric.el (electric-indent-post-self-insert-function): Suppress errors from indent code, but don't suppress errors from elsewhere in this function. That way, if trouble is encountered with electric indent "not working", the error should be reproducible by calling indent directly (as is the case for Bug#18764), or else it's from the electric indent code and will be reported normally.
-
Paul Eggert authored
Problem reported by Paul Pogonyshev (Bug#31938). * src/editfns.c: Include math.h, for trunc. (styled_format): For %d, truncate floating-point numbers and convert -0 to 0, going back to how Emacs 26 did things. * doc/lispref/strings.texi (Formatting Strings): Document behavior of %o, %d, %x, %X on floating-point numbers. * src/floatfns.c (trunc) [!HAVE_TRUNC]: Rename from emacs_trunc and make it an extern function, so that editfns.c can use it. All callers changed. * test/src/editfns-tests.el (format-%d-float): New test.
-
Michael Albinus authored
-
Karl Fogel authored
* doc/lispref/internals.texi (Writing Emacs Primitives): Switch to a simple parenthetical cross-reference, following up to my commit 9a53b6d4 of 2018-06-24. See discussion: https://lists.gnu.org/archive/html/emacs-devel/2018-06/msg00826.html From: Eli Zaretskii Subject: Re: [Emacs-diffs] \ emacs-26 9a53b6d4: Say how to override a primitive interactive spec To: Karl Fogel CC: Stefan Monnier, Emacs Devel Date: Mon, 25 Jun 2018 17:41:53 +0300 Message-Id: <83r2kvrkr2.fsf@gnu.org>
-
Lars Ingebrigtsen authored
* doc/emacs/misc.texi (Network Security): Ditto. * lisp/net/nsm.el (network-security-protocol-checks): Fix spelling on "intermediate". (nsm-protocol-check--intermediate-sha1): Ditto.
-
Lars Ingebrigtsen authored
* src/gnutls.c (gnutls_verify_boot): Remove reduntant setting of p->gnutls_certificates, which is now performed by gnutls_deinit_certificates.
-
Michael Albinus authored
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-directly): Use "-R" rather than "-r" for recursive copy of directories.
-
João Távora authored
Fixes: Bug#31921 * doc/misc/flymake.texi (Using Flymake): Mention display-local-help.
-
Paul Eggert authored
-
Paul Eggert authored
* src/data.c (count_trailing_zero_bits): Fix comment to match code.
-
Noam Postavsky authored
-
Lars Ingebrigtsen authored
* lisp/net/nsm.el (nsm-protocol-check--intermediary-sha1): Make the "skip the root cert" logic work (suggested by Noam Postavsky).
-
Lars Ingebrigtsen authored
* src/gnutls.c (Fgnutls_peer_status): certs theoretically may be nil, so don't use XCAR.
-
- 24 Jun, 2018 12 commits
-
-
Noam Postavsky authored
* doc/emacs/misc.texi (Network Security): Fix the description of the 3DES weakness.
-
Lars Ingebrigtsen authored
* doc/emacs/misc.texi (Network Security): Update the doc to say what's on the different levels. * lisp/net/nsm.el (nsm-protocol-check--intermediary-sha1): Check intermediary certificates for SHA1. (nsm-protocol-check--3des): Check for 3DES ciphers. (network-security-protocol-checks): Put most of the checks on `medium'.
-
Lars Ingebrigtsen authored
* src/gnutls.c (Fgnutls_peer_status): Minor optimisation to avoid computing the topmost certificate twice.
-
Lars Ingebrigtsen authored
* src/gnutls.c (gnutls_deinit_certificates): New function. (Fgnutls_peer_status): Return all certificates in the chain back to Lisp land. (gnutls_verify_boot): Compute all the x509 certificates in the chain. * src/process.h (struct Lisp_Process): Adjust gnutls fields so that we can keep tracks of all certificates in the chain instead of just the host certificate.
-
Tom Tromey authored
Fixes bug#23565 * lisp/progmodes/tcl.el (tcl-mode): Set beginning-of-defun-function and end-of-defun-function. (tcl-beginning-of-defun-function, tcl-end-of-defun-function): New defuns. * test/lisp/progmodes/tcl-tests.el: New file.
-
Eli Zaretskii authored
-
Noam Postavsky authored
-
Lars Ingebrigtsen authored
* lisp/net/nsm.el (nsm-check-protocol): Fix reverse test in previous check-in.
-
Lars Ingebrigtsen authored
* doc/emacs/misc.texi (Network Security): Mention network-security-protocol-checks. * lisp/net/nsm.el (network-security-protocol-checks): New variable. (nsm-check-protocol): Refactor the checks into separate functions for greater flexibility. (nsm-protocol-check--diffie-hellman-prime-bits) (nsm-protocol-check--rc4, nsm-protocol-check--ssl) (nsm-protocol-check--signature-sha1): Refactored out of the big function.
-
Simen Heggestøyl authored
* lisp/textmodes/css-mode.el (css-mode): Mention 'fill-paragraph'.
-
Karl Fogel authored
* doc/lispref/internals.texi (Writing Emacs Primitives): Mention that the `interactive-form' property can be used to override a primitive interactive specification, and refer to the detailed documentation for setting that property. From this thread on Emacs Devel: https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00923.html From: Eli Zaretskii To: Karl Fogel CC: Juri Linkov, Emacs Devel Subject: Re: [Emacs-diffs] \ master b88e7c8b: Make transpose-regions interactive (Bug#30343) Date: Thu, 29 Mar 2018 14:38:15 +0300 Message-Id: <834lkzdsd4.fsf@gnu.org>
-
Michael Albinus authored
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file): In case of FILENAME being a directory, check whether `copy-directory' could be avoided. Suggested by Stephen Nutt <stnutt@gmail.com>. (Bug#31941) (tramp-do-copy-or-rename-file-directly): Call "cp" with "-r".
-
- 23 Jun, 2018 1 commit
-
-
Glenn Morris authored
bbc9d379 (origin/emacs-26) Fix previous change in minibuffer-default-a... 7caeef16 * src/editfns.c (Fformat): Make %x easier to spot in doc stri... ecc29fbd Improve responsiveness while in 'replace-buffer-contents' 8182d648 Improve documentation of 'server-start' and friends decdfedf Clarify wording about functions' argument lists 5abac8bf * lisp/doc-view.el: Fix typos in the commentary. (Bug#31937)
-