Git Product home page Git Product logo

eval-markers.el's Introduction

I wrote a README, but the code is smaller than it...

install

not on melpa yet, but nowadays package managers can often fetch from git, otherwise just download the file.

usage

eval-markers-new while on the first character of a form will prompt for a char, put a marker there, and record the association from this char to the marker.

eval-markers-eval will prompt for a char, and eval the form starting with the associated marker. With universal argument, will toggle pretty printing if available. There is a eval-markers-toggle-pp command to do that independently of eval'ing (as the others, it prompts for a char) but there's rarely a reason to use it

config

eval-markers-want-classical-last-sexp-behaviour

Most paredit function assume you are beyond a form when you launch the command, and if you are on the first character of a form the command will apply to the previous form.

I really dislike this, but if that is your preference set this var to t, and then call eval-markers-new where you would normally call eval-last-sexp.

add/change another repl/lang

(put 'symbol-of-a-major-mode 'eval-markers-eval-fn some-fn)

Currently there are 2 defaults implemented, for Clojure (through cider) and for Elisp.

faq

why not use this https://www.gnu.org/software/emacs/manual/html_node/emacs/Position-Registers.html ? It's a possibility, but I don't know, maybe people use these for something else and don't want it to interfere...

eval-markers.el's People

Contributors

m-faucon avatar

Watchers

 avatar

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.