1. 29 Sep, 2014 1 commit
  2. 27 Sep, 2014 1 commit
    • Stefan Monnier's avatar
      Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el. · e6cfa098
      Stefan Monnier authored
      * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
      (eldoc-schedule-timer): Obey it.
      (eldoc-documentation-function): Default to nil.
      (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
      (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
      (eldoc-highlight-function-argument, eldoc-get-var-docstring)
      (eldoc-last-data-store, eldoc-docstring-first-line)
      (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
      (eldoc-beginning-of-sexp, eldoc-current-symbol)
      (eldoc-function-argstring): Move to elisp-mode.el.
      (eldoc-symbol-function): Remove, unused.
      * lisp/progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
      (elisp-completion-at-point): Rename from lisp-completion-at-point.
      (elisp--preceding-sexp): Rename from preceding-sexp.
      * lisp/loadup.el: Load new file progmodes/elisp-mode.
      * lisp/ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
      * lisp/emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
      (lisp--local-variables-completion-table, lisp--expect-function-p)
      (lisp--form-quoted-p, lisp--company-doc-buffer)
      (lisp--company-doc-string, lisp--company-location)
      (lisp-completion-at-point): Move to elisp-mode.el.
      * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
      extracted from emacs-lisp-mode-syntax-table.
      (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
      elisp-mode.el.
      (lisp-imenu-generic-expression): Add comments to document what comes
      from which Lisp dialect.
      (emacs-lisp-mode-map, emacs-lisp-byte-compile)
      (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
      (emacs-lisp-mode, emacs-list-byte-code-comment-re)
      (emacs-lisp-byte-code-comment)
      (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
      (lisp-interaction-mode-map, lisp-interaction-mode)
      (eval-print-last-sexp, last-sexp-setup-props)
      (last-sexp-toggle-display, prin1-char, preceding-sexp)
      (eval-last-sexp-1, eval-last-sexp-print-value)
      (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
      (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
      * src/lisp.mk (lisp): Add elisp-mode.elc.
      e6cfa098
  3. 24 Sep, 2014 1 commit
  4. 22 Sep, 2014 2 commits
  5. 14 Sep, 2014 1 commit
  6. 13 Sep, 2014 2 commits
  7. 12 Sep, 2014 1 commit
    • Sam Steingold's avatar
      Add support for Vertica SQL. · 82bb5d8c
      Sam Steingold authored
      * lisp/progmodes/sql.el (sql-product-alist): Add vertica.
      (sql-vertica-program, sql-vertica-options)
      (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
      New functions and variables to support Vertica.
      Inspired by code by Roman Scherer <roman@burningswell.com>.
      82bb5d8c
  8. 11 Sep, 2014 1 commit
  9. 09 Sep, 2014 1 commit
    • Glenn Morris's avatar
      NEWS fix · feb7e201
      Glenn Morris authored
      display-buffer-in-previous-window existed before 24.4, but was not
      in display-buffer-fallback-action
      feb7e201
  10. 08 Sep, 2014 1 commit
  11. 06 Sep, 2014 1 commit
    • Leo Liu's avatar
      Add vector qpattern to pcase · e872d52c
      Leo Liu authored
      * doc/lispref/control.texi (Pattern matching case statement): Document vector
      qpattern. 
      
      * etc/NEWS: Mention vector qpattern for pcase.  (Bug#18327).
      
      * lisp/emacs-lisp/pcase.el (pcase): Doc fix.
      (pcase--split-vector): New function.
      (pcase--q1): Support vector qpattern.  (Bug#18327)
      e872d52c
  12. 05 Sep, 2014 3 commits
  13. 03 Sep, 2014 2 commits
    • Martin Rudalics's avatar
      NEWS and TODO changes. · eda0450a
      Martin Rudalics authored
      eda0450a
    • Martin Rudalics's avatar
      Clean up initialization and customization of horizontal scroll bars. · 568df136
      Martin Rudalics authored
      * frame.el (frame-initialize): Remove horizontal-scroll-bars
      from frame-initial-frame-alist.
      * scroll-bar.el (previous-horizontal-scroll-bar-mode)
      (horizontal-scroll-bar-mode-explicit)
      (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
      (toggle-horizontal-scroll-bar): Remove.
      (horizontal-scroll-bar-mode): Remove defcustom.
      (horizontal-scroll-bar-mode): Fix doc-string.
      (scroll-bar-toolkit-scroll)
      (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
      * buffer.c (scroll-bar-height): Fix typo in doc-string.
      * frame.c (Vdefault_frame_horizontal_scroll_bars): Remove
      variable.
      * nsfns.m (Fx_create_frame):
      * w32fns.c (Fx_create_frame):
      * xfns.c (Fx_create_frame): Default horizontal scroll bars to
      nil.
      568df136
  14. 01 Sep, 2014 2 commits
    • Eli Zaretskii's avatar
      Use the new string-collate-lessp function in ls-lisp.el. · 0360ec58
      Eli Zaretskii authored
       lisp/ls-lisp.el (ls-lisp-use-string-collate)
       (ls-lisp-UCA-like-collation): New defcustoms.
       (ls-lisp-string-lessp): Use them to control sorting by file
       names.
      
       etc/NEWS: Mention that ls-lisp uses string-collate-lessp.
      
      Fixes: debbugs:18051
      0360ec58
    • Paul Eggert's avatar
      --enable-silent-warnings now suppresses more chatter. · bc12381e
      Paul Eggert authored
      * INSTALL, etc/NEWS: Document this.
      * lib-src/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
      (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
      (am__v_CCLD_1): New macros, taken from Automake.
      (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
      (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
      (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT})
      (emacsclientw${EXEEXT}, ntlib.o, hexl${EXEEXT})
      (update-game-score${EXEEXT}): Use them.
      * lwlib/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
      (am__v_CC_0, am__v_CC_1): New macros, taken from Automake.
      (.c.o): Use them.
      * oldXMenu/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
      (am__v_CC_0, am__v_CC_1): New macros, taken from Automake.
      (.c.o): Use them.
      * src/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
      (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
      (am__v_CCLD_1): New macros, taken from Automake.
      (.c.o, .m.o, temacs$(EXEEXT)): Use them.
      bc12381e
  15. 29 Aug, 2014 3 commits
  16. 25 Aug, 2014 1 commit
    • Eli Zaretskii's avatar
      Implement locale-sensitive string collation for MS-Windows. (Bug#18051) · 015ea0ff
      Eli Zaretskii authored
       src/w32proc.c (get_lcid_callback, get_lcid, w32_compare_strings):
       New functions.
       src/w32.h (w32_compare_strings): Add prototype.
       src/w32.c <g_b_init_compare_string_w>: New global flag.
       (globals_of_w32): Initialize it.
       src/sysdep.c (str_collate) [WINDOWSNT]: Implementation for MS-Windows.
       src/fns.c (Fstring_collate_lessp, Fstring_collate_equalp)
       [WINDOWSNT]: Call str_collate on MS-Windows.
      
       etc/NEWS: Mention that string-collate-* functions are supported on
       MS-Windows as well.
      015ea0ff
  17. 24 Aug, 2014 1 commit
  18. 21 Jul, 2014 2 commits
  19. 20 Jul, 2014 1 commit
    • Fabián Ezequiel Gallina's avatar
      Make python.el work with IPython automatically. · b06a0dff
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el:
      (python-shell-completion-setup-code): New value supporting iPython.
      (python-shell-completion-string-code): New value supporting iPython.
      (python-shell-completion-get-completions): Use them.
      (python-shell-completion-module-string-code): Make obsolete.
      (python-shell-prompt-input-regexps)
      (python-shell-prompt-output-regexps): Add safeguard for ipdb.
      (python-shell-output-filter): Fix comment typo.
      
      * test/automated/python-tests.el:
      (python-util-clone-local-variables-1): Fix test.
      
      Fixes: debbugs:15510
      b06a0dff
  20. 11 Jul, 2014 1 commit
  21. 08 Jul, 2014 1 commit
    • Juri Linkov's avatar
      * lisp/vc/vc-annotate.el (vc-annotate-background-mode): New defcustom. · b89e78fd
      Juri Linkov authored
      (vc-annotate-color-map): Use less saturated colors (20%) for
      background-mode.
      (vc-annotate-very-old-color): Add default value for background-mode.
      (vc-annotate-background): Set default value to nil since now text on
      the default backgrounds should be legible in light and dark modes.
      (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
      
      Fixes: debbugs:17808
      b89e78fd
  22. 07 Jul, 2014 1 commit
    • Luke Lee's avatar
      HideIfDef mode bug fixes and enhancements. This is #3 of 3 patches based · 2c578850
      Luke Lee authored
      on the completed work posted on http://www.emacswiki.org/emacs/HideIfDef.
      
      - Add macro evaluation function and key binding for a marked region.
      - Merge continuous "..." lines into one.
      - Fix old hideif bugs that fail to hide the correct #elif regions
      - Support hide/show commands in a marked region.
      - Expand top level for .h files to prevent re-inclusion protection.
      - Change maintainer.
      
      * lisp/progmodes/hideif.el (hide-ifdef-env): Change to global.
      (hide-ifdef-env-backup): New variable.
      (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
      New customizable variables.
      (hif-clear-all-ifdef-defined): New defun.
      (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
      (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
      (hif-tokenize): Fix for MS-DOS/Win EOL style.
      (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
      Fix bug to hide the correct #elif region(s).
      (hif-range-elif): New defun.
      (hif-recurse-level): New var.
      (hif-evaluate-region, hif-evaluate-macro): New defun.
      (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
      fully hidden.
      (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
      Better interaction.
      2c578850
  23. 04 Jul, 2014 1 commit
    • Eli Zaretskii's avatar
      Minor updates in etc/TODO and etc/NEWS. · c247c775
      Eli Zaretskii authored
       etc/TODO: Remove items that were already done.  Rearrange a few
       items that are closely related.  Update a couple of items with new
       information.
       etc/NEWS: Mention 'network-interface-list' and 'network-interface-info'
       being available on MS-Windows.
      c247c775
  24. 03 Jul, 2014 1 commit
  25. 30 Jun, 2014 2 commits
    • Fabián Ezequiel Gallina's avatar
      a24225d5
    • Fabián Ezequiel Gallina's avatar
      New if-let, when-let, thread-first and thread-last macros. · c08f8be2
      Fabián Ezequiel Gallina authored
      * lisp/emacs-lisp/subr-x.el
      (internal--listify, internal--check-binding)
      (internal--build-binding-value-form, internal--build-binding)
      (internal--build-bindings): New functions.
      (internal--thread-argument, thread-first, thread-last)
      (if-let, when-let): New macros.
      
      * test/automated/subr-x-tests.el
      (subr-x-test-if-let-single-binding-expansion)
      (subr-x-test-if-let-single-symbol-expansion)
      (subr-x-test-if-let-nil-related-expansion)
      (subr-x-test-if-let-malformed-binding, subr-x-test-if-let-true)
      (subr-x-test-if-let-false, subr-x-test-if-let-bound-references)
      (subr-x-test-if-let-and-lazyness-is-preserved)
      (subr-x-test-when-let-body-expansion)
      (subr-x-test-when-let-single-binding-expansion)
      (subr-x-test-when-let-single-symbol-expansion)
      (subr-x-test-when-let-nil-related-expansion)
      (subr-x-test-when-let-malformed-binding)
      (subr-x-test-when-let-true, subr-x-test-when-let-false)
      (subr-x-test-when-let-bound-references)
      (subr-x-test-when-let-and-lazyness-is-preserved)
      (subr-x-test-thread-first-no-forms)
      (subr-x-test-thread-first-function-names-are-threaded)
      (subr-x-test-thread-first-expansion)
      (subr-x-test-thread-last-no-forms)
      (subr-x-test-thread-last-function-names-are-threaded)
      (subr-x-test-thread-last-expansion): New tests.
      c08f8be2
  26. 26 Jun, 2014 1 commit
  27. 24 Jun, 2014 1 commit
  28. 19 Jun, 2014 2 commits
  29. 17 Jun, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/rect.el (rectangle-preview): New custom. · 5139e960
      Stefan Monnier authored
      (rectangle): New group.
      (rectangle--pos-cols): Add `window' argument.
      (rectangle--string-preview-state, rectangle--string-preview-window):
      New vars.
      (rectangle--string-flush-preview, rectangle--string-erase-preview)
      (rectangle--space-to, rectangle--string-preview): New functions.
      (string-rectangle): Use them.
      (rectangle--inhibit-region-highlight): New var.
      (rectangle--highlight-for-redisplay): Obey it.  Make sure
      `apply-on-region' uses the point-crutches of the right window.
      Use :align-to rather than multiple spaces.
      5139e960