Permalink
Commits on May 14, 2017
Commits on Feb 22, 2017
Commits on Feb 13, 2017
  1. Assign a semantic score to expansions. (#218)

    When choosing the best expansion, don't just choose the smallest
    expansion that is bigger than the current region.
    
    A pathological case before was `foo_|bar|.x` expanding to
    `foo_|bar.x|` rather than `|foo_bar|.x`.
    
    Instead, we calculate the number of different syntatic elements, and
    choose the expansion with the smallest amount of additional syntax.
    
    Fixes #210.
    Wilfred committed with Feb 13, 2017
Commits on Jan 23, 2017
Commits on Nov 22, 2016
  1. Merge pull request #213 from Wilfred/better_tests

    Fix text-mode, c-mode and org-mode on recent Emacsen
    committed on GitHub Nov 22, 2016
Commits on Nov 21, 2016
  1. Fix c-mode expansions.

    In Emacs 25.1, `save-excursion` does not save the mark, we need to use
    `save-mark-and-excursion`. As a result, `er/c-mark-statement` was never
    marking a region.
    Wilfred committed Nov 21, 2016
  2. Load text-mode as a string.

    text-mode.el does not end with a call to provide, so there's no feature
    'text-mode that we can load. As a result, text-mode-expansions was never
    loaded.
    Wilfred committed Nov 21, 2016
  3. Fix org-mode tests.

    As of Emacs 24.4, er/mark-defun is managing to expand the region in
    org-mode buffers. This isn't useful, and required the user to call
    expand-region again to further expand the region to semantically
    meaningful org region.
    
    Instead, we exclude er/mark-defun in org-mode buffers.
    Wilfred committed Nov 20, 2016
  4. Merge pull request #212 from Silex/master

    Correct use of eval-after-load
    committed on GitHub Nov 21, 2016
Commits on Nov 20, 2016
  1. Correct use of eval-after-load

    With a symbol, only the file providing the feature triggers the
    eval-after-load. With a string, any file named the same way triggers
    it. This is problematic for custom configurations named after
    packages.
    Silex committed Nov 20, 2016
Commits on Oct 20, 2016
  1. Release 0.11.0

    committed Oct 20, 2016
Commits on Jul 29, 2016
  1. Add @AndreaOrru to list of contributors

    committed on GitHub Jul 29, 2016
  2. Merge pull request #198 from AndreaOrru/master

    Smart cursor.
    committed on GitHub Jul 29, 2016
Commits on Jul 18, 2016
  1. More tests.

    AndreaOrru committed Jul 18, 2016
  2. Some tests.

    AndreaOrru committed Jul 18, 2016
  3. Smart cursor.

    AndreaOrru committed Jul 18, 2016
Commits on Sep 2, 2015
  1. Merge pull request #178 from magnars/revert-177-master

    Revert "Bugfix: save-mark-and-excursion does not exist until E25.1"
    committed Sep 2, 2015
  2. Revert "Bugfix: save-mark-and-excursion does not exist until E25.1"

    committed Sep 2, 2015
  3. Merge pull request #177 from tifletcher/master

    Bugfix: save-mark-and-excursion does not exist until E25.1
    committed Sep 2, 2015
Commits on Sep 1, 2015
Commits on Aug 18, 2015
  1. Merge pull request #176 from sviridov/coveralls-badge

    New coveralls badge url
    committed Aug 18, 2015
  2. New coveralls badge url

    sviridov committed Aug 18, 2015
Commits on Aug 5, 2015
  1. Merge pull request #173 from tarsius/master

    require subword, use cl-lib, silence byte-compiler
    committed Aug 5, 2015
Commits on Jul 31, 2015
  1. Silence byte-compiler

    Define `er/set-temporary-overlay-map' instead of the obsolete
    `set-temporary-overlay-map'.  It would be better to use
    `set-transient-map', at least for Emacs v25.1.
    tarsius committed Jul 31, 2015
  2. Use cl-find-if, require cl-lib

    Use `cl-find-if' instead of `find-if` (from the obsolete `cl' library).
    Require `cl-lib' which defines `cl-find-if'.  Previously neither `cl'
    nor `cl-lib' was required.
    tarsius committed Jul 31, 2015
Commits on Jul 18, 2015
  1. Merge pull request #171 from Wilfred/master

    Ensure expand-region can be upgraded without uninstall.
    committed Jul 18, 2015
Commits on Jul 17, 2015
  1. Ensure expand-region can be upgraded without uninstall.

    The problem with checking whether `save-mark-and-excursion` is bound, is
    we risk confusion if we've already bound it ourselves.
    
    See the discussion at
    69819ac .
    Wilfred committed Jul 17, 2015
Commits on May 25, 2015
Commits on May 24, 2015
Commits on Apr 14, 2015
  1. Roll back broken fix for #160

    Opens #160
    committed Apr 14, 2015
Commits on Apr 13, 2015
Commits on Dec 23, 2014