Permalink
Switch branches/tags
Nothing to show
Commits on Feb 25, 2011
  1. Trigger auto-complete with :force-init option, so that tab can be use…

    …d to display tooltips on unique completions
    committed Feb 25, 2011
Commits on Feb 21, 2011
  1. switch from mark-active to use-region-p

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

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

    should have done this prior to the last commit; ho hum...
    genehack committed Feb 13, 2011
  2. Make smart-tab auto-complete aware.

    Based on f636022
    genehack committed Feb 13, 2011
Commits on Jan 10, 2011
  1. smart-tab.el: Adjust documentation and comments

    Run package through checkdoc.el and lisp-mnt.el (core Emacs). Adjust copyright
    to FSF standard by refering to URL and not address. Add headings INSTALL and
    DESCRIPTION. Fix few checkdoc problems in function documentation string.
    jaalto committed with genehack Dec 17, 2010
  2. smart-tab.el: Clean name space and reorder defuns

    Rename `call-completion-function' to
    `smart-tab-call-completion-function' to make the
    utility name space safe.
    
    Reorder function defintions so that they are
    defined before use.
    jaalto committed with genehack Dec 17, 2010
Commits on Dec 12, 2010
  1. Added an exceptions list for major modes that don't play well.

    Seems like this behavior could live in the major mode's hook, but
    define-globalized-minor-mode prevents that from working.
    psanford committed with genehack Nov 23, 2010
Commits on Oct 4, 2009
  1. fix up various broken things.

    i think i merge with upstream went bad at some point or something -- smart-tab-default was FUBAR
    
    also changed get-completion-function to call-completion-function to avoid probs with returning something that funcall wouldn't choke on
    genehack committed Oct 4, 2009
Commits on Sep 25, 2009
  1. Add `turn-off-smart-tab-mode' function.

    Signed-off-by: Dan Hackney <chrono325@gmail.com>
    Dan Hackney committed Sep 25, 2009
Commits on Aug 30, 2009
Commits on Aug 28, 2009
  1. Merge branch 'upstream'

    Conflicts:
    	smart-tab.el
    genehack committed Aug 28, 2009
Commits on Aug 9, 2009
  1. Version bump to 0.3.

    Signed-off-by: Dan Hackney <chrono325@gmail.com>
    Dan Hackney committed Aug 9, 2009
  2. More intelligent fall back when not expanding.

    Rather than calling `indent-for-tab-command', do a search for a binding of tab
    in any active minor mode map (aside from `smart-tab-mode'), then search the
    major mode's binding, then the global binding. This allows a fallback to the
    mode-specific binding of tab.
    
    Signed-off-by: Dan Hackney <chrono325@gmail.com>
    Dan Hackney committed Aug 9, 2009
  3. Remove global binding of smart-tab, use only minor-mode binding.

    Trying to overwrite and restore the global of tab is error-prone. Smart-tab now
    only uses a minor-mode binding.
    
    Signed-off-by: Dan Hackney <chrono325@gmail.com>
    Dan Hackney committed Aug 9, 2009
Commits on May 28, 2009
Commits on May 27, 2009
  1. Set the keybinding globally rather than in a minor mode.

    This allows org-mode's `org-cycle' command to fall-back to `smart-tab' if it
    decides not to do any "org-mode-y" functions. Rather than have `smart-tab' try
    to deal with what it should do if it is called within a the minibuffer, prevent
    `smart-tab-mode' from starting in a minibuffer.
    
    This is a better way of organizing things, since if a major or minor mode wants
    to override the function of tab, then it should have priority over
    `smart-tab'. If that mode wants to provide a fallback (like org-mode does if it
    cannot cycle at the current point), it can use `global-key-binding' to call
    `smart-tab'.
    
    Signed-off-by: Dan Hackney <chrono325@gmail.com>
    Dan Hackney committed May 27, 2009
Commits on May 25, 2009
  1. make completion functions an alist.

    properly set it up as customizable.
    if we don't get a completion function from the alist, respect the setting of smart-tab-using-hippie-expand.
    genehack committed May 25, 2009
  2. Prepare for initial upload to ELPA.

    Clean up documentation and commenting style to match Emacs and EmacsWiki
    guidelines.
    
    Signed-off-by: Dan Hackney <chrono325@gmail.com>
    Dan Hackney committed May 25, 2009
  3. cleanup

    genehack committed May 25, 2009
  4. add in stuff from EmacsWiki user SebastianB

    provides buffer-specific completion functions.
    genehack committed May 25, 2009
  5. add in stuff from EmacsWiki user SebastianB

    provides buffer-specific completion functions.
    genehack committed May 25, 2009
  6. Flesh out minor-mode definitions, loading from custom works.

    Clean up some messy stuff that was around for testing.
    
    Signed-off-by: Dan Hackney <chrono325@gmail.com>
    Dan Hackney committed May 25, 2009
  7. Convert smart-tab to a minor-mode.

    This solves its interaction problems with auto-complete.
    
    Signed-off-by: Dan Hackney <chrono325@gmail.com>
    Dan Hackney committed May 25, 2009
  8. Correct failure to complete with ido.

    When performing an `ido-completing-read', must call `ido-complete' to
    continue. Calling `minibuffer-complete' will not do anything, so tab was unable
    to continue completing in ido minibuffers.
    
    Signed-off-by: Dan Hackney <chrono325@gmail.com>
    Dan Hackney committed May 25, 2009
  9. Setting for hippie- vs dabbrev-expand was reversed.

    Signed-off-by: Dan Hackney <chrono325@gmail.com>
    Dan Hackney committed May 25, 2009
  10. Fix incorrectly specified `defcustom'

    It should now work properly.
    
    Signed-off-by: Dan Hackney <dan@haxney.org>
    haxney committed May 25, 2009
  11. Initial version. Same as on EmacsWiki for now.

    Signed-off-by: Dan Hackney <dan@haxney.org>
    haxney committed May 25, 2009