@cmuratori I know I could figure this out myself, but I've spent all week dealing with nasty Emacs issues and I could use a break :/
-
-
-
@cmuratori couldn't for the life of me figure out how to manipulate indentation, but I could give it a sniff if you want#KkToTheRescue - Show replies
New conversation -
-
-
@cmuratori If you gist a copy of your .emacs, I can take a look. Specifically, what are your c-mode settings? -
@pervognsen@cmuratori Anyway, the proximate fix is (c-set-offset 'brace-list-open 0). But better to use a c-default-style that's closer. - Show replies
New conversation -
-
-
@cmuratori (defun my-c++-mode-hook () (c-set-offset 'brace-list-open 0)) (add-hook 'c++-mode-hook 'my-c++-mode-hook)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@osmobitni Actually I will be switching to 4coder soon, I suspect :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@CaptainKraft 4coder's almost there. I detailed these in my Emacs introduction on Handmade Hero... https://hero.handmadedev.org/videos/misc/basic_emacs.html …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori mb smthg about braces styles, ur looks like "gnu" .Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori c-style settings in cc-mode. http://www.gnu.org/software/emacs/manual/html_node/emacs/Custom-C-Indent.html … -
@fatlimey@cmuratori FWIW I think I used its "guess your style" feature and was amazed that it worked.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.