Permalink
Switch branches/tags
Nothing to show
Commits on Sep 2, 2017
Commits on Aug 26, 2017
  1. Bump version to 0.4

    genehack committed Aug 26, 2017
Commits on Jul 15, 2017
  1. Rewrite `smart-tab-call-completion-function` for clarity

    vedang committed Jul 15, 2017
    Ensure that we don't break the existing functionality (using
    auto-complete-mode for completion), while making it possible to plug in
    other completion systems.
Commits on Jun 4, 2016
  1. Enable ~smart-tab~ to offer suggestions after a period.

    vedang committed Jun 4, 2016
    This commit introduces a customizable variable called
    ~smart-tab-expand-eolp~ which controls whether smart-tab should offer
    completion suggestions at the end of a line or not. This allows
    smart-tab to offer completions for method names.
    
    The default value is nil, which retains the previous behaviour of
    smart-tab.
  2. Add support for external completion frameworks

    vedang committed Jun 4, 2016
    This commit replaces the ~auto-complete-mode~ related code inside
    ~smart-tab~ with a new generic variable called
    ~smart-tab-user-provided-completion-function~. This allows us to plug in
    completion functions from other completion frameworks like
    ~company-mode~.
    
    This change breaks the following existing behaviour:
    automatic completion via ~auto-complete-mode~.
    
    In order to enable this, the user needs to explicitly add this to his
    init file:
    
         (setq smart-tab-user-provided-completion-function 'ac-start)
Commits on Jul 3, 2015
Commits on Jun 27, 2015
  1. Improve activation logic and fallback lookup

    bard committed with genehack May 24, 2015
    Some modes, such as Backtrace and Customize, do not include a binding
    for both `<tab>` (physical key) and `TAB` (`C-i`, ASCII code), relying
    instead on one being translated into the other by Emacs. In these modes,
    lookup of default tab action maight fail because `(key-binding ...)`
    does not take that translation into account. Fix this by explicitly
    looking up a binding for the translation in case the original key isn't
    bound.
    
    Additionally, skip any logic that would lead to buffer-altering
    behavior (indenting, completion) in case the buffer is read-only.
    
    Additionally, move region indenting out of `smart-tab-default` and into
    `smart-tab` since indenting a region is definitely not tab's default
    behavior.
  2. Fall back to major mode's tab if unable to expand

    bard committed with genehack May 15, 2015
    In modes where tab is associated to something other than indenting,
    smart-tab breaks the behavior, unless the user manually disables it
    through `smart-tab-disabled-major-modes`.
    
    If no completion is available, make `smart-tab-default` fall back to tab
    behavior as defined in major mode or, if none is defined,
    `indent-for-tab-command`.
    
    Possibly makes `smart-tab-disabled-major-modes` superfluous. Motivated
    by smart-tab breaking markdown-mode. Re-implements 7c80c79, though a bit
    more elegantly.
  3. Spaces to make the linter happy

    genehack committed Jun 27, 2015
Commits on Mar 28, 2015
  1. Merge pull request #8 from Wilfred/autoload-global-smart-tab

    genehack committed Mar 28, 2015
    Autoload global-smart-tab-mode.
Commits on Mar 26, 2015
  1. Autoload global-smart-tab-mode.

    Wilfred committed Mar 26, 2015
    It's common in elisp packages to autoload the primary commands so users
    have them available immediately after install, and don't need to add
    `(require 'smart-tab)` in their configuration. I'd like to be able to
    do the same with smart-tab.
Commits on Jan 5, 2015
  1. Merge pull request #7 from KudaSai/master

    genehack committed Jan 5, 2015
    Add w3m and magit-mode to disabled major modes
Commits on Nov 30, 2014
  1. Add `magit-mode' to smart-tab-disabled-major-modes

    KudaSai committed Nov 30, 2014
    Might as well add `magit-mode' while we're at it.
Commits on Nov 29, 2014
Commits on Mar 17, 2013
  1. Whitespace

    genehack committed Mar 17, 2013
Commits on Mar 4, 2013
  1. Merge pull request #6 from mrvdb/eshell-default-off

    genehack committed Mar 4, 2013
    Add eshell to modes that are disabled by default
Commits on Apr 9, 2012
  1. Merge pull request #5 from tarsius/master

    genehack committed Apr 9, 2012
    remove .gitignore
Commits on Jan 27, 2012
Commits on Jan 15, 2012
  1. Merge pull request #4 from jaalto/patches

    genehack committed Jan 15, 2012
    Couple of small byte compile fixes
Commits on Dec 30, 2011
  1. Fix unknown variables and functions

    jaalto committed Dec 30, 2011
    (top-level): Add `auto-complete-mode' to quiet byte compiler.
    (defgroup smart-tab): Add missing :group.
    (smart-tab-call-completion-function): Check `auto-complete-mode'
    with `boundp'. Call `ac-start' only if it exists.
    (smart-tab-funcall): New.
Commits on Oct 6, 2011
  1. Fix logic error

    genehack committed Oct 6, 2011
Commits on Feb 26, 2011
  1. ignore byte-compiled file

    genehack committed Feb 26, 2011
  2. Trigger auto-complete with :force-init option

    purcell committed with genehack Feb 25, 2011
    This makes it so that tab can be used to display
    tooltips on unique completions
Commits on Feb 21, 2011
  1. switch from mark-active to use-region-p

    genehack committed Feb 21, 2011
    hand merge of
    sroccaserra@1e1c311
    
    reported to avoid problems with vimpulse and visual modes
Commits on Feb 17, 2011
  1. add org-mode to smart-tab-disabled-major-modes

    John SJ Anderson committed Feb 17, 2011
    TAB is used so much in org-mode, can't imagine anybody wants smart-tab on there.
Commits on Feb 13, 2011
  1. run checkdoc

    genehack committed Feb 13, 2011
    should have done this prior to the last commit; ho hum...