And it doesn't help that Emacs has its own little quirks. This page aims to make working with Emacs as intuitive and Windows-like as possible. If you get the error message directory ~/.emacs.d/server is unsafe open the. emacs file which you installed from the Emacs setup page, by typing ctrl-x ctrl-f and entering the filename as ~/.emacs. To ensure you have all the necessary transliteration and normalisation characters, we recommend that you install the DejaVu font.Īt the end of the file, you'll find a possible solution to this problem. Two different ways of typing transliteration characters are described on other pages. emacs-file allows you to customize the behaviour of Emacs. emacs-file available from the Emacs page sets the default font and the ATF font to DejaVu Mono. If you want to change the font size, locate the. In the file, you'll find three lines with: "-outline-Dejavu Sans Mono-normal-r-normal-normal-17-*-*-*-c-*-iso10646-1" emacs-file from within Emacs by typing ctrl-x ctrl-f and entering the filename as ~/.emacs. If you would prefer a larger or smaller font, simply increase or decrease the -17. When you first install Emacs, it is worth looking through the menus to locate the basic commands. Much is where you would expect it, though Emacs terminology can seem rather strange to Windows users. A "buffer" is essentially a view of a document, which is displayed in one or more "frames" (windows). A frame may have more than one tab, each containing a different buffer, in the same way that a web browser can have several web pages open at once in different tabs. You may also be unfamiliar with the Emacs terms "directory" (folder) and "search" (find).Īpart from the ATF menu, the File, Edit, Options, and Buffers menus will be most useful to you. You are unlikely to need anything in Tools, and the Help menu lists far too many different sorts of help to be useful for a beginner. Even on the File, Edit, Options, and Buffers menus there are many items that you will never need, so do not worry if they seem mostly incomprehensible to you for now. There is also a toolbar at the top of each Emacs frame, with clickable icons for basic editing and file commands. Menus and toolbars are comforting and intuitive, especially when you are first learning to use a new piece of software. But for more efficient working it is useful to learn as many keyboard shortcuts as possible. Next to most menu items you will see the equivalent keyboard shortcut, and there are many hundreds more. But almost everything you will need can be found through the menus or is described on this page. The Control and Meta keysĪlmost all Emacs keyboard shortcuts are combinations with the Control or Meta keys. You'll see them written as, for instance, C-g or M-x. On PCs the Control key is marked Ctrl and is normally found in the bottom left corner of the keyboard. When you see a command such as C-g, this means that you should hold down the Control key and then press the g key simultaneously. Many keyboard shortcuts involve sequences of commands, so that for instance C-c C-c means that you type Control-and-c twice. The Meta key is the Esc key (usually top left on the keyboard).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |