2
votes
1answer
157 views

emacs auto-complete behavior with underscores in python mode

In my .emacs I have the following line of code: (modify-syntax-entry ?_ "." python-mode-syntax-table) This is so that commands like forward-word and backward-kill-word stop at any underscores that ...
2
votes
2answers
105 views

Make emacs show comments after } else {

This is best described on an example. Let's say you have the following C source file: if (something is true) { meh(); } else if (something else is true) { foo(); } else { // something even ...