Commits on Oct 20, 2019

  1. Copy the full SHA
    aee4330 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2019

  1. Update core-test

    10sr committed Oct 23, 2019
    Copy the full SHA
    ebaca24 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2019

  1. Fix that "?" does not match "/"

    10sr committed Oct 25, 2019
    Copy the full SHA
    6bf98d5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #211 from editorconfig/coretest

    Update core-test
    10sr committed Oct 25, 2019
    Copy the full SHA
    59c734a View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2019

  1. Fix typos (#212)

    Typos found with codespell.
    DamienCassou authored and 10sr committed Nov 27, 2019
    Copy the full SHA
    65f8244 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2019

  1. Remove a trailing whitespace

    10sr committed Dec 20, 2019
    Copy the full SHA
    b1154ea View commit details
    Browse the repository at this point in the history
  2. Use elisp core by default

    Closes #198
    10sr committed Dec 20, 2019
    Copy the full SHA
    6deff59 View commit details
    Browse the repository at this point in the history
  3. Update README

    10sr committed Dec 20, 2019
    Copy the full SHA
    243cc04 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2020

  1. 2020

    10sr committed Jan 16, 2020
    Copy the full SHA
    cf11568 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #213 from editorconfig/fixdoc

    Fix doc
    10sr committed Jan 16, 2020
    Copy the full SHA
    5c67d22 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Copy the full SHA
    5f5fe7b View commit details
    Browse the repository at this point in the history
  2. Update hook docstrings (#215)

    10sr committed Feb 12, 2020
    Copy the full SHA
    19de0ec View commit details
    Browse the repository at this point in the history

Commits on May 18, 2020

  1. Copy the full SHA
    b14de36 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #209 from editorconfig/defaultcore

    Use elisp core by default
    10sr committed May 18, 2020
    Copy the full SHA
    69877e2 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2020

  1. Copy the full SHA
    b181b13 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2020

  1. Keep a CHANGELOG (#221)

    * Add empty CHANGELOG.md
    
    * Generate CHANGELOG template
    
    ```python
    #!/usr/bin/env python3
    
    import subprocess
    
    def _get_tag_date(tag):
        git_show = subprocess.run(["git", "show", tag, "--format=%cd", "--date=short", "-s"], capture_output=True)
        return git_show.stdout.decode("utf-8").strip()
    
    def main():
        git_tag = subprocess.run(["git",  "tag"], capture_output=True)
        versions = list(reversed([e[1:] for e in git_tag.stdout.decode("utf-8").split("\n") if e]))
        for version in versions:
            print(f"## [{version}] - {_get_tag_date('v' + version)}")
            print()
            print()
    
        print(f"[Unreleased]: https://github.com/editorconfig/editorconfig-emacs/compare/v{versions[0]}...HEAD")
        for version, version_prev in zip(versions, versions[1:]):
            print(f"[{version}]: https://github.com/editorconfig/editorconfig-emacs/compare/v{version_prev}...v{version}")
        print(f"[{versions[-1]}]: https://github.com/editorconfig/editorconfig-emacs/releases/tag/v{versions[-1]}")
        return
    
    main()
    ```
    
    * Paste release notes from github releases
    
    * Add release note for unreleased
    
    * Fix line
    10sr committed May 22, 2020
    Copy the full SHA
    9a73ff7 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2020

  1. Copy the full SHA
    0600c9d View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2020

  1. Fix typos

    kini committed Jul 27, 2020
    Copy the full SHA
    386b687 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ee59498 View commit details
    Browse the repository at this point in the history
  3. Use uniform equality in properties hash tables

    Previously, `editorconfig-get-properties` could return either an equal-based
    hash table (if the `editorconfig-exec-path` executable was run) or an eql-based
    hash table (if the internal elisp implementation was used).  Since the former is
    keyed on symbols anyway, it makes sense to make them both use eql for
    consistency.
    kini committed Jul 27, 2020
    Copy the full SHA
    876eff1 View commit details
    Browse the repository at this point in the history
  4. Always handle "unset" values as non-present

    According to [the editorconfig specification][1],
    
    > For any pair, a value of `unset` removes the effect of that pair, even if it
    > has been set before. For example, add `indent_size = unset` to undefine the
    > `indent_size` pair (and use editor defaults).
    
    Yet, the test suite for editorconfig *cores* [indicates][2] that an editorconfig
    shouldn't ignore values of "unset", and should return them as-is.
    
    Therefore it's up to editorconfig *plugins* to discard values of "unset" at the
    point of use.
    
    Before this commit, the only place in the code where the value "unset" was
    checked for was in `editorconfig-set-major-mode-from-ext`, whereas in other
    places, such as `editorconfig-set-indentation`, it was not checked.
    
    After this commit, values of "unset" are immediately removed from the properties
    hashtable before it is used to do anything in `editorconfig-apply`.  This
    ensures that properties with value "unset" will be treated indistinguishably
    from unspecified properties.
    
    This fixes the behavior shown in this gist:
    
      https://gist.github.com/kini/560673dbff4b8e42bb40a82a8ca6e5b1
    
    [1]: https://editorconfig-specification.readthedocs.io/en/latest/#supported-pairs
    [2]: editorconfig/editorconfig-core-test#12
    kini committed Jul 27, 2020
    Copy the full SHA
    be3d987 View commit details
    Browse the repository at this point in the history
  5. Don't make unchanged vars buffer-local

    Note that `indent-tabs-mode` and `tab-width` are both "buffer-local whenever
    set" variables so there's no need to run `make-local-variable` on them, as I
    understand it.
    kini committed Jul 27, 2020
    Copy the full SHA
    e644c60 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2020

  1. Merge pull request #222 from kini/unset-handling

    Always handle "unset" values as non-present
    10sr committed Jul 30, 2020
    Copy the full SHA
    03ec99d View commit details
    Browse the repository at this point in the history
  2. Update README to help bootstrap users (#219)

    * Update README to help bootstrap users
    
    * Update doc
    
    * Fix doc
    
    * Update
    
    * Updat
    10sr committed Jul 30, 2020
    Copy the full SHA
    44c3808 View commit details
    Browse the repository at this point in the history
  3. Add doc about make sandbox

    10sr committed Jul 30, 2020
    Copy the full SHA
    39eeb5b View commit details
    Browse the repository at this point in the history
  4. Update CHANGELOG

    10sr committed Jul 30, 2020
    Copy the full SHA
    e0b5b4b View commit details
    Browse the repository at this point in the history
  5. Merge pull request #224 from editorconfig/updatedoc

    Update doc
    10sr committed Jul 30, 2020
    Copy the full SHA
    ab2194e View commit details
    Browse the repository at this point in the history
  6. Fix references in CHANGELOG (#226)

    * Fix issue references in CHANGELOG
    
    * Fix commit reference link
    10sr committed Jul 30, 2020
    Copy the full SHA
    9bc1343 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2020

  1. Add Emacs 27.1 to test target (#228)

    * Add Emacs 27.1 to travis test target
    
    * Add GitHub Actions build.yaml
    
    * Fix evm 27.1 version
    
    * Remove github actions build.yaml
    10sr committed Oct 6, 2020
    Copy the full SHA
    a6c70da View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. editorconfig-exclude-modes should start with "/"

    TRAMP paths looks like `/method:user@host:/path/to/file`, per https://www.gnu.org/software/tramp/#Quick-Start-Guide .
    tomfitzhenry authored and xuhdev committed Nov 12, 2020
    Copy the full SHA
    0691d63 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2020

  1. Exclude Tramp over SSH (#234)

    editorconfig via Tramp over SSH causes find-file to lag, as it traverses up the remote file hierarchy, each step incurring a network roundtrip.
    
    Co-authored-by: Hong Xu <hong@topbug.net>
    tomfitzhenry and xuhdev committed Nov 16, 2020
    Copy the full SHA
    3cb67f8 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2020

  1. Silence byte-compiler warnings (#235)

    Move aliases before their referents
    
    Co-authored-by: 10sr <8.slashes@gmail.com>
    leungbk and 10sr committed Nov 22, 2020
    Copy the full SHA
    150ae03 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2020

  1. Add Github Actions build.yaml

    10sr committed Nov 23, 2020
    Copy the full SHA
    1a8e300 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    907a919 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2020

  1. Add github actions badge

    10sr committed Nov 25, 2020
    Copy the full SHA
    03865ad View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2020

  1. Merge pull request #231 from editorconfig/githubactions

    Add Github Actions CI
    10sr committed Nov 26, 2020
    Copy the full SHA
    da84471 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2020

  1. Update README 2 (#225)

    * Update README 2
    
    * Update README.md
    
    * Update README.md
    
    * Update README.md
    
    * Update README.md
    
    * Update README.md
    
    * Update README.md
    10sr committed Dec 23, 2020
    Copy the full SHA
    998d5b5 View commit details
    Browse the repository at this point in the history
  2. Remove travis.yml (#238)

    10sr committed Dec 23, 2020
    Copy the full SHA
    d73333c View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2021

  1. Use revert-buffer-with-coding-system to set coding system (#236)

    * Use revert-buffer-with-coding-system to set coding system
    
    * Avoid infinite call
    
    * Do not ask user for revert when buffer is not modified
    
    * Refactor -set-coding-system
    
    * Do not use revert when the file does not exist yet
    
    * Refactor -set-coding-system
    10sr committed Jan 8, 2021
    Copy the full SHA
    ee98f3a View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2021

  1. Copy the full SHA
    e74f7c0 View commit details
    Browse the repository at this point in the history
  2. Remove travis-ci badge

    10sr committed Jan 12, 2021
    Copy the full SHA
    9dd9789 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2021

  1. editorconfig.el: skip special-mode buffers when applying (#246) (#247)

    Some buffers get confused if you keep setting their mode, one example
    is git-rebase-mode. This is an example buffer of a class of
    special-mode buffers which are usually (but not always) non-file
    buffers. Either way these buffers are usually special purpose
    interactive buffers that will only get confused if editorconfig tries
    to mess around with them.
    stsquad committed Feb 9, 2021
    Copy the full SHA
    f830b86 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2021

  1. Stop excluding remote files by default (#245)

    To exclude remote files again, add following to the init.el:
    
        (add-to-list 'editorconfig-exclude-regexps
                     (eval-when-compile
                       (rx string-start "/" (or "http" "https" "ftp" "sftp" "rsync" "ssh") ":")))
    10sr committed Feb 14, 2021
    Copy the full SHA
    aa649c1 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2021

  1. Refactoring & add editorconfig-2-mode for beta test (#248)

    * Remove file type experimental feature temporarily
    
    * Do some refactors
    
    * Ignore failures of tests for file type feature
    
    * Make editorconfig-get-properties-function accept one argument
    
    * Implement editorconfig--advice-find-file-noselect
    
    * Define editorconfig-error
    
    * Implement advices
    
    * Update adviced function body
    
    * Update function name
    
    * Refactor exclude functions
    
    * Add more error handlings
    
    * Refactor editorconfig--advice-find-file-noselect
    
    * Add editorconfig-2-mode
    
    * Add nadvice to dependency list
    
    * Use display-warning instead of message for debug log
    
    * Update README
    
    * Fix editorconfig-2-mode for read-only-mode
    
    * Add test for editorconfig-2-mode
    10sr committed Feb 19, 2021
    Copy the full SHA
    f8f1a89 View commit details
    Browse the repository at this point in the history
  2. Update debug message

    10sr committed Feb 19, 2021
    Copy the full SHA
    1fbbcef View commit details
    Browse the repository at this point in the history
  3. Update docstrings

    10sr committed Feb 19, 2021
    Copy the full SHA
    236307c View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    eb9107d View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    0d5af85 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2021

  1. Update display-warning messages

    10sr committed Feb 21, 2021
    Copy the full SHA
    c3ca863 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    6cf932a View commit details
    Browse the repository at this point in the history