Hacker News new | ask | show | jobs
by kahlonel 2538 days ago
As a programmer of C language, where macros are conventionally all-caps long strings, CAPS lock is really important for me.
3 comments

I set up Emacs so Meta works on words and Super works on symbols. So I type_the_identifier_in_lowercase then type s-b to move the cursor to the beginning of the symbol, then type s-u to uppercase the symbol and move the cursor back to the end of the symbol. It works out to the same number of keystrokes as using caps lock, but is way more powerful since I can also transform all caps to lowercase just as easily.
Hah! "pylint" will complain about "constants" not conforming to the upper-case naming style. In some cases "constant" seems to mean simply "declared outside function scope".
I mean even as a designer when I’m doing mockups it’s extremely useful