Permalink
Switch branches/tags
Nothing to show
Commits on Aug 5, 2012
  1. Merge pull request #3 from tarsius/master

    stahnma committed Aug 5, 2012
    add proper library header
Commits on Jul 4, 2012
  1. add proper library header

    tarsius committed Jul 4, 2012
Commits on Nov 22, 2011
  1. Add CONTRIBUTING.md, and LICENSE files lost separating from puppet repo

    jhelwig committed Nov 22, 2011
    Since the history included from the puppet repository was only that
    affecting the ext/emacs directory, the LICENSE, and CONTRIBUTING.md
    files were not included.  This adds them to the new Emacs syntax file
    specific repository, modifying the branch information in
    CONTRIBUTING.md appropriately.
Commits on Apr 8, 2011
  1. Merge puppet-interfaces into puppet.

    slippycheeze committed Apr 8, 2011
    This joins the two repositories, including full history, into a single run, as
    well as landing the interfaces work on the next branch ready for release.
Commits on Jun 5, 2009
  1. Removed extra whitespace from end of lines

    Ian Taylor authored and jamtur01 committed Jun 5, 2009
Commits on Dec 27, 2008
Commits on Nov 24, 2008
Commits on May 30, 2008
  1. Further Emacs puppet-mode fixes

    rra authored and jamtur01 committed May 30, 2008
    More correctly handle indentation of lines enclosed in [] when the
    contents themselves contain [], such as arrays of object references
    for requires.
    
    Exclude newlines from more of the parsing regexes for more accurate
    results.
    
    Fontify references to objects even if they're not at the start of a
    line.
Commits on May 12, 2008
  1. Fix Emacs mode indentation of multiple nested blocks

    rra authored and lak committed May 9, 2008
    Indentation of multiple nested blocks was broken; the closing braces
    of all the outer blocks were put into column 0 because finding the
    block indentation failed.  Do normal indentation if finding a block
    indentation fails, but more importantly, be smarter about searching
    backwards to find the beginning of the current block, taking balanced
    braces into account.
    
    There is probably some less-ugly and more Emacs-native way of doing
    this.
  2. Enhancements to syntax highlighting and indentation for Emacs

    rra authored and lak committed May 3, 2008
    More correctly handle multiple resources in a block, such as:
    
    type {
        "name":
            attr => foo,
            oattr => bar;
        "other":
            attr => baz;
    }
    
    Handle continued arguments in parentheses, such as define or realize
    arguments.  Try to be a bit more robust about indenting in general.
    
    Add the remaining Puppet language keywords (I think) and improve the
    handling of type references at the top level.  Remove the hack for
    continued include lines and fix it properly.
    
    Remove more non-Puppet code left over from the mode this one was
    based on.  Use a more straightforward method of setting up the font-lock
    keywords and do it the same way for both XEmacs and Emacs since I think
    they can both handle the current method (and other modes agree).
  3. Use our own count-matches for Emacs 21 compatibility

    rra authored and lak committed May 2, 2008
    Replace count-matches with a puppet-count-matches function that does
    the same as the Emacs 22 count-matches.  The Emacs 21 count-matches
    is different and not useful for our purposes.
Commits on Apr 4, 2008
  1. Revert "Additional fix to emacs for ticket #1160"

    jamtur01 committed Apr 4, 2008
    This reverts commit bb65226e54d5e476581118e7c2c5e42275a6b290.
Commits on Apr 3, 2008
  1. Committed patch from #1160

    jamtur01 committed Apr 3, 2008
Commits on Mar 20, 2008
  1. * puppet/ext/emacs/puppet-mode.el (puppet-indent-line): Clean up the …

    kfogel authored and lak committed Jan 20, 2008
    …code somewhat after commit 738d275f41f3eaf015800021dd2dfe6c42a1ae79, as promised.
  2. * puppet/ext/emacs/puppet-mode.el (puppet-indent-line): Be more sophi…

    kfogel authored and lak committed Jan 20, 2008
    …sticated about what we do at the beginning of the buffer, so that the first expression after an block-opening statement that happens to begin at the beginning of the buffer gets indented correctly. This may need some cleanup, but I wanted to get the correct behavior committed first.
    
    Reported by: Micah Anderson
    (Who again supplied the reproduction case.)
  3. Fix bug mentioned in commit f814e23eab140ad01df4a4a3b187fcbf20da02be:

    kfogel authored and lak committed Jan 19, 2008
    * puppet/ext/emacs/puppet-mode.el
      (puppet-indent-line): When iterating backwards, test for
        beginning-of-buffer first, to avoid an infinite loop.
    
    Reported by: Micah Anderson
    (He also supplied a clear reproduction recipe.)
  4. * ext/emacs/puppet-mode.el (puppet-comment-line-p, puppet-in-array): …

    kfogel authored and lak committed Jan 19, 2008
    …New helper functions. (puppet-indent-line): Rewrite to handle three more situations: indent elements in an array, indent single-line blocks, and ignore previous comment content when indenting non-comment lines.
    
    Suggested by: Micah Anderson
    (He also provided the test data.)
    
    Notes: Michah points out that this change may have introduced an
    infinite loop (he can cause Emacs to hang now).  Will investigate and
    fix in a separate change.
Commits on Jan 6, 2007
  1. Minor cleanup, leave cursor at beginning of indented line, not its end

    lutter
    lutter committed Jan 6, 2007
    git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2065 980ebf18-57e1-0310-9a29-db15c13687c0
  2. Add indentation written by Mario Martelli

    lutter
    lutter committed Jan 6, 2007
    git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2064 980ebf18-57e1-0310-9a29-db15c13687c0
Commits on Feb 7, 2006
  1. Simple emacs mode for editing manifests; only does pretty colors righ…

    lutter
    lutter committed Feb 7, 2006
    …t now
    
    git-svn-id: https://reductivelabs.com/svn/puppet/trunk@874 980ebf18-57e1-0310-9a29-db15c13687c0