Fun with Emacs
You probably heard that emacs can do lots of things. This page shows some.
tetris to start it. Use arrow keys to move the blocks.
kill-buffer to close it.
You can split your window into two or more panes, vertically or horizontally.
- split top/bottom.
- split side-by-side.
- move cursor to another pane. (or click mouse)
[see Emacs: Split Windows]
To run calendar in emacs, Alt+x
To close the calendar pane, type q.
To run a calculator in emacs, Alt+x
To quit calculator, type q.
To compute “1+2”, type 1 Enter 2 +. Or, you can type the expression directly by starting with a sinle quote, like this: ' 1 + 2 Enter.
Directory Navigation and Managing Files
To start, Alt+x
dired, then, type a dir path.
To exit, press q.
For a full tutorial, see:
Emacs: File Manager, dired.
Command Line Interface (aka Shell)
shell to start a shell interface.
[see Emacs: Run Shell in Emacs]
LISP in Emacs
Sometime you hear that emacs has the artificial intelligence language LISP built-in. That's right. Here's how you can run a short example.
In emacs, open a file, any file.
In the file, type
(+ 1 2), then, select the whole text, then Alt+x
You will see the result “3”.
CONGRADULATIONS, you've just evaluated a lisp program!
See: Emacs Lisp Basics.