1. 17 May, 2013 8 commits
  2. 16 May, 2013 23 commits
    • Katsumi Yamaoka's avatar
    • Leo Liu's avatar
      * emacs-lisp/smie.el (smie-matching-block-highlight): New face. · ebfe68e8
      Leo Liu authored
      (smie--highlight-matching-block-overlay)
      (smie--highlight-matching-block-lastpos)
      (smie--highlight-matching-block-timer): New variables.
      (smie-highlight-matching-block): New function.
      (smie-highlight-matching-block-mode): New minor mode. 
      (smie-setup): Conditionally enable smie-blink-matching-open.
      
      Fixes: debbugs:14395
      ebfe68e8
    • Julien Danjou's avatar
    • Eli Zaretskii's avatar
      Document arguments of insert_1_both. · 04d360e7
      Eli Zaretskii authored
      04d360e7
    • Eli Zaretskii's avatar
      Fix bug #14408 with updating *Messages* display. · 5bb98290
      Eli Zaretskii authored
       src/xdisp.c (message_dolog): If the *Messages* buffer is shown in
       some window, increment windows_or_buffers_changed, so that
       *Messages* display in that window is updated.
      5bb98290
    • Eli Zaretskii's avatar
      Define SIZE_MAX for MSVC, part of bug #14409. · 721c9e8a
      Eli Zaretskii authored
       nt/inc/stdint.h (SIZE_MAX) [!__GNUC__]: Define.
      721c9e8a
    • Eli Zaretskii's avatar
    • Glenn Morris's avatar
      Auto-commit of generated files. · 7c61eaab
      Glenn Morris authored
      7c61eaab
    • Wilson Snyder's avatar
      Sync with upstream verilog-mode r840. · bc8bc17d
      Wilson Snyder authored
      * lisp/progmodes/verilog-mode.el (verilog-mode-version)
      (verilog-mode-release-date): Update.
      (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
      (verilog-sig-tieoff): Fix string error on
      AUTORESET with colon define, bug594.  Reported by Andrew Hou.
      (verilog-read-decls): Fix parameters confusing
      AUTOINST interfaces, bug565.  Reported by Leith Johnson.
      bc8bc17d
    • Eli Zaretskii's avatar
      Fix a typo in nt/INSTALL.MSYS. · b54b47cd
      Eli Zaretskii authored
      b54b47cd
    • Eli Zaretskii's avatar
      Support building Emacs on MS-Windows using the Posix configury. · df065a0b
      Eli Zaretskii authored
       lib/Makefile.am: If building for MS-Windows, include
       nt/gnulib.mk instead of lib/gnulib.mk.
       configure.ac: Adapt to MSYS build on MS-Windows.
       Makefile.in (NTDIR): New variable, for the MSYS build on
       MS-Windows.
       (SUBDIR): Add $(NTDIR).
       (.PHONY): Add epaths-force-w32.
       (msys_to_w32): New variable.
       (epaths-force-w32, install-nt, uninstall-nt): New targets.
       (lib-src src): Add $(NTLIB) to prerequisites.
       (lib lib-src lisp leim nt): Add 'nt'.
       (config.status): Use $(CFG).
       (.PHONY): Add install-$(NTDIR) and uninstall-$(NTDIR).
       (install, install-arch-dep): Add install-$(NTDIR).
       (uninstall): Depend on uninstall-$(NTDIR).
       (mostlyclean, clean, distclean, bootstrap-clean): Add 'nt'.
       * GNUmakefile (CFG): New variable, uses mingw-cfg.site as
       CONFIG_SITE for the MSYS build on MS-Windows.
       (Makefile): Use $(CFG).
       .bzrignore: Ignore *.res, *.tmp, and *.map.  Remove
       src/emacs.res.
      
       etc/NEWS: Advertise the MSYS build on MS-Windows.
      
       leim/Makefile.in (leim-list.el, check-declare): Use reveal-filename.
      
       lib-src/update-game-score.c [WINDOWSNT]: Include "ntlib.h".
       lib-src/ntlib.h (sleep): Update prototype.
       (geteuid): Add prototype.
       lib-src/ntlib.c (sleep): Now returns an unsigned value.
       (getgid): New function.
       lib-src/Makefile.in (CLIENTW, LIB_WSOCK32, LIBS_ECLIENT, NTLIB)
       (CLIENTRES, WINDRES, NTINC, NTDEPS): New variables.
       (INSTALLABLES): Add $(CLIENTW).
       (LIBS_MOVE): Use $(LIB_WSOCK32).
       ($(DESTDIR)${archlibdir}): Use $(EXEEXT) on update-game-score.
       (test-distrib${EXEEXT}): Use $(EXEEXT) on test-distrib.
       (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
       (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
       (emacsclient${EXEEXT}, hexl${EXEEXT}, update-game-score${EXEEXT}):
       Add $(NTLIB) to prerequisites.  Use $(EXEEXT).
       (pop.o): Add pop.h to prerequisites.
       (emacsclientw${EXEEXT}, ntlib.o): New targets.
       (emacsclient.res): New target.
      
       lisp/subr.el (reveal-filename): New function.
       lisp/loadup.el: Compute Emacs executable versions on MS-Windows,
       where executables have the .exe extension.  Add a hard link
       emacs-XX.YY.ZZ.exe on MS-Windows.
       lisp/Makefile.in (XARGS_LIMIT): New variable.
       (custom-deps, finder-data, autoloads)
       ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
       ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
       ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
       (compile-main): Limit xargs according to $(XARGS_LIMIT).
      
       nt/msysconfig.sh: New file.
       nt/mingw-cfg.site: New file.
       nt/makefile.w32-in (LOCAL_FLAGS): Add -DOLD_PATHS=1.
       nt/inc/unistd.h: Include pwd.h and sys/types.h.
       nt/inc/sys/time.h (_TIMEVAL_DEFINED, timerisset, timercmp)
       (timerclear): Define.
       (gettimeofday): Adjust signature to be Posix compatible, by using
       the 'restrict' keyword.
       nt/inc/sys/stat.h (UTIME_NOW, UTIME_OMIT): Define.
       (struct _stat, struct _stati64): Define.
       nt/inc/sys/socket.h (timeval): Define only for MSVC.
       (FD_SET, FD_CLR, FD_ISSET, fd_set): Redefine only if
       EMACS_CONFIG_H is defined.
       (timeval): Undefine only for MSVC.
       nt/inc/ms-w32.h (HAVE___BUILTIN_UNWIND_INIT, restrict)
       (HAVE_WINDOW_SYSTEM, HAVE_MENUS, EMACS_CONFIGURATION)
       (EMACS_CONFIG_OPTIONS, HAVE_LONG_LONG_INT)
       (HAVE_UNSIGNED_LONG_LONG_INT): Define only if not already defined.
       (fileno): Move definition after including stdio.h.
       (sigset_t): Guard typedef by _W64.
       nt/gnulib.mk: New file.
       nt/epaths.nt: New file.
       nt/addpm.c [!OLD_PATHS]: Include src/epaths.h, instead of having a
       copy of the file names there.
       <env_vars> [!OLD_PATHS]: Use macros from epaths.h instead of
       literal strings.
       nt/Makefile.in: New file.
       nt/INSTALL.MSYS: New file.
       nt/INSTALL: Mention INSTALL.MSYS.
      
       src/w32.c: Include epaths.h.
       (init_environment): Use cmdproxy.exe without leading directories.
       Support emacs.exe in src; point SHELL to cmdproxy in ../nt in that
       case.
       (gettimeofday): Adjust signature and return value to Posix
       expectations.
       src/unexw32.c (open_output_file): Delete the existing emacs.exe
       before creating it, to break the hard link to the versioned
       executable.
       src/Makefile.in (EMACS_MANIFEST, CM_OBJ, TEMACS_POST_LINK)
       (ADDSECTION, EMACS_HEAPSIZE, MINGW_TEMACS_POST_LINK)
       (FIRSTFILE_OBJ): New variables.
       (W32_RES): Rename to EMACSRES.  All users changed.
       (base_obj): Use $(CM_OBJ).
       (ALLOBJS): Use $(FIRSTFILE_OBJ).
       (emacs$(EXEEXT)): Depend on $(ADDSECTION).
       (temacs$(EXEEXT)): Use $(TEMACS_POST_LINK), and move
       $(W32_RES_LINK) before $(LIBES).
       (emacs.res): Depend on $(EMACS_MANIFEST).  Put emacs.rc in nt.
      df065a0b
    • Eli Zaretskii's avatar
      Announce the MSYS build in etc/NEWS. · f1e496a5
      Eli Zaretskii authored
      f1e496a5
    • Glenn Morris's avatar
      Auto-commit of generated files. · dcfda130
      Glenn Morris authored
      dcfda130
    • Eli Zaretskii's avatar
      Fix comments to reveal-filename. · 629ecae3
      Eli Zaretskii authored
      629ecae3
    • Eli Zaretskii's avatar
      Merge from trunk. · a9519e26
      Eli Zaretskii authored
      a9519e26
    • Eli Zaretskii's avatar
      3946d31b
    • Leo Liu's avatar
      * progmodes/octave.el (octave-indent-defun): Mark obsolete. · 2d4bf34b
      Leo Liu authored
      (octave-mode-menu, octave-mode-map): Remove its uses.
      2d4bf34b
    • Glenn Morris's avatar
      Add some VHDL NEWS entries. · 238cebef
      Glenn Morris authored
      238cebef
    • Reto Zimmermann's avatar
      Sync with upstream vhdl mode v3.34.2. · 6b9c2d85
      Reto Zimmermann authored
      * lisp/progmodes/vhdl-mode.el: Use `push' throughout.
      (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
      (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
      Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
      (vhdl-actual-generic-name): New option to derive actual generic name.
      (vhdl-port-paste-signals): Replace formal by actual generics.
      (vhdl-beautify): New name for old group vhdl-align.  Update users.
      (vhdl-beautify-options): New option.
      (vhdl-last-input-event): New compat alias.  Use throughout.
      (vhdl-goto-line): Replace user level function `goto-line'.
      (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
      vhdl-fix-statement-buffer.
      (vhdl-create-mode-menu): Add some entries.
      (vhdl-align-region-groups): Respect vhdl-beautify-options.
      (vhdl-align-inline-comment-region-1): Handle "--" inside string.
      (vhdl-fixup-whitespace-region): Handle symbols at EOL.
      (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
      to force statements on one line.
      (vhdl-remove-trailing-spaces-region):
      New, split from vhdl-remove-trailing-spaces.
      (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
      Respect vhdl-beautify-options.
      (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
      (vhdl-update-sensitivity-list): Not add with index if exists without.
      Not include array index with signal.  Ignore keywords in comments.
      (vhdl-get-visible-signals): Regexp tweaks.
      (vhdl-template-component-inst): Handle empty library.
      (vhdl-template-type): Add template for 'enum' type.
      (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
      Use vhdl-replace-string.
      (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
      (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
      (vhdl-speedbar-initialize): Update for above name change.
      (vhdl-compose-wire-components): Fix in handling of constants.
      (vhdl-error-regexp-emacs-alist): New variable.
      (vhdl-error-regexp-add-emacs): New function;
      adds support for new compile.el (Emacs 22+)
      (vhdl-generate-makefile-1): Change target order for single lib. units.
      Allow use of absolute file names.
      6b9c2d85
    • Paul Eggert's avatar
      Merge from gnulib. · cdd0de4b
      Paul Eggert authored
      2013-05-15 manywarnings: update for GCC 4.8.0
      2013-05-15 stdio: use __REDIRECT for fwrite, fwrite_unlocked
      2013-05-15 sig2str, stdio, warnings: port to clang
      cdd0de4b
    • Eli Zaretskii's avatar
      ffa615b7
    • Leo Liu's avatar
      9df4ec5e
    • Glenn Morris's avatar
      Add some cus-test.el stuff for custom groups · 5ebfa896
      Glenn Morris authored
      * admin/cus-test.el (cus-test-cus-load-groups): New function.
      (cus-test-get-options): Add option to return groups.
      (cus-test-noloads): Also check custom groups.
      5ebfa896
  3. 15 May, 2013 9 commits
    • Glenn Morris's avatar
      Misc custom group fixes · ed8be7ff
      Glenn Morris authored
      * cus-start.el (show-trailing-whitespace): Move to editing basics.
      * faces.el (trailing-whitespace): Don't use whitespace-faces group.
      * obsolete/old-whitespace.el (whitespace-faces): Remove group.
      (whitespace-highlight): Move to whitespace group.
      
      * comint.el (comint-source):
      * pcmpl-linux.el (pcmpl-linux):
      * shell.el (shell-faces):
      * eshell/esh-opt.el (eshell-opt):
      * international/ccl.el (ccl): Remove empty custom groups.
      
      * completion.el (dynamic-completion-mode):
      * jit-lock.el (jit-lock-debug-mode):
      * minibuffer.el (completion-in-region-mode):
      * type-break.el (type-break-mode-line-message-mode)
      (type-break-query-mode):
      * emulation/tpu-edt.el (tpu-edt-mode):
      * progmodes/subword.el (global-subword-mode, global-superword-mode):
      * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      * term/vt100.el (vt100-wide-mode): Specify explicit :group.
      
      * term/xterm.el (xterm): Change parent group to terminals.
      
      * master.el (master): Remove empty custom group.
      (master-mode): Remove unused :group argument.
      * textmodes/refill.el (refill): Remove empty custom group.
      (refill-mode): Remove unused :group argument.
      
      * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
      
      * cedet/semantic/symref/list.el (semantic-symref-auto-expand-results)
      (semantic-symref-results-mode-hook)
      (semantic-symref-results-summary-function): Fix :group.
      
      * erc/erc-list.el (erc-list):
      * erc/erc-menu.el (erc-menu):
      * erc/erc-ring.el (erc-ring): Define custom groups, for define-erc-module.
      
      * gnus/shr-color.el (shr-color-visible-luminance-min)
      (shr-color-visible-distance-min): Use shr-color group.
      
      * url/url-news.el (url-news): Remove empty custom group.
      ed8be7ff
    • Glenn Morris's avatar
      * lisp/cus-dep.el (custom-make-dependencies): Add a fallback method · 82a7c41b
      Glenn Morris authored
      for getting :group.
      82a7c41b
    • Glenn Morris's avatar
      custom-make-dependencies tweaks · f5ba00a6
      Glenn Morris authored
      * lisp/cus-dep.el (custom-make-dependencies): Ignore dotfiles (dir-locals).
      Don't mistakenly ignore files whose basenames match a basename
      from preloaded-file-list (eg cedet/ede/simple.el).
      f5ba00a6
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-char-by-name): Rename from · da547b32
      Juri Linkov authored
      `isearch-insert-char-by-name'.  Doc fix.
      (isearch-forward): Mention `isearch-char-by-name' in
      the docstring.
      
      Fixes: debbugs:13348
      da547b32
    • Juri Linkov's avatar
      * lisp/isearch.el (minibuffer-local-isearch-map): Bind "\r" to `exit-minibuffer' · 6d65486d
      Juri Linkov authored
      instead of `isearch-nonincremental-exit-minibuffer'.
      (isearch-edit-string): Remove mention of
      `isearch-nonincremental-exit-minibuffer' from docstring.
      (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
      (isearch-forward-exit-minibuffer)
      (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
      
      * doc/emacs/search.texi (Repeat Isearch): Mention key `RET' to finish
      editing the string.
      6d65486d
    • Stefan Monnier's avatar
      Use just DOC instead of DOC-nn.mm. · 6e911150
      Stefan Monnier authored
      * lisp/loadup.el: Just use unversioned DOC.
      * Makefile.in (install-doc): DOC file is not version specific any more.
      * .bzrignore: Don't ignore DOC-* any more.
      * admin/quick-install-emacs: Don't prune DOC-* files a any more.
      * doc/lispref/loading.texi (Autoload):
      * doc/lispref/help.texi (Documentation Basics, Accessing Documentation)
      (Accessing Documentation, Accessing Documentation): DOC-* is now DOC.
      * etc/.gitignore: Don't ignore DOC-* any more.
      * lib-src/makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
      * msdos/sed1x.inp: Don't rewrite DOC any more.
      * nt/makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
      * src/Makefile.in (bootstrap-clean): DOC-* doesn't exist any more.
      * src/makefile.w32-in (DOC): Use just "DOC".
      6e911150
    • Stefan Monnier's avatar
      * src/process.c: Export default filters and sentinels to Elisp. · 1aa8d505
      Stefan Monnier authored
      (Qinternal_default_process_sentinel, Qinternal_default_process_filter):
      New constants.
      (pset_filter, pset_sentinel, make_process, Fset_process_filter)
      (Fset_process_sentinel, Fformat_network_address):
      Default to them instead of nil.
      (server_accept_connection): Sentinels can't be nil any more.
      (read_and_dispose_of_process_output): New function, extracted from
      read_process_output.
      (read_process_output): Use it; filters can't be nil.
      (Finternal_default_process_filter): New function, extracted from
      read_process_output.
      (exec_sentinel_unwind): Remove function.
      (exec_sentinel): Don't zilch sentinel while running.
      (status_notify): Sentinels can't be nil.
      (Finternal_default_process_sentinel): New function extracted from
      status_notify.
      (setup_process_coding_systems): Default filter is not nil any more.
      (syms_of_process): Export new Elisp functions and initialize
      new constants.
      * src/lisp.h (make_lisp_proc): New function.
      1aa8d505
    • Stefan Monnier's avatar
      * lisp/nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other · c9990474
      Stefan Monnier authored
      literals as extending to EOB.
      (nxml-last-fontify-end): Remove unused variable.
      (nxml-after-change1): Use with-silent-modifications.
      (nxml-extend-after-change-region): Simplify.
      (nxml-extend-after-change-region1): Remove function.
      (nxml-after-change1): Don't adjust for dependent regions.
      (nxml-fontify-matcher): Simplify.
      * lisp/nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
      (xmltok-add-dependent): Remove function.
      (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
      (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
      (xmltok-scan-prolog-after-processing-instruction-open): Treat
      unclosed <[[, <?, comment, and other literals as extending to EOB.
      * lisp/nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
      (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
      Remove functions.
      (rng-do-some-validation-1): Don't mark dependent regions.
      * lisp/nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
      (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
      (nxml-clear-dependent-regions): Remove functions.
      (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
      (nxml-ensure-scan-up-to-date):
      Don't clear&mark dependent regions.
      c9990474
    • Eli Zaretskii's avatar
      8ec48524