aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fix untidinesses in compile.el.Alan Mackenzie2019-09-081-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/compile.el (compilation--margin-string): Renamed from compilation-margin-string. Use defconst rather than defvar. Use propertize rather than a separate put-text-property. Trim the doc string.
| * | | Fix Bug#36090Michael Albinus2019-09-081-6/+12
| | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-hg.el (vc-hg--pushpull, vc-hg-merge-branch) (vc-hg-command): Disable pager. (Bug#36090)
| * | | Fix Bug#37202Michael Albinus2019-09-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/shadowfile-tests.el (shadow-test08-shadow-todo) (shadow-test09-shadow-copy-files): Use truename of `shadow-test-remote-temporary-file-directory'. (Bug#37202)
| * | | Fix bug when gc-cons-percentage is bumped to 0.8Paul Eggert2019-09-071-17/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Michael Heerdegen (Bug#37321). * src/alloc.c (gc_threshold): New static var. (bump_consing_until_gc): Change args from DIFF to THRESHOLD and PERCENTAGE. All uses changed. When accounting for a changed gc-cons-percentage, do not assume that total_bytes_of_live_objects returns the same value now that it did the last time we were called.
| * | | Use derived-mode-p consistently in info.elStefan Kangas2019-09-081-3/+3
| | | | | | | | | | | | | | | | | | | | * lisp/info.el (Info-hide-note-references, info-display-manual) (info--manual-names): Use derived-mode-p. (Bug#27583)
| * | | Let byte-compiler recognize that local-variable-p implies boundpNoam Postavsky2019-09-072-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Add arguments to local-variable-p to the bound list. * lisp/image-mode.el (image-toggle-display-image): Remove no longer needed boundp check.
| * | | Fix flymake-proc temporary file deletion bugJoel Rosdahl2019-09-071-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * list/progmodes/flymake-proc.el (flymake-proc-create-temp-inplace): Include a time string part (hour + minute + second + nanosecond) in the temporary name to make it unique enough. (flymake-proc-legacy-flymake): Store temporary file names in the process for usage in the sentinel. (flymake-proc--process-sentinel): Bind values of temporary file names dynamically to values stored in the process so that the cleanup function will delete the correct temporary file(s). Fixes bug#31981.
| * | | Support visiting compressed image filesEli Zaretskii2019-09-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/image-mode.el (image-toggle-display-image): Support visiting compressed image files which are uncompressed by jka-compr.el. (Bug#37330)
| * | | Add traces in shadowfileMichael Albinus2019-09-072-25/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/shadowfile.el (shadow-add-to-todo) (shadow-remove-from-todo, shadow-save-todo-file): * test/lisp/shadowfile-tests.el (shadow-test08-shadow-todo): Add traces.
| * | | Fix input method operation on read-only textEvgeny Zajcev2019-09-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/international/quail.el (quail-input-method): Check also read-only property of text in addition to the buffer's read-only state.
| * | | ; (server-goto-toplevel): Fix comment to reflect the code.Eli Zaretskii2019-09-071-1/+0
| | | |
| * | | Allow client connections when in recursive-editEli Zaretskii2019-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/server.el (server-goto-toplevel): Check minibuffer depth, not recursion depth. This avoids exiting recursive-edit if a client connection is accepted during recursive-edit. (Bug#37176)
| * | | Set inhibit-compacting-font-caches to t by default on MS-WindowsEli Zaretskii2019-09-072-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/font.c (syms_of_font) [WINDOWSNT]: Set inhibit-compacting-font-caches to t by default. * etc/NEWS: Mention the change.
| * | | Allow Zs characters to be composedEli Zaretskii2019-09-072-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/composite.c (char_composable_p): Allow SPC and other Zs characters to be composed. * lisp/composite.el (compose-gstring-for-graphic): Don't reject characters whose general category is Zs. (Bug#14461)
| * | | Revert "file-truename now uses realpath for local files"Eli Zaretskii2019-09-072-50/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a59839d7556ef85058e09b005f0ff32e59b20ec3. This commit broke the MS-Windows build (because there's no realpath on MS-Windows). Even if I change the implementation to always signal an error on MS-Windows, the build fails.
| * | | file-truename now uses realpath for local filesPaul Eggert2019-09-062-3/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This uses fewer syscalls on GNU/Linux and other GNUish platforms. * lisp/files.el (file-truename): Try fileio--truename if there are no handlers. * src/fileio.c: Include stdlib.h, for realpath. (Ffileio__truename): New function.
| * | | Improve file name completion in file and directory widgets (Bug#7779)Mauro Aranda2019-09-061-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/wid-edit.el (widget 'file, widget 'directory): Respect the option read-file-name-completion-ignore-case. (widget 'directory): Filter the file names, to only perform directory name completion.
| * | | Fix erc-lurker-update-status (bug#36843)Amin Bandali2019-09-051-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Broken since 2013-08-22 "* lisp/erc/erc.el: Use lexical-binding". * lisp/erc/erc.el (erc-message-parsed): New variable. (erc-display-message): Dynamically bind it. (erc-lurker-update-status): Check it instead of using `parsed' directly. This results in `erc-lurker-state' being properly updated to keep track of non-lurkers, and thus `erc-lurker-p' returning correct results rather than return t for everyone.
| * | | Fix bugs when recalculating consing_until_gcPaul Eggert2019-09-051-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Joseph Mingrone (Bug#37006#72). * src/alloc.c (watch_gc_cons_threshold) (watch_gc_cons_percentage): Don’t try to store an intmax_t into an int. Redo to make the code clearer. (watch_gc_cons_percentage): Use gc_cons_threshold, not consing_until_gc.
| * | | Port :safe-renegotiation test to GnuTLS < 3.6.3Paul Eggert2019-09-051-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Robert Pluim in https://lists.gnu.org/r/emacs-devel/2019-09/msg00127.html * src/gnutls.c (Fgnutls_peer_status): Simplify test for whether the :safe-renegotiation result is needed, so that it works all the way back to GnuTLS 2.12.2.
| * | | Further fix for network-security-protocol-checksLars Ingebrigtsen2019-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | * lisp/net/nsm.el (network-security-protocol-checks): Fix the defcustom type some more (bug#37306).
| * | | Fix defcustom type of network-security-protocol-checksLars Ingebrigtsen2019-09-051-6/+1
| | | | | | | | | | | | | | | | | | | | * lisp/net/nsm.el (network-security-protocol-checks): Fix the defcustom type (bug#37306).
| * | | Use plain ‘static’ for Emacs C inline functionsPaul Eggert2019-09-041-9/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This improved performance of ‘make compile-always’ by 8.2% on my platform (AMD Phenom II X4 910e, Fedora 30 x86-64). * src/conf_post.h (INLINE, EXTERN_INLINE, INLINE_HEADER_BEGIN) (INLINE_HEADER_END) [!EMACS_EXTERN_INLINE]: Use plain ‘static’.
| * | | Tweak xd_append_arg to pacify -Wnull-dereferencePaul Eggert2019-09-041-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | * src/dbusbind.c (xd_append_arg): Redo to pacify gcc -Wnull-dereference. Also, check that the Lisp string won’t overrun the C signature buffer.
| * | | Don't check for :safe-renegotiation with TLS1.3Robert Pluim2019-09-041-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/nsm.el (nsm-protocol-check--renegotiation-info-ext): Don't check when using TLS1.3, renegotiation has been removed from TLS. Reported in <https://lists.gnu.org/archive/html/help-gnu-emacs/2019-09/msg00005.html>
| * | | Don’t mention :safe-renegotiation in TLS 1.3Paul Eggert2019-09-041-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | * src/gnutls.c (Fgnutls_peer_status): Don’t put the safe-renegotiation indication into the status in TLS 1.3, which removed support for renegotiation.
| * | | Fix nsm for unencrypted connectionsRobert Pluim2019-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When connecting using a cleartext connection, nsm was erroring out and tearing down the connection because it was trying to display nonexistent certificate information. * lisp/net/nsm.el (nsm-query-user): Only format certificate status when it is valid. (Bug#37221)
| * | | Port pdumper mmap to AIXPaul Eggert2019-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | * src/pdumper.c (needs_mmap_retry_p) [_AIX]: Return true. Problem observed on AIX 7.1 and 7.2 in GCC compile farm.
| * | | Port to platforms with Xrender lib but not headerPaul Eggert2019-09-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (HAVE_XRENDER): Also require ‘#include <X11/extensions/Xrender.h>’ to work. Problem found on gcc119 in GCC compile farm.
| * | | Correct arguments to `skip-syntax-forward'Mattias Engdegård2019-09-041-2/+2
| | | | | | | | | | | | | | | | | | | | * lisp/wid-edit.el (widget-sexp-validate): Fix bad calls to `skip-syntax-forward', whose argument is not a regexp.
| * | | Make the NSM not pop up an X dialogue on non-mouse actionsLars Ingebrigtsen2019-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/rmc.el (read-multiple-choice): Don't pop up X dialogues on (url-retrieve "https://expired.badssl.com/" #'ignore) and the like.
| * | | Preserve more markers when reverting .gpg filesLars Ingebrigtsen2019-09-042-18/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/epa-file.el (epa-file--replace-text): Gingerly replace the text in the buffer to preserve as many markers as possible (bug#34720). This emulates the behaviour of Finsert_file_contents more accurately. (epa-file-decode-and-insert): Remove compat code. (epa-file-insert-file-contents): Use the new function. * lisp/emacs-lisp/cl-lib.el (cl-incf): Add autoload cookie.
| * | | Repair change to compilation-context-lines (bug#36832)Mattias Engdegård2019-09-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/compile.el (compilation-set-window): Restore proper behaviour when compilation-context-lines is nil, which is the default.
| * | | Further work on Bug#37202Michael Albinus2019-09-041-22/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/shadowfile-tests.el (shadow-debug): Set to t. (shadow--tests-cleanup): Simplify. (shadow-test*): Call `shadow-initialize'. (shadow-test08-shadow-todo, shadow-test09-shadow-copy-files): In cleanup, kill buffers used for test. (top): Do not initialize.
| * | | * lisp/net/tramp.el (tramp-process-sentinel): Use `process-buffer'.Michael Albinus2019-09-041-5/+5
| | | |
| * | | * src/systime.h (hz): #undef to work around AIX build issue.Paul Eggert2019-09-031-0/+2
| | | |
| * | | Prefer functions to macros in buffer.hPaul Eggert2019-09-031-266/+395
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In buffer.h, prefer inline functions to function-like macros when either will do. This helps avoid confusion about how many times an arg is evaluated. On my platform, this patch improves performance of ‘make compile-always’ by 5.7%. Also, prefer enum constants to object-like macros when either will do. * src/buffer.h (BEG, BEG_BYTE, GAP_BYTES_DFL, GAP_BYTES_MIN) (MAX_PER_BUFFER_VARS, NONEXISTENT_MODTIME_NSECS) (UNKNOWN_MODTIME_NSECS, BUFFER_LISP_SIZE, BUFFER_REST_SIZE): Now enum constants, instead of macros. (BUFFER_CEILING_OF, BUFFER_FLOOR_OF, BUF_BEG, BUF_BEG_BYTE) (BUF_BEGV, BUF_BEGV_BYTE, BUF_PT, BUF_PT_BYTE, BUF_ZV) (BUF_ZV_BYTE, BUF_GPT_ADDR, BUF_Z_ADDR, BUF_GAP_END_ADDR) (BUF_COMPUTE_UNCHANGED, SET_PT, TEMP_SET_PT, SET_PT_BOTH) (TEMP_SET_PT_BOTH, BUF_TEMP_SET_PT, SET_BUF_BEGV, SET_BUF_ZV) (SET_BUF_BEGV_BOTH, SET_BUF_ZV_BOTH, SET_BUF_PT_BOTH) (BYTE_POS_ADDR, CHAR_POS_ADDR, CHAR_TO_BYTE, BYTE_TO_CHAR) (PTR_BYTE_POS, FETCH_CHAR, FETCH_CHAR_AS_MULTIBYTE) (BUF_BYTE_ADDRESS, BUF_CHAR_ADDRESS, BUF_PTR_BYTE_POS) (BUF_FETCH_CHAR, BUF_FETCH_CHAR_AS_MULTIBYTE, BUF_FETCH_BYTE) (BUFFER_PVEC_INIT, BUFFER_LIVE_P, BUFFER_HIDDEN_P) (BUFFER_CHECK_INDIRECTION, OVERLAY_POSITION, PER_BUFFER_VALUE_P) (SET_PER_BUFFER_VALUE_P, PER_BUFFER_IDX): Now inline functions instead of macros.
| * | | * src/xdisp.c (hscroll_window_tree): Fix type typo.Paul Eggert2019-09-031-1/+2
| | | |
| * | | Take last_per_buffer_idx privatePaul Eggert2019-09-032-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will simplify future changes. Turn the runtime check into an eassert, since it’s not needed in production. * src/buffer.c (last_per_buffer_idx): Now static. (valid_per_buffer_idx): New function. * src/buffer.h (PER_BUFFER_VALUE_P, SET_PER_BUFFER_VALUE_P): Use it.
| * | | Avoid macros in pdumper.c when it’s easyPaul Eggert2019-09-031-98/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem with DUMP_SET_REFERRER mentioned by Pip Cet at end of: https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00548.html * src/pdumper.c (DANGEROUS, EMACS_RELOC_TYPE_BITS) (EMACS_RELOC_LENGTH_BITS, DUMP_RELOC_TYPE_BITS) (DUMP_RELOC_ALIGNMENT_BITS, DUMP_RELOC_OFFSET_BITS) (DUMP_RELOCATION_ALIGNMENT, DUMP_ALIGNMENT) (WEIGHT_NONE, WEIGHT_NORMAL, WEIGHT_STRONG) (PDUMPER_MAX_OBJECT_SIZE): Now a constant, not a macro. (divide_round_up): Now a function, not a macro DIVIDE_ROUND_UP. All uses changed. (enum link_weight_enum, WEIGHT_NONE_VALUE) (WEIGHT_NORMAL_VALUE, WEIGHT_STRONG_VALUE): Remove. (struct link_weight): Just use an int. (dump_set_referrer): New function, replacing DUMP_SET_REFERRER macro with a different API. All uses changed. (dump_clear_referrer): Rename from DUMP_CLEAR_REFERRER. All uses changed. (DEFINE_FROMLISP_FUNC, DEFINE_TOLISP_FUNC): Remove. (intmax_t_from_lisp, intmax_t_to_lisp, dump_off_from_lisp) (dump_off_to_lisp): Define without using macros, (dump_off_from_lisp): Add an eassert range check. (DUMP_FIELD_COPY): Simplify.
| * | | Avoid casting -1 to possibly-unsigned enumPaul Eggert2019-09-033-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c (mark_maybe_pointer): * src/pdumper.h (pdumper_object_p_precise): Use pdumper_valid_object_type_p. * src/pdumper.c (pdumper_find_object_type_impl): * src/pdumper.h (pdumper_find_object_type): Return int, not enum Lisp_Type. All callers changed. * src/pdumper.h (PDUMPER_NO_OBJECT): Do not cast -1 to enum Lisp_Type; in theory, C18 says this could yield 7, which would mean PDUMPER_NO_OBJECT == Lisp_Float (!). (pdumper_valid_object_type_p): New function.
| * | | Run tramp cleanup in correct bufferDaniel Colascione2019-09-031-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #37297. * lisp/net/tramp.el (tramp-process-sentinel): Do process-end cleanup in the tramp buffer, not a random file buffer.
| * | | Sync consing_until_gc with gc-cons-thresholdPaul Eggert2019-09-031-19/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add watchers for gc-cons-threshold and gc-cons-percentage that update consing_until_gc accordingly. Suggested by Eli Zaretskii (Bug#37006#52). * src/alloc.c (consing_threshold, bump_consing_until_gc) (watch_gc_cons_threshold, watch_gc_cons_percentage): New functions. (garbage_collect_1): Use consing_threshold. (syms_of_alloc): Arrange to watch gc-cons-threshold and gc-cons-percentage.
| * | | Use left margin to hold "=>" to indicate current error in fringeless windowsAlan Mackenzie2019-09-031-26/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This applies to compilation-mode. It amends the fix for bug #36832. * lisp/progmodes/compile.el (compilation-arrow-overlay): renamed from overlay-arrow-overlay. (compilation-margin-string, compilation--dummy-string): New variables. (compilation-set-up-arrow-spec-in-margin) (compilation-tear-down-arrow-spec-in-margin): New functions. (compilation-set-overlay-arrow): Rewritten to use the new variables/functions.
| * | | Fix Bug#37202Michael Albinus2019-09-032-97/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/shadowfile.el (shadow-debug): New defvar. (shadow-read-files): Suppress error if there's no TODO file. * test/lisp/shadowfile-tests.el (shadow-debug): Set to nil. (shadow--tests-cleanup): New defun. Apply to all tests. (Bug#37202) (shadow-test06-literal-groups): Cleanup temp buffer. (shadow-test08-shadow-todo): Add debug messages. (top): Cleanup initially.
| * | | Update from GnulibPaul Eggert2019-09-026-158/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This incorporates: 2019-08-25 intprops.h, verify.h: port better to clang 2019-08-21 New strip-trailing-space option for srclist-update * .gitattributes: Remove doc/misc/texinfo.tex special case, which is no longer needed now that Gnulib trims blank-at-eol. * build-aux/install-sh, doc/misc/texinfo.tex, lib/intprops.h: * lib/regex_internal.c, lib/verify.h: Copy from Gnulib.
| * | | * doc/lispref/files.texi (Standard File Names): Mention .emacs.d too.Paul Eggert2019-09-021-2/+2
| | | |
| * | | Reword documentation markup descriptionRobert Pluim2019-09-021-3/+3
| | | | | | | | | | | | | | | | * etc/NEWS: Reword temporary note about documentation updates.
| * | | Add 'nsm-trust-local-network' to NEWSRobert Pluim2019-09-021-0/+8
| | | | | | | | | | | | | | | | | | | | * etc/NEWS: Describe 'nsm-trust-local-network', and warn against its use.
| * | | * admin/admin.el (set-version): Check for empty NEWS sections.Glenn Morris2019-09-011-0/+4
| | | |