1. 01 May, 2017 15 commits
    • Ken Brown's avatar
      ; Fix typo · 16b49e21
      Ken Brown authored
      * test/src/editfns-tests.el (format-time-string-with-zone): Fix
      typo in timezone specification.
    • Dmitry Gutov's avatar
      Speed up project-find-regexp for simple regexps · c99a3b90
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref--regexp-syntax-dependent-p):
      New function.
      (xref--collect-matches): Use it.  Don't try to enable the
      appropriate major mode and file-local variables if the regexp
      does not depend on the buffer's syntax (bug#26710).
      (xref--collect-matches-1): Don't syntax-propertize in that
      case either.
    • Eli Zaretskii's avatar
      ; Fix commentary in a recent commit · 80407a2d
      Eli Zaretskii authored
      * test/src/editfns-tests.el (format-time-string-with-zone): Minor
      copyedit in the commentary.
    • Philipp Stephani's avatar
      Warn about missing backslashes during load · c2bbdc33
      Philipp Stephani authored
      * src/lread.c (load_warn_unescaped_character_literals, Fload, read1)
      (syms_of_lread): Warn if unescaped character literals are
      found (Bug#20152).
      * lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Check for
      unescaped character literals during byte compilation.
      * test/src/lread-tests.el (lread-tests--unescaped-char-literals): New
      unit test.
      (lread-tests--with-temp-file, lread-tests--last-message): Helper
      functions for unit test.
      * test/lisp/emacs-lisp/bytecomp-tests.el
      (bytecomp-tests--unescaped-char-literals): New unit test.
      * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--with-temp-file):
      Helper macro for unit test.
    • Ken Brown's avatar
      * configure.ac: Suggest Mailutils on Cygwin. · b72e3604
      Ken Brown authored
    • Paul Eggert's avatar
      Don’t stress-test time zones near the Epoch · a4dc24cf
      Paul Eggert authored
      * test/src/editfns-tests.el (format-time-string-with-zone)
      (format-time-string-with-outlandish-zone): Don’t format
      timestamps near the Epoch, as this runs into bugs on MS-Windows,
      and we don’t want to worry about those bugs.
    • Glenn Morris's avatar
      Tweak vc-tests.el for bzr · 6f0dfad8
      Glenn Morris authored
      * test/lisp/vc/vc-tests.el (vc-test--working-revision):
      Handle test environments where HOME does not exist.
    • Dmitry Gutov's avatar
      vc-git-state: Return `ignored' as appropriate with newer Git · 8e94fb1d
      Dmitry Gutov authored
      * lisp/vc/vc-git.el
      (vc-git--program-version): New variable.
      (vc-git--program-version): New function.
      (vc-git-state): Use it to choose whether to add '--ignored' (bug#19343).
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · c889b099
      Glenn Morris authored
    • Dmitry Gutov's avatar
      vc-git-state: Bring back CentOS 6 compatibility · 0c76f946
      Dmitry Gutov authored
      * lisp/vc/vc-git.el (vc-git-state):
      Bring back CentOS 6 compatibility (bug#19343).
    • Martin Rudalics's avatar
      Rewrite w32fns.c's `x_set_menu_bar_lines' · 6c9ec085
      Martin Rudalics authored
      * src/w32fns.c (x_set_menu_bar_lines): Redraw frame immediately
      regardless of whether menu bar is added or removed.  Clear
      under internal border iff a W32 window exists.  Store either 0
      or 1 as new parameter value.
      (x_change_tool_bar_height): Use FRAME_W32_WINDOW instead of
    • Michael Albinus's avatar
      Fix filenotify-tests.el for cygwin · ebff4177
      Michael Albinus authored
      * test/lisp/filenotify-tests.el (file-notify--test-read-event):
      Add an additional `sit-for'.
      (file-notify-test02-rm-watch): Add an additional
      `file-notify--test-read-event' call.
    • Dmitry Gutov's avatar
    • Jonathan Ganc's avatar
      Speed up vc-git-status and make it more precise · 24301c81
      Jonathan Ganc authored
      * lisp/vc/vc-git.el (vc-git-state)
      (vc-git--git-status-to-vc-state): Update 'vc-git-state' to use
      'git status', so that 'vc-git-state' can now return 'ignored',
      'conflict', or 'unregistered' when appropriate.  Discussed in
      bug#26066.  Fixes bug#19343.
    • Dmitry Gutov's avatar
      Fix Git revision navigation in currently removed directories · af736528
      Dmitry Gutov authored
      * lisp/vc/vc-git.el (vc-git-next-revision): Use the repo root as
      default-directory because FILE's parent directory might not exist
      anymore (bug#26345).
  2. 30 Apr, 2017 7 commits
    • Paul Eggert's avatar
      Merge from gnulib · b6aa3446
      Paul Eggert authored
      This incorporates:
      2017-04-30 strftime-fixes: New module
      2017-04-30 mktime: Work around TZ problem on native Windows
      2017-04-30 ctime, localtime: New modules
      2017-04-30 gettimeofday: Provide higher resolution on native Windows
      2017-04-29 utime-h: Modernize handling of 'struct utimbuf'
      2017-04-29 Make use of module 'utime-h'
      2017-04-30 Fix a few typos
      * admin/merge-gnulib (AVOIDED_MODULES): Avoid utime-h, too.
      * lib/gettimeofday.c, lib/mktime.c, lib/time.in.h, lib/utimens.c:
      * m4/gettimeofday.m4, m4/include_next.m4, m4/mktime.m4:
      * m4/strftime.m4, m4/time_h.m4, m4/timegm.m4, m4/utimens.m4:
      Copy from gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
    • Eli Zaretskii's avatar
      Don't lose key bindings on mis-spelled text in flyspell-mode · 3ad9d5c3
      Eli Zaretskii authored
      * lisp/textmodes/flyspell.el (flyspell-mouse-map): Bind mouse-2
      (make-flyspell-overlay): If the mis-spelled text already has a
      'keymap' property, make that keymap the parent of
      flyspell-mouse-map, so as not to lose the parent's bindings.
    • Martin Rudalics's avatar
      Fix `delete-frame' behavior including Bug#26682 · 0943cc18
      Martin Rudalics authored
      * src/frame.c (other_frames): Accept two arguments now.  Don't
      care about minibuffer window.  Don't care about visibility when
      called from delete_frame with FORCE true (Bug#26682).
      (delete_frame, Fmake_frame_invisible): Adjust other_frames
      * src/w32term.c (w32_read_socket): Don't add a move frame event
      for an invisible frame.
      * lisp/frame.el (handle-delete-frame): Don't kill Emacs when
      attempting to delete a surrogate minibuffer frame.
    • Paul Eggert's avatar
      Merge from gnulib · 7e4dae99
      Paul Eggert authored
      This avoids incorporating the following, which I suspect are
      more trouble for Emacs than they’re worth:
      2017-04-29 stat, fstat: fix time_t etc. on native Windows platforms
      * admin/merge-gnulib (AVOIDED_MODULES): Avoid stat, too.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * lib/pathmax.h, lib/stat.c, m4/pathmax.m4, m4/stat.m4: Remove.
    • Paul Eggert's avatar
      Fix buffer overflow in make-docfile · a3f3fea1
      Paul Eggert authored
      * lib-src/make-docfile.c (scan_c_stream): Check for buffer
      overflow when reading an identifier.  Use a static buffer for NAME
      rather than a small dynamically-allocated buffer.
    • Paul Eggert's avatar
      Merge from gnulib · 7cc329fd
      Paul Eggert authored
      This incorporates:
      2017-04-29 getopt: port to Solaris 10 with circa-1997 glibc getopt.h
      * lib/getopt-pfx-ext.h: Copy from gnulib.
      * lib/gnulib.mk.in: Regenerate.
    • Tino Calancha's avatar
      Fix dependency error during bootstrap · b57e03f9
      Tino Calancha authored
      * lisp/files.el: Require pcase and easy-mmode at compile time.
  3. 29 Apr, 2017 5 commits
    • Mats Lidell's avatar
    • Philipp Stephani's avatar
      ; Fix function name · 89159e78
      Philipp Stephani authored
    • Philipp Stephani's avatar
      Reimplement auto-saving to visited files · 4db844a4
      Philipp Stephani authored
      This reacts to confusing behavior of 'auto-save-visited-file-name',
      cf. Bug#25478.
      * lisp/files.el (auto-save-visited-interval): New customization option.
      (auto-save-visited-mode): New global minor mode.
      (auto-save-visited-file-name): Make obsolete.
      (auto-save--timer): New internal helper variable.
      * doc/emacs/files.texi (Auto Save Files): Document
      'auto-save-visited-mode' instead of obsolete
      (Auto Save Control): Document customization option
    • Paul Eggert's avatar
      Allow bypassing of some checks when merging · e20ad449
      Paul Eggert authored
      * build-aux/git-hooks/pre-commit: Don't check merged-in changes.
    • Philipp Stephani's avatar
      Integrate module test with normal test suite · bfc0f610
      Philipp Stephani authored
      * test/Makefile.in (ELFILES): Exclude module test if modules aren't
      (EMACS_TEST_DIRECTORY): Expand test directory so that it's set
      correctly even if Emacs changes the current directory.
      ($(test_module)): Proper dependency tracking for test module.
      * test/data/emacs-module/Makefile (ROOT): Adapt to new location.
      Remove 'check' target and EMACS variable, which are no longer
      (SO): Change to include period.
      * test/src/emacs-module-tests.el (mod-test): Use EMACS_TEST_DIRECTORY
      environment variable to reliably find test data.
      * configure.ac (HAVE_MODULES, MODULES_SUFFIX): Add necessary
  4. 28 Apr, 2017 7 commits
    • Glenn Morris's avatar
      Broaden comint-password-prompt-regexp · 6a3f3315
      Glenn Morris authored
      * lisp/comint.el (comint-password-prompt-regexp):
      Broaden the regexp, for non-English locales.  (Bug#26698)
    • Stefan Monnier's avatar
    • Bartosz Duszel's avatar
      Don't pass the value of point to 'push-mark', as that's the default. · 6a151cf8
      Bartosz Duszel authored
      * lisp/textmodes/bib-mode.el (mark-bib):
      * lisp/simple.el (mark-whole-buffer, yank):
      * lisp/ses.el (ses--advice-yank, ses-mark-row, ses-mark-column):
      * lisp/progmodes/xscheme.el (xscheme-yank):
      * lisp/progmodes/verilog-mode.el (verilog-mark-defun):
      * lisp/progmodes/perl-mode.el (perl-mark-function):
      * lisp/progmodes/pascal.el (pascal-mark-defun):
      * lisp/progmodes/meta-mode.el (meta-mark-defun):
      * lisp/progmodes/icon.el (mark-icon-function):
      * lisp/progmodes/cc-cmds.el (c-mark-function):
      * lisp/obsolete/vip.el (ex-goto):
      * lisp/obsolete/vi.el (vi-put-before):
      * lisp/mouse.el (mouse-yank-primary):
      * lisp/menu-bar.el (menu-bar-select-yank):
      * lisp/mail/sendmail.el (mail-yank-original):
      * lisp/hexl.el (hexl-beginning-of-buffer, hexl-end-of-buffer):
      * lisp/emulation/viper-cmd.el (viper-mark-beginning-of-buffer)
      * lisp/cedet/semantic/senator.el (senator-mark-defun):
      * lisp/allout.el (allout-mark-topic): Remove unnecessary argument
      `(point)' from calls to `push-mark'.  (Bug#25565)
    • Glenn Morris's avatar
      Merge from origin/emacs-25 · cee41281
      Glenn Morris authored
      784602b1 (origin/emacs-25) ; Add release notice
      3a34412c (tag: emacs-25.2) Set Emacs version to 25.2 and update AU...
      56a4461a ; Move stray item from admin/notes/repo to CONTRIBUTE
      2b0d1118 ; CONTRIBUTE: Remove stray header.
      f2ab09ec Fix a typo in indexing the user manual
      bc55a574 * lisp/menu-bar.el (kill-this-buffer): Doc fix.  (Bug#26466)
      a6d50401 Document 'line-pixel-height'
      0c55cf43 * search.c (Fre_search_forward, Fre_search_backward): Imp...
      c7ed57ea Mention that processes start in default-directory (Bug#18...
      856ec9ff * src/xdisp.c (vmessage, message): Clarify commentary.
      849a0aaa Belated fixes for admin.el's M-x make-manuals-dist
      84938d79 default-directory: Remark that it must be a directory name
      3f0d047d Delete confuse statement in manual
      ee1bd94d Improve packaging documentation
      fb18bff9 Expand manual section on quitting windows
      9a737079 Fix docstring of dabbrev-abbrev-char-regexp
      afe8849b * doc/misc/cl.texi (Iteration Clauses): Clarify example (...
      ada79442 ;* doc/misc/info.texi (Choose menu subtopic): Improve ind...
      d38fd922 Narrow scope of modification hook renabling in org-src fo...
      e0e9db4c ; Spelling fix
      # Conflicts:
      #	README
      #	etc/AUTHORS
      #	etc/HISTORY
      #	lisp/ldefs-boot.el
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
  5. 27 Apr, 2017 6 commits