You probably heard that emacs can do lots of things. This page shows some.
How to call a command by name?
Emacs has thousands of commands. To call a command by name, type 【Alt+x】.
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-window-below→ split top/bottom.
split-window-right→ split side-by-side.
other-window→ move cursor to another pane. (or click mouse)
〔➤ Emacs: Split Windows Basics〕
To run calendar in emacs, pull the menu 〖Tools ▸ Calendar〗, or call
To close the calendar pane, type q.
To run a calculator in emacs, call
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 ↵】.
Calculator can also be started by going to the menu 〖Tools ▸ Programmable Calculator〗.
To start, call
dired or pull the menu 〖File ▸ Dired〗, then, give a dir path.
To exit, press 【q】.
For a full tutorial, see: Emacs: File Management, dired Tutorial.
To view the many colors and their hexadecimal values in RGB model, call
list-colors-display. This is very useful when you work in CSS and HTML.
〔➤ Xah HTML Tutorial〕
〔➤ Visual Dictionary of CSS〕
shell to start a shell interface.
For detail, see: Emacs: Run Shell 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 call
eval-region. You will see the result “3”. CONGRADULATIONS, you've just evaluated a lisp program!
See: Emacs Lisp Basics.
If you don't know already, IRC is Internet Relay Chat. IRC is a public instant messaging forum that allows a groups of people to discuss things together. Typically, irc topics are about programing languages (Perl, Bash, PHP, HTML, OCaml, …) or tools (emacs, ubuntu, git …).
Yes, you can run IRC in emacs if you are running emacs version 22 or later. To see what version of emacs you have, type “emacs --version” in the command line prompt. Or, inside emacs, call
To start irc, call
irc. Then, you'll be prompted to enter the server name and port and user name, and channel you want to join. For example, use the following:
IRC Server: irc.freenode.net IRC Port: 6667 IRC Nick: imrandomjack Channels: #emacs
then you'll be connected to the #emacs discussion room in the irc.freenode.net server.