Live data from Hacker News

Emacs 24.4 RC 1

lists.gnu.org

31–40 of 71 posts

Re: Emacs 24.4 RC 1

#31
post #29
post #27

Earlier quoted context omitted.

Have you tried Helm in Emacs? For me it binds to M-x, and I can find a "lost" command by typing just bits. For example "M-x tree undo" show me "undo-tree-visualize (C-x u)". Now I use Helm all over the place: (recent) file opening (within the current project), buffer switching, grepping, etc. It really changed how I interface Emacs.

What's the advantage of Helm to Ido?

I prefer smex for M-x command matching (which is self described as Ido-style).

Re: Emacs 24.4 RC 1

#33
post #29
post #27

Earlier quoted context omitted.

Have you tried Helm in Emacs? For me it binds to M-x, and I can find a "lost" command by typing just bits. For example "M-x tree undo" show me "undo-tree-visualize (C-x u)". Now I use Helm all over the place: (recent) file opening (within the current project), buffer switching, grepping, etc. It really changed how I interface Emacs.

What's the advantage of Helm to Ido?

Helm by default ands the query terms. Notice how he typed the second word first. Ido searches linearly. Helm is also much more ambitious in general

Re: Emacs 24.4 RC 1

#34
post #4

As someone who uses emacs purely for clojure/lisp and vim for everything else, the biggest feature for me is the fact that this will be the first version of emacs to support menus in terminal mode . So for all the commands you don't remember, a menu is now a click or F10 away. To quote, "Emacs now supports menus on text-mode terminals. If the terminal supports a mouse, clicking on the menu bar, or on sensitive portio…

Just curious. How did you manage to use both emacs and vim? I've seen that people accustomed to one editor are usually averse to using the other.

If you are a Unix user, you almost need to know enough vi to edit a simple file. crontab -e is considered a minor sin in the Church of Emacs, but only a minor one.

ESC:q!

Re: Emacs 24.4 RC 1

#35
Very nice! I notice that some bugs have been fixed since I last tried the latest development version(~4 months ago).

I really like the enhancement to C-x TAB to use the arrow keys to adjust the indentation on the selected region.

Re: Emacs 24.4 RC 1

#36
post #6
post #4

As someone who uses emacs purely for clojure/lisp and vim for everything else, the biggest feature for me is the fact that this will be the first version of emacs to support menus in terminal mode . So for all the commands you don't remember, a menu is now a click or F10 away. To quote, "Emacs now supports menus on text-mode terminals. If the terminal supports a mouse, clicking on the menu bar, or on sensitive portio…

As a dev who's always used Sublime/Atom and sometimes Vim, what's the benefit of Emacs for Lisp?

Slime is really amazing. It provides tons of features of which here are a few (these work with Common Lisp, I have no clue if they work with Clojure).

Inspector[0]: You can click on objects to "inspect" their values. This includes hash-tables, arrays, and closures. In addition you can execute arbitrary code on these objects at any time, even while a program is running.

Trace Dialog[1]: Most Lisp implementations already provide a way to trace procedures. Tracing normally consists of printing the input and the output as each traced procedure is called. Slime provides something much more powerful. Slime's Trace Dialog is similar to trace in that it creates a buffer of the input and output, but instead it is provided in a tree menu format. In addition it is possible to inspect all of the values in the Trace Dialog with the inspector.

Debugger[2]: When an error is thrown in a program, a window pops up which provides several things. You can click on a stack frame to see all of the variables in that frame and then inspect those variables with the inspector. You are also provided with a list of restarts[3]. In addition, you can return a value from a given stack frame, or retry a procedure call on the stack frame (you may have modified the definitions of some procedures before you did this), and have the program continue as if nothing had ever happened.

There are also many other features, such as the ability to macroexpand code by clicking on it, to look up every procedure which calls a given procedure, to look up every place in which a given variable is set, and many other awesome features.

[0] http://common-lisp.net/project/slime/doc/html/Inspector.html

[1] http://common-lisp.net/project/slime/doc/html/SLIME-Trace-Di...

[2] http://common-lisp.net/project/slime/doc/html/Debugger.html#...

[3] http://en.wikibooks.org/wiki/Common_Lisp/Advanced_topics/Con...

Re: Emacs 24.4 RC 1

#37
post #25

Earlier quoted context omitted.

You might consider checking out evil mode. It's for real. Does not feel like emulation at all.

Ah, will check. I'm not sure how it will coexist with all the cider key bindings though?

It coexists pretty near perfectly, since vim and emacs keybindings are usually non-overlapping.

Re: Emacs 24.4 RC 1

#38
post #6

Earlier quoted context omitted.

As a dev who's always used Sublime/Atom and sometimes Vim, what's the benefit of Emacs for Lisp?

Slime is really amazing. It provides tons of features of which here are a few (these work with Common Lisp, I have no clue if they work with Clojure). Inspector[0]: You can click on objects to "inspect" their values. This includes hash-tables, arrays, and closures. In addition you can execute arbitrary code on these objects at any time, even while a program is running. Trace Dialog[1]: Most Lisp implementations alrea…

That actually sounds a lot like Smalltalk.

Re: Emacs 24.4 RC 1

#40
post #34

Earlier quoted context omitted.

Just curious. How did you manage to use both emacs and vim? I've seen that people accustomed to one editor are usually averse to using the other.

If you are a Unix user, you almost need to know enough vi to edit a simple file. crontab -e is considered a minor sin in the Church of Emacs, but only a minor one. ESC:q!

export EDITOR=emacs

Then crontab -e will start emacs instead of vi.

Post reply on HN