News for hackers. Stuff that matters.
Re:Ask HN: What's in your .emacs file? by justinhj on Friday October 02, 2009 @12:03AM (#856409)
Some key ones

(setq transient-mark-mode t) ; visually show region

(setq line-number-mode t) ; show line numbers

(setq global-font-lock-mode 1) ; everything should use font

(windmove-default-keybindings) ; shift-arrow key moves to window in that direction

I set up `webjump' to search online API documentation

http://justinsboringpage.blogspot.com/2009/05/emacs-searchin...

I like to send gmail

http://justinsboringpage.blogspot.com/2009/02/sending-mail-w...

I think this is the most important one

(setq visible-bell t) ; annoying beeps off

Re:Ask HN: What's in your .emacs file? by j_baker on Friday October 02, 2009 @07:46AM (#856803)
I used to set transient-mark-mode to t myself. But being able to set a mark and use C-xC-x to switch the cursor and the mark point is too powerful. It allows you to set a mark, go edit something else, and then go back to where you were.

Granted, you could probably do that with transient mark mode, but seeing everything highlighted would be too annoying.

Re:Ask HN: What's in your .emacs file? by technomancy on Monday November 02, 2009 @12:58AM (#916276)
C-u C-SPC cycles through the mark ring and works with transient-mark. Just use C-g to deactivate the region so everything isn't highlighted.
Re:Ask HN: What's in your .emacs file? by yummyfajitas on Friday October 02, 2009 @10:51AM (#857122)
You can do the same thing with bm.el, but you also get multiple bookmarks (visible in the buffer) which you can then cycle through. I find it helpful to have bookmarks and the region decoupled.

http://www.nongnu.org/bm/