- 05 Nov, 2017 9 commits
-
-
Eli Zaretskii authored
* doc/misc/emacs-gnutls.texi (Help For Users): Update the documentation of 'gnutls-available-p'. * etc/NEWS (GnuTLS): Mention the change in the value returned by 'gnutls-available-p'. * src/gnutls.c (Fgnutls_available_p): Return non-nil when GnuTLS 2.x is available. (Bug#29147)
-
João Távora authored
* lisp/progmodes/flymake.el (flymake--highlight-line): Use with-selected-window. (flymake-goto-next-error): Call help-echo with a window and an overlay.
-
João Távora authored
* test/lisp/progmodes/flymake-tests.el (perl-backend) (ruby-backend): New tests. (warning-predicate-rx-perl, warning-predicate-function-perl): Delete tests. * test/lisp/progmodes/flymake-resources/test.pl: Include an error the test file. * test/lisp/progmodes/flymake-resources/test.rb: file.
-
João Távora authored
Define a simple backend in perl-mode.el, which cperl-mode.el also uses. * lisp/progmodes/cperl-mode.el (cperl-mode): Add to flymake-diagnostic-functions. * lisp/progmodes/flymake-proc.el (flymake-proc-allowed-file-name-masks): Disable legacy backend for perl files. * lisp/progmodes/perl-mode.el (perl-flymake-command): New defcustom. (perl--flymake-proc): New buffer-local variable. (perl-flymake): New function. (perl-mode): Add to flymake-diagnostic-functions.
-
João Távora authored
* lisp/progmodes/ruby-mode.el (ruby-flymake-command): New defcustom. (ruby--flymake-proc): New buffer-local variable. (ruby-flymake): New function. (ruby-mode): Add flymake-diagnostic-functions.
-
Lele Gaifax authored
Implement new Flymake backend with related customizable settings. * lisp/progmodes/python.el (python-flymake-command) (python-flymake-command-output-pattern) (python-flymake-msg-alist): New defcustom. (python--flymake-parse-output): New function, able to parse python-flymake-command output accordingly to python-flymake-command-output-pattern. (python-flymake): New function implementing the backend interface using python--flymake-parse-output for the real work. (python-mode): Add python-flymake to flymake-diagnostic-functions.
-
Michael Albinus authored
* lisp/net/tramp-gvfs.el (tramp-gvfs-url-file-name): Hexify also host. * lisp/net/tramp.el (tramp-host-regexp): Allow "%" in host names.
-
Michael Albinus authored
-
Charles A. Roelli authored
* doc/misc/cc-mode.texi (Other Commands): Fix typo.
-
- 04 Nov, 2017 9 commits
-
-
Noam Postavsky authored
FreeBSD aarch64 does not provide sbrk, so gmalloc cannot be used; when using system malloc dumping does not work correctly (allocated data is invalid after dumping). * configure.ac: Set hybrid_malloc for freebsd. * src/gmalloc.c (gdefault_morecore) [!HAVE_SBRK]: Don't call sbrk.
-
Charles A. Roelli authored
* lisp/cedet/semantic/symref/grep.el (semantic-symref-filepattern-alist): Fix the entry for 'html-mode', which used a regexp-like syntax where only glob syntax is permitted. As a result, 'xref-find-references' (M-?) can now find references in HTML files. Also duplicate the same entry for the sake of 'mhtml-mode', and add a new one for 'python-mode'. (semantic-symref-derive-find-filepatterns): In the documentation, clarify that returned patterns must follow the glob syntax. Fix an 'if' test that always evaluates to nil. (semantic-symref-tool-grep): (semantic-symref-perform-search): Fix typos.
-
Eli Zaretskii authored
* doc/lispref/windows.texi (Window Hooks): Clarify the values of arguments of 'window-scroll-functions' functions. * src/xdisp.c (syms_of_xdisp) <window-scroll-functions>: Doc fix.
-
Eli Zaretskii authored
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-watch-line-number-width): Call tabulated-list-init-header instead of tabulated-list-revert. (tabulated-list-window-scroll-function): New function. (tabulated-list-mode): Put 'tabulated-list-window-scroll-function' on the buffer-local 'window-scroll-functions' list.
-
Eli Zaretskii authored
* lisp/progmodes/gdb-mi.el (gdb-non-stop-setting): Now nil on MS-Windows.
-
Mike Gulick authored
* lisp/progmodes/gdb-mi.el (gdbmi-bnf-console-stream-output): Set gdb-first-done-or-error non-nil. (Bug#29020) Copyright-paperwork-exempt: yes
-
Eli Zaretskii authored
* src/window.c (syms_of_window) <window-configuration-change-hook>: Doc fix. (Bug#29049)
-
Eli Zaretskii authored
* doc/lispref/windows.texi (Window Hooks): Fix the description of window-configuration-change-hook. (Bug#29049) <run-window-scroll-functions, run-window-configuration-change-hook>: Document these functions.
-
Eli Zaretskii authored
* src/xdisp.c (hscroll_window_tree): Trigger a thorough redisplay of the window when temporary suspension of hscrolling is disabled. (Bug#29002)
-
- 03 Nov, 2017 17 commits
-
-
Glenn Morris authored
-
Alan Mackenzie authored
Remove an erroneous interactive specification from two functions. * lisp/progmodes/cc-cmds.el (c-display-defun-name): New command. (c-defun-name, c-cpp-define-name): Remove interactive specification. * lisp/progmodes/cc-mode.el (c-mode-base-map): Add binding C-c C-z for the new command. * doc/misc/cc-mode.texi (Other Commands): Add documentation for the new command.
-
Glenn Morris authored
-
Eli Zaretskii authored
* lisp/vc/ediff-wind.el (ediff-setup-windows-multiframe-merge): Fix typos in commentary. (Bug#29138)
-
João Távora authored
As in other Flymake backends, the process sentinel might run in arbitrary buffers where this variable's value doesn't make sense. For a way to trigger a problem due to this, see discussion starting in https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00645.html * lisp/textmodes/tex-mode.el (tex-chktex): Use with-current-buffer.
-
Stephen Leake authored
-
João Távora authored
* lisp/progmodes/flymake.el (flymake-diag-region): Use flymake-log instead of flymake-error.
-
João Távora authored
This is like xref-goto-xref, but quits the *xref* window just before the user jump to ref. * lisp/progmodes/xref.el (xref--show-location): Handle 'quit value for SELECT. (xref-goto-xref): Take optional QUIT arg. (xref-quit-and-goto-xref): New command. (xref--xref-buffer-mode-map): Bind "Q" and "TAB" to xref-quit-and-goto-xref. * doc/emacs/maintaining.texi (Xref Commands): Describe new bindings in *xref*. * etc/NEWS (Xref): Describe new binding.
-
João Távora authored
As a fallback, and to avoid creating a frame, split-window-sensibly would previously disregard split-height-threshold if the window to be split is the frame's root window. This change generalizes that: it disregards the threshold if the window to be split is the frame's only _usable_ window (it is either the only one, as before, or all the other windows are dedicated to some buffer and thus cannot be touched). This is required for the fix to bug#28814. * lisp/window.el (split-height-threshold): Adjust doc to match split-window-sensibly. (split-window-sensibly): Also disregard threshold if all other windows are dedicated.
-
João Távora authored
When there is more than one xref to jump to, and an *xref* window appears to help the user choose, the original intent to open a definition in another window or frame is remembered when the choice to go to or show a reference is finally made. * lisp/progmodes/xref.el (xref--show-pos-in-buf): Rewrite. (xref--original-window-intent): New variable. (xref--original-window): Rename from xref--window and move up here for clarity. (xref--show-pos-in-buf): Rewrite. Don't take SELECT arg here. (xref--show-location): Handle window selection decision here. (xref--window): Rename to xref--original-window. (xref-show-location-at-point): Don't attempt window management here. (xref--show-xrefs): Ensure display-action intent is saved.
-
Paul Pogonyshev authored
-
Stefan Monnier authored
Don't try to flymake-start within a buffer that doesn't exist any more.
-
Basil L. Contovounesios authored
* lisp/simple.el (shell-command): Keep track of output-buffer by its name, not by its object. (Bug#28997)
-
Paul Eggert authored
* src/lisp.h (GCALIGNMENT): Change it back to a macro that expands to a literal integer constant, for older GCC. I had mistakenly thought that only MSVC had the problem. Problem repored by Eli Zaretskii (Bug#29040#69).
-
Paul Eggert authored
-
Hong Xu authored
-
Hong Xu authored
* lisp/eshell/em-cmpl.el (eshell-cmpl--custom-variable-docstring): New function to generate the docstring for custom variables derived from pcomplete-* variables. (eshell-cmpl-file-ignore, eshell-cmpl-dir-ignore) (eshell-cmpl-ignore-case, eshell-cmpl-autolist) (eshell-cmpl-suffix-list, eshell-cmpl-recexact) (eshell-cmpl-man-function, eshell-cmpl-compare-entry-function) (eshell-cmpl-expand-before-complete, eshell-cmpl-cycle-completions) (eshell-cmpl-cycle-cutoff-length, eshell-cmpl-restore-window-delay) (eshell-command-completion-function, eshell-cmpl-command-name-function) (eshell-default-completion-function, eshell-cmpl-use-paring): Use it to set the docstring.
-
- 02 Nov, 2017 5 commits
-
-
Alan Third authored
* src/nsterm.m (EmacsScroller::mouseDown, EmacsScroller::mouseDragged): Take scroller buttons into account when calculating scroller knob position.
-
Paul Eggert authored
This incorporates: 2017-10-29 timespec: prefer ‘assume’ to ‘assure’ 2017-10-27 timespec.h: use "assure" to avoid a spurious warning 2017-10-09 getopt-posix: Fix build failure if ac_cv_header_getopt_h=no * build-aux/config.guess, build-aux/config.sub: * lib/timespec.h, lib/unistd.in.h: Copy from Gnulib.
-
Paul Eggert authored
Do not assume that the natural alignment of Lisp objects is a multiple of GCALIGNMENT. This improves on the portability of the recent fix for Bug#29040. * lib-src/make-docfile.c (close_emacs_globals): * src/buffer.c (buffer_defaults, buffer_local_symbols): * src/lisp.h (DEFUN): * src/thread.c (main_thread): Use GCALIGNED, not alignas (GCALIGNMENT). * src/alloc.c (COMMON_MULTIPLE): Move back here from lisp.h, since it is no longer used elsewhere. * src/lisp.h (GCALIGNMENT): No longer a macro, since we need not worry about MSVC. Omit no-longer-needed consistency check. * src/thread.c (THREAD_ALIGNMENT): Remove.
-
Simen Heggestøyl authored
* lisp/textmodes/css-mode.el (css-completion-at-point): Don't insert ": ;" after completing a CSS property unless the rest of the line is empty.
-
Eli Zaretskii authored
-