3 ms·
NO. Sorry but you're doing it wrong. Relying on the editor to highlight parentheses is a highly inefficient and error-prone way to work. It's distracting, it wa
by stcredzero 17y ago
NO. Sorry but you're doing it wrong. Relying on the editor to highlight parentheses is a highly inefficient and error-prone way to work. It's distracting, it wastes mental cycles and inhibits flow.
The correct way is to configure emacs so that when you press a certain key (in my case, right shift because I configured my keyboard so I can activate left shift with my thumb), emacs inserts "()" and puts the cursor in the parentheses. No need to remember or count closing parentheses this way.
No, sorry you are doing it "wrong!" :) I also use the insert () technique. I basically use whichever technique is optimal in context. Please note that your assertions about flow and distractions are highly subjective.
http://www.cyberbore.com/puzzle/klok.html http://www.cyberbore.com/puzzle/klok.html
Incidentally, I no longer use emacs, and I don't write Lisp.
- Hexstream 17y agoIf there's backing to the assertion that I'm doing it wrong in there, I didn't find it. Incidentally, I use emacs and Lisp every day.
- stcredzero 17y agoYes, so your coding context is very different from mine. I don't think you can make a very cogent claim of "wrongness."