r/programming • • Jan 08 '14

Light Table becomes open source

http://www.chris-granger.com/2014/01/07/light-table-is-open-source/
1.1k Upvotes

354 comments sorted by

View all comments

6

u/[deleted] Jan 08 '14

I thought a lot of the clojure devs were using aquamacs/emacs. The video demonstration looks fancy but is it significantly better than emacs?

7

u/[deleted] Jan 08 '14

Well you can't really compare it to emacs because emacs is a fully programmable lisp environment meaning you can do anything, including this (https://github.com/Fuco1/litable).

9

u/thoomfish Jan 08 '14

Except make the cursor behave like it should in a sane GUI app.

The one thing that drives me nuts when I use Emacs or Vim is that they force the cursor to always be on screen, which means I can't scroll around a file to look for something and then resume typing where I left off, because the cursor has fucked off to some random line while I scrolled.

5

u/[deleted] Jan 08 '14

Most advanced emacs users disable scrollbars anyway so there is no concept of "scrolling around". There are hundreds of ways of jumping around in the buffer in emacs, usually involving going straight to what you need instead of blindly scrolling around, and returning to the place you left from.

4

u/thoomfish Jan 08 '14

Sometimes you don't know exactly what you need, and sometimes a mouse is faster and more accurate than a keyboard in getting you where you need to go.

3

u/[deleted] Jan 09 '14

Does this help?

(setq scroll-preserve-screen-position t)

You can also save and return to a point in the register, though it's a few additional keystrokes.

2

u/thoomfish Jan 09 '14

No, tried that ages ago. That keeps the cursor in the same position on your monitor, but not the same position in the file.

2

u/[deleted] Jan 09 '14

What about binding (point-to-register) and (jump-to-register) to a simpler set of key bindings? I know it's not as ideal as being able to have a global setting for cursor behavior.

→ More replies (4)