Permalink
Switch branches/tags
Nothing to show
Commits on Mar 4, 2016
  1. Merge pull request #48 from xuchunyang/patch-1

    Update URL
    joaotavora committed Mar 4, 2016
Commits on Feb 19, 2016
  1. Update URL

    xuchunyang committed Feb 19, 2016
Commits on Oct 22, 2014
Commits on Oct 2, 2014
  1. Update README.md

    joaotavora committed Oct 2, 2014
Commits on Sep 25, 2014
  1. Update README.md

    joaotavora committed Sep 25, 2014
  2. Tweak README

    joaotavora committed Sep 25, 2014
Commits on Sep 9, 2014
  1. Merge pull request #44 from ramnes/master

    Ignore byte-compiled files
    joaotavora committed Sep 9, 2014
  2. Ignore byte-compiled files

    ramnes committed Sep 9, 2014
Commits on Aug 25, 2014
  1. Closes #43: Don't get confused by "expression prefix" syntax

    * autopair-tests.el (issue-43-confusion-in-emacs-lisp-mode): New test.
    
    * autopair.el (autopair--forward-sexp): New function. Skips over
    "'" syntax.
    (autopair--find-pair): Use `autopair--forward-sexp'. Use
    `cl-return'.
    joaotavora committed Aug 25, 2014
Commits on Mar 11, 2014
  1. Closes #38: decide faster in large files with many quotes

    * autopair.el (autopair-insert-or-skip-quote): Simplify.
    (autopair--in-unterminated-string-p): Also look for cases where
    we're inside an unterminated string started by a generic string
    delimiter.
    joaotavora committed Mar 11, 2014
Commits on Dec 6, 2013
  1. Refactor: simplify `autopair--up-list`, refactor, add some doc

    - Also rename `autopair--find-pair` to `autopair--pair-of`
    - `autopair--find-pair` is now a helper for `autopair--up-list`
    joaotavora committed Dec 6, 2013
  2. Closes #35: redesign to make compatible with (slightly) older emacsen…

    … again
    
    Also:
    - remove unneeded hack for `global-hl-line-mode` compatibility
    - fix indentation and other cosmetic fixes
    - internal symbols are now prefixed "autopair--"
    - remove byte-compilation warnings about cl-functions
    joaotavora committed Dec 6, 2013
Commits on Dec 5, 2013
  1. Closes #34: redesigned `autopair-up-list', `autopair-pair-p` and `aut…

    …opair-skip-p`
    
    - All existing tests pass.
    - Respecified one test: autopairing at the beginning of "(])" should happen as it reduces unbalance.
    - Now relies purely on `forward-sexp` functions (no more `scan-sexps`),
    - Should work with such functions defined with SMIE.
    - Leverages paren.el's show-paren-data-function to find matching delimiter
    - Probably only works on recent emacsen (24.3 onwards).
    
    More refactorings possible, namely narrowing buffer to the
    string/comment when inside such constructs.
    joaotavora committed Dec 3, 2013
Commits on Nov 1, 2013
  1. Closes #31: imitate isearch-mode-map when binding return and backspace.

    - Also bump version to 0.5
    joaotavora committed Nov 1, 2013
Commits on Oct 9, 2013
  1. Closes #22, and possibly #28: handle args-out-of-range in autopair-pa…

    …ir-p
    
    Also use the `scan-error` subtype in many `condition-case` clauses.
    joaotavora committed Oct 9, 2013
Commits on Oct 7, 2013
  1. fix: bring back essential `autopair-skip-criteria`

    Joao Tavora committed Oct 7, 2013
Commits on Oct 6, 2013
Commits on Oct 5, 2013
  1. Merge pull request #25 from DarwinAwardWinner/defcustom

    Add defcustom declarations
    joaotavora committed Oct 5, 2013
Commits on Feb 3, 2013
  1. Merge pull request #13 from ptpt/master

    Make sure `define-minor-mode` comes before `define-globalized-minor-mode`
    joaotavora committed Feb 3, 2013
Commits on Nov 23, 2012
Commits on Nov 21, 2012
  1. Merge pull request #12 from purcell/master

    Fix some byte-compilation warnings
    joaotavora committed Nov 21, 2012
Commits on Nov 20, 2012
  1. Fix some byte-compilation warnings

    This commit fixes the following warnings:
    
        autopair.el:182:1:Warning: cl package required at runtime
        autopair.el:204:34:Warning: `make-variable-buffer-local' should be called at
            toplevel
        In autopair-pair-p:
        autopair.el:841:23:Warning: autopair-escaped-p called with 0 arguments, but
            requires 1
    purcell committed Nov 20, 2012
Commits on Sep 21, 2012
  1. Fix: Typo in Readme.org

    joaotavora committed Sep 21, 2012
Commits on Aug 20, 2012
Commits on Aug 18, 2012
  1. Merge pull request #5 from dsedivec/master

    Enhancement: add autoload cookies
    joaotavora committed Aug 18, 2012
  2. Add autoload cookies

    dsedivec committed Aug 18, 2012
Commits on Aug 16, 2012
  1. Closes #3: in `autopair-insert-or-skip-quote`, handle errors without …

    …position info.
    
    Not all errors produced `up-list` have the needed `fourth` position arg,
    especially when `forward-sexp-function` is used, as is the case of
    `nxml-forward-balanced-item`. In those cases, the best we can do is ignore it.
    
    There might be a lot more situations like these, since autopair sometimes
    heavily relies on the position info bundled with syntactic movement errors.
    joaotavora committed Aug 16, 2012
Commits on Jul 22, 2012
Commits on Jul 8, 2012
  1. some new tests

    joaotavora committed Jul 8, 2012