1. 30 Nov, 2013 4 commits
    • Glenn Morris's avatar
      Make the `interactive-only' bytecomp warning like the `obsolete' one · 3e2fb4db
      Glenn Morris authored
      * emacs-lisp/bytecomp.el (byte-compile-form):
      Make the `interactive-only' warning like the `obsolete' one.
      
      * comint.el (comint-run):
      * files.el (insert-file-literally, insert-file):
      * replace.el (replace-string, replace-regexp):
      * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
      (goto-line, insert-buffer, next-line, previous-line):
      Tweak `interactive-only' spec.
      3e2fb4db
    • Stefan Monnier's avatar
      * src/xdisp.c (redisplay_internal): Don't call set_window_update_flags. · 44ad1cf7
      Stefan Monnier authored
      Set invisible frames's `redisplay' when a full redisplay is requested.
      (redisplay_window): Set must_be_updated_p instead.
      (redisplay_mode_lines): Don't set must_be_updated_p any more.
      (display_mode_lines): Set it here instead.
      * src/dispextern.h (set_window_update_flags): Remove.
      * src/dispnew.c (set_window_update_flags): Remove `b' argument; make static.
      
      Fixes: debbugs:15999
      44ad1cf7
    • Glenn Morris's avatar
      Stop keeping (all but one) generated cedet grammar files in the repository · f9b697dd
      Glenn Morris authored
      * configure.ac (SUBDIR_MAKEFILES, AC_CONFIG_FILES):
      Add admin/grammars Makefile.
      
      * Makefile.in (distclean, bootstrap-clean, maintainer-clean):
      Also clean admin/grammars, if present.
      
      * admin/grammars/README: Remove.
      
      * admin/grammars/Makefile.in: New file.
      
      * admin/grammars/c.by, admin/grammars/java-tags.wy, admin/grammars/js.wy:
      * admin/grammars/python.wy: Update declarations to match generated outputs.
      
      * lisp/Makefile.in (semantic): New.
      (compile-main): Depend on semantic.
      
      * lisp/cedet/semantic/bovine/grammar.el (bovine--make-parser-1):
      New function, split from bovine-make-parsers.
      (bovine-make-parsers): Use bovine--make-parser-1.
      (bovine-batch-make-parser): New function.
      
      * lisp/cedet/semantic/wisent/grammar.el (wisent--make-parser-1):
      New function, split from wisent-make-parsers.
      (wisent-make-parsers): Use wisent--make-parser-1.
      (wisent-batch-make-parser): New function.
      
      * lisp/cedet/semantic/db.el (semanticdb-save-all-db):
      Avoid prompting in batch mode.
      
      * lisp/cedet/semantic/grammar.el (semantic-grammar-footer-template):
      Disable version-control and autoloads in the output.
      (semantic-grammar-create-package):
      Add option to return nil if output is up-to-date.
      
      * lisp/cedet/semantic/bovine/c-by.el, lisp/cedet/semantic/bovine/make-by.el:
      * lisp/cedet/semantic/bovine/scm-by.el, lisp/cedet/semantic/wisent/javat-wy.el:
      * lisp/cedet/semantic/wisent/js-wy.el, lisp/cedet/semantic/wisent/python-wy.el:
      * lisp/cedet/srecode/srt-wy.el: Remove generated files from repository.
      
      * .bzrignore: Update for this.
      f9b697dd
    • Glenn Morris's avatar
      a64133bd
  2. 29 Nov, 2013 21 commits
  3. 28 Nov, 2013 11 commits
    • Glenn Morris's avatar
      Replace PATH_SEP with pre-existing SEPCHAR. · 0845be75
      Glenn Morris authored
      * configure.ac:
      * test/automated/Makefile.in: Use SEPCHAR in place of PATH_SEP.
      0845be75
    • Glenn Morris's avatar
      Robustify previous leim/Makefile.in change · bb28366f
      Glenn Morris authored
      bb28366f
    • Jan Tatarik's avatar
      42e51060
    • Stefan Monnier's avatar
      Refine redisplay optimizations to only redisplay *some* frames/windows · 655ab9a3
      Stefan Monnier authored
      rather than all of them.
      * src/xdisp.c (REDISPLAY_SOME): New constant.
      (redisplay_other_windows, wset_redisplay, fset_redisplay)
      (bset_redisplay, bset_update_mode_line): New functions.
      (message_dolog): Use bset_redisplay.
      (clear_garbaged_frames): Use fset_redisplay.
      (echo_area_display): Use wset_redisplay.
      (buffer_shared_and_changed): Remove.
      (prepare_menu_bars): Call Vpre_redisplay_function before updating
      frame titles.  Compute the actual set of windows redisplayed.
      Don't update frame titles and menu bars for frames that don't need to
      be redisplayed.
      (propagate_buffer_redisplay): New function.
      (AINC): New macro.
      (redisplay_internal): Use it.  Be more selective in the set of windows
      we redisplay.  Propagate windows_or_buffers_changed to
      update_mode_lines a bit later to simplify the code.
      (mark_window_display_accurate_1): Reset window and buffer's
      `redisplay' flag.
      (redisplay_window): Do nothing if neither the window nor the buffer nor
      the frame needs redisplay.
      * src/window.h (struct window): Add `redisplay' field.
      (wset_redisplay, fset_redisplay, bset_redisplay, bset_update_mode_line)
      (redisplay_other_windows, window_list): New declarations.
      * src/window.c (select_window, Fset_window_start): Use wset_redisplay.
      (window_list): Not static any more.
      (grow_mini_window, shrink_mini_window): Use fset_redisplay.
      * src/minibuf.c (read_minibuf_unwind): Don't redisplay everything.
      * src/insdel.c (prepare_to_modify_buffer_1): Use bset_redisplay.
      * src/frame.c (Fmake_frame_visible): Don't redisplay everything.
      * src/frame.h (struct frame): Add `redisplay' field.
      Move `external_menu_bar' bitfield next to other bit-fields.
      (SET_FRAME_GARBAGED): Use fset_redisplay.
      (SET_FRAME_VISIBLE): Don't garbage the frame;
      Use redisplay_other_windows.
      * src/buffer.h (struct buffer): Add `redisplay' field.
      * src/buffer.c (Fforce_mode_line_update): Pay attention to the `all' flag.
      (modify_overlay): Use bset_redisplay.
      * src/alloc.c (gc_sweep): Don't unmark strings while sweeping symbols.
      
      * lisp/doc-view.el (doc-view-goto-page): Update mode-line.
      655ab9a3
    • Glenn Morris's avatar
      * leim/leim-ext.el: Change method for getting comments in the output · 698c0f24
      Glenn Morris authored
      to one that does not fool lisp/compile-main's no-byte-compile test.
      * leim/Makefile.in (${leimdir}/leim-list.el): Adapt for this.
      698c0f24
    • Glenn Morris's avatar
    • Eli Zaretskii's avatar
      Fix bug #15933 with crashes in file-notify-tests on MS-Windows. · 9c099ca7
      Eli Zaretskii authored
       Support w32 file notifications in batch mode.
       src/w32proc.c (sys_select): Don't wait on interrupt_handle if it is
       invalid (which happens in batch mode).  If non-interactive, call
       handle_file_notifications to store file notification events in the
       input queue.
       src/w32notify.c (send_notifications): Handle FRAME_INITIAL frames as
       well.
       src/w32inevt.c (handle_file_notifications): Now external, not
       static.
       src/w32term.h (handle_file_notifications): Provide prototype.
       src/emacs.c (main) [HAVE_W32NOTIFY]: When non-interactive, call
       init_crit, since init_display, which does that otherwise, is not
       called.
      9c099ca7
    • Eli Zaretskii's avatar
      Remove left-overs from using nt/mingw-cfg.site as a CONFIG_SITE file. · 16555151
      Eli Zaretskii authored
       GNUmakefile (Makefile): Don't use $(CFG).
       (CFG): Don't compute.
      16555151
    • Eli Zaretskii's avatar
      Fix the test suite on Windows. · f7ec0d94
      Eli Zaretskii authored
       configure.ac (PATH_SEP): Set and AC_SUBST.
      
       test/automated/Makefile.in (PATH_SEP): Set this instead of
       PATH_SEPARATOR.
       (EMACSOPT): Use $(PATH_SEP).
      f7ec0d94
    • Michael Albinus's avatar
      23293cb0
    • Stefan Monnier's avatar
  4. 27 Nov, 2013 4 commits
    • Paul Eggert's avatar
      Merge from gnulib, incorporating: · de27f8ab
      Paul Eggert authored
      2013-11-13 getgroups: work around _DARWIN_C_SOURCE problem
      * lib/getgroups.c: Update from gnulib.
      de27f8ab
    • Glenn Morris's avatar
      Fix comment typo · 336b7334
      Glenn Morris authored
      336b7334
    • Glenn Morris's avatar
      * leim/Makefile.in (bootstrap-clean): No need to delete .elc, · 2b58a9cc
      Glenn Morris authored
      lisp/ rules will do that.
      2b58a9cc
    • Glenn Morris's avatar
      Stop keeping generated Unicode lisp files in the repository · 7e3bf78c
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg01023.html
      
      * admin/unidata/Makefile.in (all, install, clean, bootstrap-clean)
      (distclean, maintainer-clean): Declare as PHONY.
      (compile, extraclean): New.
      (${DSTDIR}/charprop.el): Depend on source files rather than
      intermediate products.
      
      * lisp/international/charprop.el, lisp/international/uni-bidi.el:
      * lisp/international/uni-category.el, lisp/international/uni-combining.el:
      * lisp/international/uni-comment.el, lisp/international/uni-decimal.el:
      * lisp/international/uni-decomposition.el, lisp/international/uni-digit.el:
      * lisp/international/uni-lowercase.el, lisp/international/uni-mirrored.el:
      * lisp/international/uni-name.el, lisp/international/uni-numeric.el:
      * lisp/international/uni-old-name.el, lisp/international/uni-titlecase.el:
      * lisp/international/uni-uppercase.el:
      Remove generated files from VCS repository.
      
      * src/Makefile.in ($(lispsource)/international/charprop.el): New.
      (emacs$(EXEEXT)): Depend on charprop.el.
      
      * Makefile.in: Comment.
      
      * .bzrignore: Add generated Unicode files.
      7e3bf78c