Giter VIP home page Giter VIP logo

cedit's Introduction

cedit's People

Contributors

zk-phi avatar zk-phi-test avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cedit's Issues

beginning/end-of-statement issues

Test code:

public function test()
{
    $bundles = array(
        'test test test test test test test test',
        'foo bar foo bar foo bar foo bar foo bar',
        'foo bar baz quux foo bar baz quux',
    );
}

With point at |$bundles, cedit-end-of-statement throws an error "not found (59 125)".
With point at )|;, cedit-beginning-of-statement throws an error "Lisp nesting exceeds `max-lisp-eval-depth'"

The error doesn't happen with the code below; both functions work as expected.

public function test()
{
    $bundles = array(
        'test test test test test test test',
        'bar foo bar foo bar foo bar foo bar',
        'bar baz quux foo bar baz quux',
    );
}

It's the same whether the array is full of strings or function calls.

cedit-down-block should be applicable on parentheses

I currently bind cedit-foward/backward-char to C-f and C-b. However, when using the functions on an open parenthesis, it just skips to the closing parenthesis. There's no way to go into the pair with cedit function; cedit-down-block considers anything other than { } is not a block and does nothing.

cedit-down-block should be applicable to pairs such as ( ) and [ ], similar to how paredit does. Otherwise, cedit-forward/backward-char should just move the cursor normally over those characters.

please remove or fix .gitattributes

The attributes cause Readme.org to be always dirty:

$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       modified:   Readme.org
#
no changes added to commit (use "git add" and/or "git commit -a")
$ git checkout -- Readme.org
$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       modified:   Readme.org
#
no changes added to commit (use "git add" and/or "git commit -a")

To me it looks like this file were put in place by some tool you were using to initialize the repositories and there is not real reason why .gitattributes would have exist. If that is so please remove them. Otherwise please fix them so that files are not marked as modified when they are not. .gitignore also does not appear to include any relevant rules, but at least it's not causing any harm.

indent-guide, scratch-palette, and probably others have the same problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.