- 19 May, 2017 20 commits
-
-
Paul Eggert authored
* .gitignore: modules/mod-test/Makefile was renamed to test/data/emacs-module/Makefile. Omit [0-9]*.core, subsumed by *.core. test/indent/*.new was renamed to test/manual/indent/*.new. Add *.swp, for Vim.
-
Eli Zaretskii authored
-
Stefan Monnier authored
-
Nick Helm authored
* lisp/whitespace.el (whitespace-display-char-on): Correct the way the original buffer-display-table is saved and restored when global-whitespace-mode is active. (Bug#26892) * test/lisp/whitespace-tests.el (whitespace-tests-whitespace-mode-on): New function. (whitespace-tests-display-tables): New test. Copyright-paperwork-exempt: yes
-
Michael Albinus authored
* test/lisp/net/tramp-tests.el (tramp--test-afp-or-smb-p): New defun. (tramp-test05-expand-file-name-relative): Use it. (tramp-test38-unload): Run only in batch mode.
-
Michael Albinus authored
* lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options): Set also "ConnectTimeout" during test. Otherwise, OpenSSH 7 will hang.
-
Jean-Christophe Helary authored
* doc/lispref/strings.texi (Creating Strings): Rearrange text to make it more readable. (Bug#26925)
-
Eli Zaretskii authored
-
Ruslan Bekenev authored
* lisp/mail/rfc2231.el (rfc2231-encode-string): * lisp/mail/rfc2047.el (rfc2047-encode-parameter): * lisp/mail/rfc2045.el (rfc2045-encode-string): Fix typos in doc strings. (Bug#26103)
-
Philipp Stephani authored
If dladdr(3) isn't available or didn't work, the printed representation of a module function will not include the file name, but only the address. Make the tests pass in that case. * test/src/emacs-module-tests.el (module-function-object): Fix match for module function printed representation
-
Jean-Christophe Helary authored
* lisp/emacs-lisp/subr-x.el (string-trim-left, string-trim-right) (string-trim): Add optional args that serve as defaults per the original behavior. (Bug#26908)
-
Stephen Berman authored
* lisp/cus-start.el (standard): Fix typo in value of auto-hscroll-mode.
-
Eli Zaretskii authored
* lib-src/emacsclient.c (main, decode_options) (print_help_and_exit, longopts): New option '--tramp' / '-T' which specifies how emacs should use tramp to find remote files. * doc/emacs/misc.texi (TCP Emacs server): New subsection describing the various knobs to tune server.el for TCP opereation. (emacsclient Options): Reference "TCP Emacs server" from description of --server-file. Document the new '--tramp' / '-T' options. * doc/emacs/emacs.texi (Top): Update the top-level menu. * etc/NEWS: Mention the new option.
-
Eli Zaretskii authored
-
Paul Eggert authored
Problem reported by YAMAMOTO Mitsuharu in: http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00342.html This is related to the fix for Bug#26397. * src/callproc.c (call_process_cleanup, call_process) [!MSDOS]: Report internal error if wait_for_termination fails. * src/sysdep.c (get_child_status): Return -1 if waitpid is buggy, instead of aborting. (wait_for_termination): Return bool success value. All callers changed.
-
Eli Zaretskii authored
* lisp/cus-start.el (standard) <auto-hscroll-mode>: Adjust the defcustom form. Suggested by Stephen Berman <stephen.berman@gmx.net>.
-
Paul Eggert authored
* src/fileio.c (file_name_case_insensitive_p): Don’t compile the (DARWIN_OS_CASE_SENSITIVE_FIXME == 2) code unless DARWIN_OS_CASE_SENSITIVE_FIXME is 2. Problem reported by Philipp Stephani in: http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00495.html
-
Paul Eggert authored
* configure.ac (WERROR_CFLAGS): Omit -Wdouble-promotion if clang. Problem reported by Philipp Stephani in: http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00495.html
-
Paul Eggert authored
* src/emacs-module.c (MODULE_SETJMP_1): Use the local var instead of leaving it unused, to pacify picky compilers. (module_reset_handlerlist): Now takes a dummy pointer to a struct handler *, instead of a dummy pointer to an int. All uses changed.
-
Philipp Stephani authored
* src/sysdep.c (system_process_attributes) [DARWIN_OS]: Remove unused locals.
-
- 18 May, 2017 5 commits
-
-
Eli Zaretskii authored
* src/xdisp.c (hscrolling_current_line_p): New function. (init_iterator): If auto-hscrolling just the current line, don't increment the iterator's first_visible_x and last_visible_x variables. (hscroll_window_tree): Recompute window's hscroll when moving vertically to another screen line. (redisplay_window): If we are hscrolling only the current line, disable the optimizations that rely on the current matrix being up-to-date. (display_line): Accept an additional argument CURSOR_VPOS, the vertical position of the current screen line which might need hscrolling; all callers changed. Compute first_visible_x and last_visible_x specially when auto-hscrolling current line, by repeating the calculation that is done in init_iterator in other modes. (syms_of_xdisp) <auto-hscroll-mode>: No longer boolean, it can now accept a 3rd value 'current-line, to turn on the mode where only the current line is hscrolled. * etc/NEWS: Mention the new auto-hscroll-mode value.
-
Eli Zaretskii authored
* lisp/simple.el (line-move-finish): Fix last change. This corrects a regression in C-n and C-p when lines are truncated, introduced by the change in 2017-05-10.
-
Simen Heggestøyl authored
* lisp/textmodes/css-mode.el (css-completion-at-point, css-mode): Expand docstrings.
-
Tino Calancha authored
Don't use the angle mode, use the angle units included in the expression instead (Bug#23889). * lisp/calc/calc-alg.el (calc-input-angle-units): New defun. (math-simplify): Use it. * lisp/calc/calc-forms.el (math-to-hms, math-from-hms): Don't use calc-angle-mode if math-simplifying-units is non-nil. * lisp/calc/calc-math.el (calcFunc-nroot, math-from-radians) (math-to-radians-2, math-from-radians-2): Don't convert angle to radians if math-simplifying-units is non-nil. * test/lisp/calc/calc-tests.el (test-calc-23889): Add test.
-
Tino Calancha authored
This reverts commit 713e9222. This commit causes Bug#25652.
-
- 17 May, 2017 9 commits
-
-
Paul Eggert authored
-
Paul Eggert authored
Problem noted by Philipp Stephani in: http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00391.html * src/conf_post.h (ATTRIBUTE_MAY_ALIAS, DECLARE_POINTER_ALIAS): New macros. * src/process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr) (connect_network_socket, network_interface_info) (server_accept_connection): Use it when aliasing non-char objects.
-
Stefan Monnier authored
Rename from smerge-refine-subst. Allow the `beg's to be markers. Add autoload cookie. (smerge--refine-forward): Rename from smerge-refine-forward. (smerge--refine-chopup-region): Rename from smerge-refine-chopup-region. Assume that its `beg` arg is a marker. (smerge--refine-highlight-change): Rename from smerge-refine-highlight-change. Remove `buf` arg. (smerge-refine-subst): Redefine as an obsolete alias.
-
Paul Eggert authored
Problem reported by Jim Meyering in: http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00246.html * src/conf_post.h (vfork) [ADDRESS_SANITIZER]: Define to fork. Unfortunately with the AddressSanitizer in Fedora 25 x86-64, the vforked child messes up the parent’s shadow memory. This is too bad, as we’d rather have AddressSanitizer catch memory-access bugs related to vfork.
-
Paul Eggert authored
* src/process.c (connect_network_socket): Use verify, not eassert, so that any problems are caught at compile-time. Avoid dodgy cast by using a local var of the correct type.
-
Paul Eggert authored
* src/composite.c (autocmp_chars) [!HAVE_WINDOW_SYSTEM]: Avoid unused local.
-
Glenn Morris authored
-
Glenn Morris authored
* lisp/emacs-lisp/autoload.el (autoload-rubric): Stop providing a feature unless explicitly requested. (autoload-find-generated-file): Update autoload-rubric call.
-
Eli Zaretskii authored
* src/process.c (connect_network_socket) [HAVE_GETSOCKNAME]: Remove redundant type-casting and variables. Don't call 'getsockname' to find the port for AF_LOCAL sockets. [AF_INET6]: Add an assertion to verify that the ports in the IPv4 and IPv6 structures are at the same offset and have the same size.
-
- 16 May, 2017 6 commits
-
-
Paul Eggert authored
* src/editfns.c (wall_clock_tz): Remove; unused.
-
Paul Eggert authored
* src/emacs.c (close_output_streams) [ADDRESS_SANITIZER]: Do not close stderr.
-
Paul Eggert authored
* src/process.c (server_accept_connection): Simplify and avoid multiple calls and struct literals in the last case of a switch. The old code ran afoul of GCC bug 80659, which caused an internal compiler error. Problem reported by Jim Meyering in: http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00182.html https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80659
-
Paul Eggert authored
* src/regex.c (regex_compile): Swap labels, so that the FALLTHROUGH immediately precedes the case label.
-
Paul Eggert authored
This incorporates: 2017-05-16 manywarnings: update for GCC 7 2017-05-15 sys_select: Avoid "was expanded before it was required" * configure.ac (nw): Suppress GCC 7’s new -Wduplicated-branches and -Wformat-overflow=2 options, due to too many false alarms. * doc/misc/texinfo.tex, lib/strftime.c, m4/manywarnings.m4: Copy from gnulib. * m4/gnulib-comp.m4: Regenerate. * src/coding.c (decode_coding_iso_2022): Fix bug uncovered by -Wimplicit-fallthrough. * src/conf_post.h (FALLTHROUGH): New macro. Use it to mark all switch cases that fall through. * src/editfns.c (styled_format): Use !, not ~, on bool. * src/gtkutil.c (xg_check_special_colors): When using sprintf, don’t trust Gtk to output colors in [0, 1] range. (xg_update_scrollbar_pos): Avoid use of possibly-uninitialized bool; this bug was actually caught by Clang. * src/search.c (boyer_moore): Tell GCC that CHAR_BASE, if nonzero, must be a non-ASCII character. * src/xterm.c (x_draw_glyphless_glyph_string_foreground): Tell GCC that glyph->u.glyphless.ch must be a character.
-
Michael Albinus authored
* lisp/net/tramp.el (tramp-file-name-for-operation): Use `default-directory' where appropriate. (tramp-file-name-handler): Do not autoload. (tramp-autoload-file-name-handler): Reintroduce function. (tramp-register-autoload-file-name-handlers): Use it.
-