- 09 Oct, 2017 14 commits
-
-
Alexander Gramiak authored
-
NicolasPetton authored
-
NicolasPetton authored
-
Paul Eggert authored
* src/sysdep.c (get_current_dir_name_or_unreachable): Do not consider a file name like "a:b" to be absolute on DOS_NT.
-
Paul Eggert authored
* src/sysdep.c (get_current_dir_name_or_unreachable): Avoid integer overflow if working directory name is absurdly long. When allocating memory for getcwd, do not exceed MAXPATHLEN.
-
Stefan Monnier authored
(message-clone-locals): Don't mistakenly match other variables whose name happens to include "message-default-charset".
-
Ken Olum authored
* lisp/mail/rmailedit.el (rmail-cease-edit): If rmail-old-mime-state is set, meaning that we are editing the raw message, do not encode it again. Delete old body after, not before, inserting new, to avoid moving marker at beginning of next message.
-
Eli Zaretskii authored
* lisp/gnus/message.el (message-clone-locals): Don't clone message-default-charset. (Bug#25645)
-
Eli Zaretskii authored
* lisp/progmodes/grep.el (grep-read-files): Clarify in the doc string and in the prompt that shell wildcards can be used. Suggested by Allen Li <vianchielfaura@gmail.com>. (Bug#28615)
-
Eli Zaretskii authored
* src/xdisp.c (redisplay_window): Clear the window's desired glyph matrix before calling try_window with the same starting point. This avoids assertion violations when switching from a buffer without line numbers to a buffer with line numbers. (Bug28710)
-
Glenn Morris authored
-
João Távora authored
Don't start the check immediately if the buffer is not being displayed. Wait until it is, using window-configuration-change-hook. This enables the user to batch-enable flymake-mode on many buffers and not have that operation exhaust system resources for checking each one. Likewise, an editing or save operation in a currently non-displayed buffer does not immediately start a check. * lisp/progmodes/flymake.el (flymake-start-on-flymake-mode): Rename from flymake-start-syntax-check-on-find-file. (flymake-start-syntax-check-on-find-file): Obsolete alias for flymake-start-on-flymake-mode. (flymake-start): Redesign. Affect the global post-command-hook and local window-configuraiton-change-hook. (flymake--schedule-timer-maybe) (flymake-after-change-function, flymake-after-save-hook): Pass t to flymake-start. * test/lisp/progmodes/flymake-tests.el (flymake-tests--call-with-fixture) (dummy-backends, recurrent-backend): Start flymake check explicitly and immediately.
-
Eli Zaretskii authored
* lisp/frameset.el (frameset-filter-font-param): Fix a thinko in filtering the 'font' parameter. (Bug#17352)
-
Martin Rudalics authored
* doc/emacs/frames.texi (Scroll Bars): Describe how window dividers can be used to replicate vertical borders when scroll bars are disabled (Bug#27830). * doc/emacs/frames.texi (Window Dividers): Mention their use in replicating vertical borders.
-
- 08 Oct, 2017 9 commits
-
-
Alexander Gramiak authored
See https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00151.html and its resulting thread. * lisp/display-line-numbers.el (display-line-numbers): Add to the convenience group. * lisp/faces.el (line-number): (line-number-current-line): Add to the display-line-numbers group.
-
Alexander Gramiak authored
* lisp/xt-mouse.el (xterm-mouse-event): Save the last click's position and check it against the current click's position. (Bug#28658)
-
Alan Third authored
* lisp/frame.el (toggle-frame-fullscreen): Replace sit-for with sleep-for, and reduce time.
-
Michael Albinus authored
* lisp/net/tramp-adb.el (tramp-adb-handle-make-directory): * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Handle PARENTS properly. * test/lisp/net/tramp-tests.el (tramp-test13-make-directory): Extend test.
-
Paul Eggert authored
-
Paul Eggert authored
* src/sysdep.c (get_current_dir_name_or_unreachable): New function, with most of the old contents of emacs_get_current_dir_name. (emacs_get_current_dir_name): Use it. Use a simpler test for unreachable directory strings, and also apply it to getcwd etc. (Bug#27871)
-
Paul Eggert authored
-
K. Handa authored
-
K. Handa authored
Provide a new option 'arabic-shaper-ZWNJ-handling' that controls how to display ZWNJ in Arabic text rendering (Bug#28339). * lisp/language/misc-lang.el: Register arabic-shape-gstring in composition-function-table. (arabic-shaper-ZWNJ-handling): New variable. (arabic-shape-log): New variable. (arabic-shape-gstring): New function. * lisp/composite.el (lgstring-remove-glyph): New function.
-
- 07 Oct, 2017 8 commits
-
-
Noam Postavsky authored
* lisp/progmodes/python.el (python-prettify-symbols-alist): New variable. (python--prettify-symbols-alist): Make into obsolete alias for `python-prettify-symbols-alist'.
-
Alan Third authored
* lisp/frame.el (toggle-frame-fullscreen): Wait for animation to complete on macOS.
-
Alan Third authored
* src/nsterm.m (EmacsView::windowWillResize): Return new frame size unmodified if the frame isn't live.
-
Michael Albinus authored
"gvfs-<command>" utilities have been deprecated in GVFS 1.31.1. We must use "gio <command>" tool instead. * lisp/net/tramp-gvfs.el (tramp-gvfs-gio-mapping): New defconst. (tramp-gvfs-handle-file-notify-add-watch): Support also "gio monitor" (tramp-gvfs-gio-tool-p): New defun. (tramp-gvfs-send-command): Use it. Call gio tool if available.
-
João Távora authored
* lisp/progmodes/flymake.el (flymake-goto-next-error): Fix message call. Add missing period in docstring.
-
Piotr Trojanek authored
Copyright-paperwork-exempt: yes.
-
Eli Zaretskii authored
* etc/NEWS: Move the entry about 'format' refraining from allocating new strings into Incompatible Lisp Changes. (Bug#28625)
-
Eli Zaretskii authored
* src/dispnew.c (update_frame_line): Accept an additional argument UPDATING_MENU_P; if non-zero, home the cursor before updating a frame's line. All callers changed. (update_frame_1): Accept an additional argument UPDATING_MENU_P, and pass it to update_frame_line. All callers changed. (update_frame_with_menu): Call update_frame_1 with last argument non-zero. (Bug#17497)
-
- 06 Oct, 2017 9 commits
-
-
Gemini Lasswell authored
Since (:documentation FORM) can be used to create a docstring when lexical-binding is on, allow for that possibility in Edebug specs (bug#24773). * lisp/emacs-lisp/edebug.el: Define an Edebug spec for docstrings called lambda-doc and modify the Edebug specs for defun and defmacro to use it. (edebug-instrument-function): Check for generic functions first, to fix bug where edebug-step-in didn't work on methods now that cl-defgeneric has an Edebug spec. * lisp/subr.el (lambda): Modify Edebug spec to use lambda-doc. * lisp/emacs-lisp/cl-generic.el (cl-defgeneric): Add Edebug spec (bug#27747). (cl-defmethod): Use lambda-doc in Edebug spec. * lisp/emacs-lisp/cl-macs.el: Modify Edebug spec for cl-declarations-or-string to use lambda-doc, and modify Edebug spec for cl-lambda-expr to use cl-declarations-or-string. * lisp/emacs-lisp/pcase.el (pcase-lambda): Modify Edebug spec to use lambda-doc, as well as &define and def-body which are necessary for using Edebug on code wrapped by lambda. * lisp/emacs-lisp/generator.el (iter-defun, iter-lambda): Add Edebug specs.
-
Eli Zaretskii authored
* lisp/gnus/message.el: Require 'subr-x' when compiling, to avoid compiler warnings.
-
Paul Eggert authored
Problem reported by Kaushal Modi in: http://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00141.html * src/editfns.c (styled_format): Fix bug where USE_SAFE_ALLOCA was not always followed by SAFE_FREE. This bug was introduced in my patch 2017-09-26T23:31:57Z!eggert@cs.ucla.edu entitled "Avoid some unnecessary copying in Fformat etc."
-
João Távora authored
* lisp/progmodes/elisp-mode.el (elisp-flymake--checkdoc-1): Delete. (elisp-flymake-checkdoc): Incorporate old elisp-flymake--checkdoc-1. (elisp-flymake--byte-compile-done): Simplify. Don't cleanup here. (elisp-flymake-byte-compile): Remove spurious interactive spec. Simplify. Cleanup on every possible exit.
-
João Távora authored
* doc/misc/flymake.texi: Don't @include a relative path.
-
Mark Oteiza authored
* lisp/emacs-lisp/rmc.el: New file. * lisp/emacs-lisp/subr-x.el (read-multiple-choice): Remove. * lisp/gnus/message.el: * lisp/net/nsm.el: Change required library.
-
Piotr Trojanek authored
Fixes: Bug#28721 Copyright-paperwork-exempt: yes.
-
Lele Gaifax authored
* doc/misc/flymake.texi (Syntax check statuses) (Adding support for a new syntax check tool) (Implementation overview, Locating the buildfile): Fix typos. * lisp/progmodes/flymake-proc.el (flymake-proc--report-fn) (flymake-proc--find-possible-master-files):Fix typos. (flymake-proc--panic) (flymake-proc-legacy-flymake): Fix function reference in doc. * lisp/progmodes/flymake.el (flymake-error) (flymake-diagnostic-functions): Fix typos. (flymake-diagnostic-types-alist): Rephrase and fix typos. (flymake--backend-state): Fix typos and rephrase. (flymake--handle-report): Delete empty line. (flymake--disable-backend) (flymake--run-backend): Fix typos. (flymake-goto-next-error, flymake-goto-prev-error): Rephrase.
-
Eli Zaretskii authored
* lisp/net/shr.el (shr-descend): Revert the part of the last change which introduced calls to shr-indirect-call into this function. Add a comment explaining the rationale for that. (Bug#28402)
-