Of course it does. Nice lightweight example of the difference between a document’s definition on the storage media (file-system) and its presentation to the user. Not to lean too hard on this, but if you grok what is happening here then you will enjoy Emacs a lot more. Via here.
Tag Archives: Emacs
This post reveals a nice function comment-indent-new-line which gives you the right kind of indentation for block comments. That got me wondering if my enter key-binding should do different things depending upon whether or not the cursor is inside of a comment block or not. Specifically, if it is, then call the aforementioned function, else […]
When I first learned how to set up Emacs, I really liked local-set-key because you didn’t have to know about the keymap for the mode you just had to make the call in that mode’s hook. That is simple and makes total sense. That has worked well for me for years until two things happened: […]