csua.com/?q=emacs+indent&sort=d
If you could go back in time and witness one battle which one would you pick? you might read s pressfield: gates of fire if you have not already. in a different time, if interested in battle details and a story better than da vinci code, see eg "the archers tale" by bernard cornwell.
here's my quick guide: cmd-N: open class cntrl-space: autocomplete name cntrl-J: javadoc cmd-B: jump to defn ... IDEA converted me from emacs/vi for Java (not J2EE) dev.
I was almost converted to the tab true religion, and then I tried to actually set this up in emacs. I find code with eight character wide tabs to be less readable. This is totally a personal preference, if you like reading code with eight character wide tabs, more power to you. Simple enough to fix, right, just: (setq tab-width 4) and, voila, my eyes stop bleeding from overexposure to white space. Too bad jove (ancient, I know) doesn't do all this, emacs ...
When I use tab to indent (only) the the first line of a new paragraph, it always uses the first space (ie the beginning of the 2nd word) on the last line of the last paragraph as the tab stop, even though that is not what the manual say about indent-relative. I can turn this off only by going into fundamental mode, but then I lose the other feature of text mode and this also ... seems contrary to what the Emacs manual say about the various text ...
emacs has been the best thing I ever did in my 10 years as an emacs user. especially when I want to format my code, I have to hit space ... lets you hit the TAB key to indent, but it insert spaces instead ... have something like the mode-dependent indents in emacs.
Tab's don't indent right, editing anything requiring left-right placement, cursor movement, or backspace becomes hell (editor, emacs). If I kill the screen, then restart it, everything's fine again.
How do I make my emacs recognize tabs so that emacs will display them correctly ? emacs file to set tab stops to every 4 spaces, or better yet, read the help for the "untabify" function. the use of tabs for indentation will allow you to easily view ... right -- Indenting with 8-character-wide tabs to a maximum of ...
emacs: (setq load-path (cons "$HOME/html-helper-mode" load-path)) But when I try to enter that mode, I get a file not found error. Is there any way I can change this without hardcoding my home directory?
Would it help my understanding to read the spec or is there something better to increase my understanding and use of C? A good algorithm will beat any C and compiler optimizer trick.
|