Using Word Completion

One of the very useful features of emacs is the way that it "predicts" you are going to type. (Well, not quite literally, but good enough.) If you are working on a file and you start a word and then type M-/, emacs tries to complete the word for you, based on previous words in the file. If it chooses the wrong one, simply type M-/ again until you get the one you want and then continue typing. This is an extremely powerful feature, not just because it can save you a lot of typing, but more important, if you are writing code, you can use it to ensure that you don't make mistakes when typing variable names that you have already created.

Was this article helpful?

0 0

Post a comment