Figure 1: Aquamacs combines the legendary power of Emacs with user-friendly cus- • What’s New in this Release • Tutorial: Aquamacs for. PreferencesInAquamacs explains where Aquamacs finds user-supplied preference files .emacs) and customization packages. If you’ve been using Emacs for decades and find yourself surprised by some of the changes to the user interface in Aquamacs, have a look at.
|Published (Last):||16 January 2004|
|PDF File Size:||17.58 Mb|
|ePub File Size:||7.89 Mb|
|Price:||Free* [*Free Regsitration Required]|
Org mode, as it says on the official web page is for keeping notes, maintaining TODO lists, doing project planning, and authoring with a fast and effective plain-text system. Beginning with Emacs The following is a simple tutorial to help you get started using Emacs and Org mode.
The absolute minimum you need to know about Emacs, to be able to do anythingis more then you need to know about many other applications. But, you might compare it to a regular toy and lego. Lego is harder to begin with you start with a box with little plastic piecesbut in the long run, you can do more with it. Emacs is heavy on shortcuts.
All the basic things can be done, with the mouse, from the menu, open file, save fileetc. You will notice, however, that in time it is faster to use shortcuts, and leave your hands on the keyboard.
Emacs uses a lot of double shortcuts, so instead of Alt-F and Alt-S, like most applications, it uses Control-X Control-F and Control-X Control-Sthis seems rather counter-productive in the beginning, but you’ll get used to it. If it is all the same to you, then choose Emacs over XEmacs if you disagree then you know already enough to skip this paragraph.
Here are some links to help:. The biggest pain, when you just begin with Emacs, is the configuration. There is not really a menu for it you might later hear there is, but they are lying, that menu is really there to trap innocent peopleyou need to edit a text-file. The location of that config-file and even the name is different on different OSes, but the text in it is mostly the same, across platforms.
Many people actually use the same config-file on different OSes and even over many years, so in the long run, it is for the best! By now, we know enough to start our first Org document. If you have a completely new Emacs install, then you should see the Emacs splash-screen. It has a couple of shortcuts, to the Emacs tutorial and some other documents, but for now, we don’t need those. To start a new document, use the following short-cut: C-x C-fwhich will offer you to open a document or buffer as it is called in Emacscall it 1.
This will give you a brand-new, empty document.
Absolute Beginner’s Guide to Emacs – Jessica Hamrick
Emacs does not actually understand you are editing an Org document, yet. To enable Org mode on your current document, type.
To make Emacs understand aquamaacs this is an Tutorixl document, add the following to the top of your document:. Those are minuses, not underscores. To enable Org mode to always work on all your Org files, you have to edit your Emacs configuration, we do that in the following paragraph. Open your Emacs configuration file see Configurationto open it in Emacs, use C-x C-f open fileand put the following in it:.
The mode-line, mentioned in the previous paragraph is only needed if you 1 have files with a different file-ending then configured in your Emacs config for example myfile.
Now that we have configured Emacs to work with Org document, we can actually start using it. Let’s begin with an outline that will help us get yutorial know Org mode.
Start a new document C-x bcall it 2. Save the file C-x C-s as 2. List are great for brainstorming and to keep track of things. Also it helps keeping the big picture in mind when taking notes. The first thing we will do is folding.
The Emacs for the Mac
Especially when you have a long document, this is very useful. Tab will fold and unfold parts or, using shift and tab, the whole document. The basic idea of brainstorming is to write a list of items.
Then, later, you might want to change the order of your items, for example in order of importance. Notice that your list folds in, showing only headings, to give a general overview of the document, and you don’t get lost in the details. Next we will promote and demote headings.
For example you might make This is a headline, it starts with one or more starsa sub-heading of Working with listsmoving it down, and then using M-right to demote it. Besides headlines there are still other kind of lists, ordered and unordered lists.
They rutorial like this:. Ordered lists start with a number and a dot. To keep notes, there is some markup to make things stand out a bit more. You can use the following markup:. You can make words bolditalicunderlinedcode and verbatimand, if you must, strike-through. If you like what you see so far, the it might be a good idea to do the Emacs tutorial, that comes with Emacs itself C-h t.
Aquakacs tutorial will teach you some more Emacs shortcuts, used to move around in your documents.
Aquamafs mode files can be configured by adding workflow states to the beginning of the file, like so:. To activate the new workflow, either reopen the file, or go to the top of the file any line starting with and press C-c C-c. Try copying the workflow to your test-file 1. Adding the workflow states to every org-file you create gets boring soon, so it also possible to do this in your config file.
Add the following after the require ‘org line:. The basic meaning of the word agenda is things tutoriap be donecoming from the latin agendum. Org mode is very good in making different kind tutoriial agendas, or task-lists, collecting all the tasks from one or more org-documents.
We will start with squamacs 1. Unfortunately, both will show just empty lists you can try if you want. So just press C-g the Emacs version of escape.
Next we will add 1. This can be repeated for as many documents as you want, and agenda will give you a complete list of TODOs. If you want to remove a documents from the list of agenda files, press C-c ]. When a task is time related, then we usually put it in our calendar.
This can also be done in Org mode. And agenda can then show us a tytorial list of all our TODOs. This is done in the following way. This will give you, at the bottom of the screen, the date chooser. If you want to add a time as well, use C-u C-c.
If you open up aquamacz emacs configuration file, after you have used C-c [you will see the following:. Welcome to the world of Emacs lisp.
This is what it looks like if Emacs changes your config file. For us, the important aqyamacs is in the middle lines 5 and 6the line with org-agenda-files. There we see the list of files agenda uses to create its lists. For now we can just leave it there, tutoriwl at least you know what it is, when you later look at your config-file. Getting things doneis one of the most popular ways to organize oneself, with 4.
It is quite possible to use the same kind of setup in org mode, using tags.
Org mode beginning at the basics
Tags are used to organize different kind of TODO-entries, for example all tasks on the phone, reading, shopping, etc. Now it is possible to add one or more tags, to any line in your document.
If we press C-c C-cthe following will pop up:. These are the shortcuts we defined at the beginning of our document. A very good example of a GTD setup is: To add tags uttorial the Emacs config-file, so it is available to al your documents, add the following. To set mutually exclusive groups, like the previous example, see here in the manual. It is always possible to override your settings by adding something else to the top of the document.
An extensive example of working with tags can be found here as well. Working with Org documents is usually fine, but sometimes you might want to export your documents to another format. To export the current document to, for example, html, press C-c C-eand then b. This will export the document and open the new document in your browser.
HTML publishing tutorial which goes further then just a document, you can use it to publish a complete website. To really save time tuhorial any efficiency tool, you have to know it well.
To get to know Org mode, reading and using the manual is important. Org mode is well documented. The fastest way to read the ORG mode documentation right in Emacs, in the so-called info-browser.
Absolute Beginner’s Guide to Emacs
Besides the Org mode manual, the is the worg websitewhich has many cool ideas and tutorials. For quick reminders there are the Org mode cheat-sheet and the emacs cheat-sheet, both will help you to remember those pesky short-cuts. As is often said in geek humor: Most of the following material is not really hard, but make sure to have backups of your important data.