1. 01 May, 2016 14 commits
  2. 30 Apr, 2016 7 commits
    • Leo Liu's avatar
      Autoload cursor-sensor-inhibit (bug#23406) · b755d988
      Leo Liu authored
      * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload.
      * lisp/isearch.el (isearch-update): Remove boundp check.
    • Phillip Lord's avatar
      org-map-entries: Fix org-agenda-prepare-buffers call · b52ebd4f
      Phillip Lord authored
      * lisp/org.el (org-map-entries): Check that buffer-file-name is non-nil
        before passing to org-agenda-prepare-buffers.
      This is a backport of commit 44c8cd71
      from upstream org-mode. Addresses bug #23365.
    • Eli Zaretskii's avatar
      Followup for last commit in the user manual · 86aa4094
      Eli Zaretskii authored
      * doc/emacs/basic.texi (Moving Point): Clarify that
      set-goal-column has buffer-local effect.  (Bug#23405)
    • Eli Zaretskii's avatar
      Improve doc string of 'set-goal-column' · 70044595
      Eli Zaretskii authored
      * lisp/simple.el (set-goal-column): Doc fix.  (Bug#23405)
    • Eli Zaretskii's avatar
      Fix the MSDOS build · ccdaf04c
      Eli Zaretskii authored
      * config.bat:
      * msdos/sedlisp.inp:
      * msdos/sedlibmk.inp:
      * msdos/sedleim.inp:
      * msdos/sedadmin.inp:
      * msdos/sed6.inp:
      * msdos/sed3v2.inp:
      * msdos/sed2v2.inp:
      * msdos/sed1v2.inp: Adapt to Emacs 25.
      * src/process.c (remove_slash_colon): Move out of "#ifdef
      subprocesses" block, as it its called unconditionally.  Move
      ADD_SUBFEATURE calls into "#ifdef subprocesses" block, as they
      reference variables only defined in that block.
      * src/msdos.h: Provide prototypes for IT_set_frame_parameters,
      faccessat, msdos_fatal_signal, syms_of_msdos, pthread_sigmask,
      dos_keysns, dos_keyread, run_msdos_command, and
      syms_of_win16select, to avoid compiler warnings.
      * src/msdos.c (SYS_ENVIRON): Define to either '_environ' or
      'environ', depending on the DJGPP version.
      Remove declarations of externally-visible Lisp objects, like
      Qbackground_color and Qreverse.
      (run_msdos_command): First argument is not signed, not unsigned.
      Use SYS_ENVIRON.
      (sys_select): Use 'timespec_cmp' instead of 'timespec_sign', as
      the latter doesn't work when 'time_t' is an unsigned data type.
      This caused idle timers to behave incorrectly: they only fired
      after a keyboard input event.
      * src/frame.c (adjust_frame_size) [MSDOS]: Account for
      FRAME_TOP_MARGIN that isn't counted in the frame's number of
      lines, but dos_set_window_size needs it to be added.
      * src/lread.c (INFINITY, NAN) [DJGPP < 2.05]: Provide definitions.
      * src/fns.c (sort_vector_copy) [__GNUC__ < 4]: Provide a prototype
      that works around compilation errors with older GCC versions.
      * src/w16select.c: Don't declare QCLIPBOARD and QPRIMARY as Lisp
      * src/filelock.c [MSDOS]: Ifdef away most of the code.  Provide
      no-op implementations for 'lock_file' and 'unlock_file'.
      (Ffile_locked_p) [MSDOS]: Always return nil.  This avoids multiple
      ifdefs in all users of filelock.c functionality.
      * src/conf_post.h (EOVERFLOW, SIZE_MAX) [DJGPP < 2.04]: Define.
      * src/emacs.c [MSDOS]: Include dosfns.h, to avoid compiler
      * src/dosfns.h: Provide prototypes for dos_cleanup,
      syms_of_dosfns, and init_dosfns.
      * src/deps.mk (atimer.o): Depend on msdos.h.
      (emacs.o): Depend on dosfns.h.
      * src/atimer.c [MSDOS]: Include msdos.h, to avoid compiler
      * lisp/window.el (window--adjust-process-windows): Skip the body
      if 'process-list' is not available.  This avoids failure to start
      up on MS-DOS.
      * lisp/vc/diff.el (diff-no-select): Test 'make-process', not
      'start-process', as the latter is now available on all platforms.
      * lisp/textmodes/ispell.el (ispell-async-processp): Replace
      'start-process' with 'make-process' in a comment.
      * lisp/term/internal.el (IT-unicode-translations): Modify and add
      a few translations to display Info files with Unicode markup.  Fix
      an ancient off-by-one mismatch error with Unicode codepoints.
      * lisp/progmodes/compile.el (compilation-start): Test
      'make-process', not 'start-process', as the latter is now
      available on all platforms.
      * lisp/man.el (Man-build-man-command, Man-getpage-in-background):
      Test 'make-process', not 'start-process', as the latter is now
      available on all platforms.
      * lisp/international/mule-cmds.el (set-coding-system-map): Test
      'make-process', not 'start-process', as the latter is now
      available on all platforms.
      * lisp/eshell/esh-cmd.el (eshell-do-pipelines-synchronously): Doc
      (eshell-execute-pipeline): Test 'make-process', not
      'start-process', as the latter is now available on all platforms.
    • Andreas Schwab's avatar
      Remove \= from format string (bug#18190) · ffe701cb
      Andreas Schwab authored
      * lisp/emacs-lisp/eieio.el (defclass): Remove \= from format
    • Eli Zaretskii's avatar
      Fix variable-pitch font on MS-Windows · 1c58fa1d
      Eli Zaretskii authored
      * lisp/faces.el (variable-pitch) [w32]: Name a variable-pitch font
      explicitly, to avoid Emacs picking up a bold-italic variant on
      some MS-Windows systems.  See this thread for details:
  3. 29 Apr, 2016 3 commits
    • Alan Mackenzie's avatar
      Restore follow-scroll-up/down to scrolling by the combined size of all windows · c6077bfd
      Alan Mackenzie authored
      Also rename the current follow-scroll-up/down functions to
      follow-scroll-up-window and follow-scroll-down-window.  These scroll by the
      height of the current window.
      This fixes bug #23347.
      * lisp/follow.el (follow-mode): Tweak the doc string.
      (follow-scroll-up-arg, follow-scroll-down-arg): new functions, extracted from
      (follow-scroll-up-window, follow-scroll-down-window): Functions renamed from
      (follow-scroll-up, follow-scroll-down): Restore the historic functionality.
    • Alan Mackenzie's avatar
      Revert unneeded change which harms syntactic parsing. This fixes bug #23308. · b671e218
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-invalidate-state-cache): User
      c-state-old-cpp-end as an argument to c-with-all-but-one-cpps-commented-out
      regardless of the value of `here'.
    • Alan Mackenzie's avatar
      Correct indentation of ids in a C++ enum after a protection keyword. · 48b24c9b
      Alan Mackenzie authored
      Also correct the misfontification of the last enum identifier.
      * lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): setq
      c-last-identifier-range to nil to ensure that only types recognized by this
      macro are set for fontification as types.
      (c-backward-typed-enum-colon): Function renamed from
      c-backward-colon-prefixed-type.  On finding a colon in the backward search,
      check it is preceded by an identifier rather than a keyword.
  4. 27 Apr, 2016 8 commits
    • Glenn Morris's avatar
      * lisp/window.el (window--process-window-list): No-op if no processes. · 5c3534ff
      Glenn Morris authored
      This avoids an issue with save-selected-window (from walk-windows)
      failing if frame.el is not loaded, eg if the terminal is resized
      during startup of a -nw CANNOT_DUMP build.  (Bug#23369).
    • Paul Eggert's avatar
      Port dumping to NetBSD with PaX · 734fb3ac
      Paul Eggert authored
      Problem reported by Thomas Klausner (Bug#23371).
      * configure.ac (PAXCTL_dumped, PAXCTL_notdumped): New vars.
      Set them to setfattr and/or paxctl commands appropriate for
      GNU/Linux and/or NetBSD; the latter prefers paxctl +a.  Search
      for paxctl only if setfattr is not found.
      * src/Makefile.in (PAXCTL_dumped, PAXCTL_notdumped):
      New vars, replacing PAXCTL_if_present and SETFATTR_if_present.
      All uses changed.
    • Dmitry Gutov's avatar
      Don't mistake `for' inside a function for a part of array comprehension · 0255a70c
      Dmitry Gutov authored
      * lisp/progmodes/js.el (js--indent-in-array-comp): Also check the
      depth in parens between the bracket and `for' (bug#23391).
      * test/indent/js.js: Add a corresponding example.
    • Anders Lindgren's avatar
      Fix bug#22891: wrong terminal width when a fringe width is zero. · ff7e201e
      Anders Lindgren authored
      When either fringe width is zero, Emacs reserved one column for a
      continuation glyph. Terminal windows does not take this into
      account when the frame is resized.
      * lisp/window.el (window-adjust-process-window-size): Use
      `window-max-chars-per-line' instead of `window-body-width'.
      * lisp/term.el (term-window-width): Remove function. (It does the
      same as `window-max-chars-per-line' but without recent bug fixes.)
      (term-mode): Use `window-max-chars-per-line' instead of
      (cherry picked from commit 5b540328)
    • Leo Liu's avatar
      Improve last change to vc-git-mode-line-string · 71fb0e06
      Leo Liu authored
      * lisp/vc/vc-git.el (vc-git-mode-line-string): Better fix that caches
        the result.
    • Stephen Berman's avatar
      Todo mode doc bug fix · 6858e77c
      Stephen Berman authored
      * lisp/calendar/todo-mode.el (todo-show): Correct obsolete and no
      longer correct information in doc string.
    • Leo Liu's avatar
      Fix revision calculation in vc-git-mode-line-string · e55d0db9
      Leo Liu authored
      * lisp/vc/vc-git.el (vc-git-mode-line-string): Use
        vc-git-working-revision because vc-working-revision needs to decide
        the backend and may return nil.
    • Mark Oteiza's avatar
      ; Fix errant revert ccb75d72 · ca87b349
      Mark Oteiza authored
      * lisp/rect.el (rectangle--highlight-for-redisplay): Use region face.
  5. 26 Apr, 2016 4 commits
  6. 25 Apr, 2016 4 commits