Thank you for your support and encouragement. So here I am writing about my beginning of Day 1: part and working with EMACS.
The below is the content I am planning to touch upon during my 30 Days challenge. The checklist is not in any particular order, but just to remind me of the topics what I need to cover.
- IDO Mode
- Todo items
- tags, tables
- propertis and columns
- Date and time.
- AGenda views
- Running command by the name/ help/ commands for fixing typos. - Day 6
- Commands for human languages.
- Mark and the region / Killing and moving text / Registers
- Contrlling the display / Multiple buffers / Multiple windows / frames and graphical display
- Search and replacement.
- File handelling.
- Editing compling, testing and mantaining programs.
- Sending mail, reading mail with rmail.
- Dired mode.
- The calendar and the diary.
- Miscellaneous commands
Quoting from Emacs Manual “ Emacs is the extensible, customizable, self-documenting real-time display editor.”
Emacs is an advanced editor because of its ability to perform complex operations related to OS, by controlling subprocesses, indenting programs automatically, showing multiple files at once and ofcourse we can use it as text editor. It is also a self-documenting means any time special command for help can be used for finding out what the particular command does. Emacs can be eaisly altered to behave in certain prefrence and is highly customizable. Emacs can go beyond simple customisation and can create entirely new commands. These new commands are simple program written in LISP.
- Downloaded Emacs: I downloaded for MAC OS X from http://emacsformacosx.com/. I had been suggested by many sites and also from the people on IRC #emacs channel, while you are learning to use emacs, do not start with a customised emacs. I believe it could be mainly because a lot of customisations are already done for you, hence limiting you learning curve. Well, downloading and installing with OS X is pretty simple and straight, I got “Emacs Version 24.3 Universal Binary Released 2013-03-11”. Double click on the installer and voilla the installation is completed on the fly.
GNU Emacs development is hosted on savannah.gnu.org.
- Starting the editor: once downloaded and installed. From the Launchpad -> emacs, clicking on which took me to the editor in its full glory, with a nice welcome message with link to the manual and the beginner emacs tutorials to get a start working with emacs and to quickly get help in emacs “C-h (Hold down Ctrl and Press h)
Control Key in emacs is denoted as ‘C’. All or Esc Key in emacs is denoted as ‘M’ or referred in document as meta key. Shift will be denoted as ‘S’.
Most movements in emacs can be controlled using the arrow keys but some still say it is not advisable and use of key sequences controled by Ctrl and Meta keys are advisable. below table helps in understanding the movements with these keys.
|C-v||View next screen also as Page Up.|
|M-v||Move Backward one screen or Page Down.|
|C-l||redisplay the text with cursor at the center of the screen.|
|C-p||Previous line or up arrow key.|
|C-b||back one character or left arrow key.|
|C-f||forward one character or right arrow key.|
|C-n||Next line or down arrow key.|
|M-f||Move one forward one word.|
|M-b||Move back one word.|
|C-a||Move to the beginning of the line.|
|C-e||Move to the end of the line.|
|M-a||Move to the beginning of the sentence.|
|M-e||Move to the end of the sentence.|
|C-u||to specify a repeat count.|
|C-v and M-v are exceptions as they won't move pages but|
|instead will scroll to that many lines forward/backward|
|C-g||Kill the running command in minibffer, or in case emacs|
|C-d||Delete the next character after the cursor cursor.|
|DEL||delete the character just before the cursor.|
|Insert||text insertion is as simple as typing it.|
|text||you can use the C-u to insert text as well. for eg.|
|C-u 10 - will insert -———.|
|M-||Kill the word before the cursor.
||Kill the word after the cursor
||Kill from the cursor position to end of line.
||Kill to the end of current sentence.
||C-||Set the mark, move aroung with the above keys to highlight
||Yank the file back.
||Find file, can be used for creating a file or opening an
||Save the file, when you made some changes to the file and
||want to write the same to disk or save it.
||Save some buffers.
||List all the opened Buffers.
||Switch buffer around.