<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: emacs dotfiles 2007-01-20</title>
	<atom:link href="http://gurge.com/blog/2007/01/20/emacs-dotfiles-2007-01-20/feed/" rel="self" type="application/rss+xml" />
	<link>http://gurge.com/blog/2007/01/20/emacs-dotfiles-2007-01-20/</link>
	<description></description>
	<lastBuildDate>Tue, 22 Nov 2011 00:08:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Michael J. Radwin</title>
		<link>http://gurge.com/blog/2007/01/20/emacs-dotfiles-2007-01-20/comment-page-1/#comment-1527</link>
		<dc:creator>Michael J. Radwin</dc:creator>
		<pubDate>Wed, 31 Jan 2007 04:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://gurge.com/blog/2007/01/20/emacs-dotfiles-2007-01-20/#comment-1527</guid>
		<description>Since I&#039;ve moved into management, I&#039;ve been using an extremely minimalistic .emacs file. The following makes GNU emacs way more tolerable for me without needing a bunch of external dependencies:

(setq-default fill-column 72) ;; Set wrapping to some sane value
(add-hook &#039;text-mode-hook &#039;turn-on-auto-fill)
(setq visible-bell t) ;; turn off audio bell.  I like the screen to flash instead.
(setq line-number-mode t)
(setq delete-auto-save-files t)
(setq require-final-newline &#039;ask)
(setq file-name-handler-alist nil)   ;; don&#039;t use ange-ftp
(setq default-tab-width 8)
;; Use font-lock regardless of windowing system
(setq font-lock-maximum-decoration t)
(global-font-lock-mode t)
(auto-compression-mode t) ;; decompress .tgz files on-the-fly

(load &quot;complete&quot; t t) ;; do regex filename completion on C-x C-f (find-file)
(partial-completion-mode t)

;;; beg: c and c++
(defun one-true-style ()
  (c-set-style &quot;bsd&quot;)
  (setq tab-width 8)
  (setq c-basic-offset 4)
  (setq indent-tabs-mode t))
(add-hook &#039;c-mode-hook &#039;one-true-style)
(add-hook &#039;objc-mode-hook &#039;one-true-style)
(add-hook &#039;c++-mode-hook &#039;one-true-style)
(add-hook &#039;php-mode-hook &#039;one-true-style)
;;; end: c and c++

(setq default-major-mode &#039;fundamental-mode)</description>
		<content:encoded><![CDATA[<p>Since I&#8217;ve moved into management, I&#8217;ve been using an extremely minimalistic .emacs file. The following makes GNU emacs way more tolerable for me without needing a bunch of external dependencies:</p>
<p>(setq-default fill-column 72) ;; Set wrapping to some sane value<br />
(add-hook &#8216;text-mode-hook &#8216;turn-on-auto-fill)<br />
(setq visible-bell t) ;; turn off audio bell.  I like the screen to flash instead.<br />
(setq line-number-mode t)<br />
(setq delete-auto-save-files t)<br />
(setq require-final-newline &#8216;ask)<br />
(setq file-name-handler-alist nil)   ;; don&#8217;t use ange-ftp<br />
(setq default-tab-width 8)<br />
;; Use font-lock regardless of windowing system<br />
(setq font-lock-maximum-decoration t)<br />
(global-font-lock-mode t)<br />
(auto-compression-mode t) ;; decompress .tgz files on-the-fly</p>
<p>(load &#8220;complete&#8221; t t) ;; do regex filename completion on C-x C-f (find-file)<br />
(partial-completion-mode t)</p>
<p>;;; beg: c and c++<br />
(defun one-true-style ()<br />
  (c-set-style &#8220;bsd&#8221;)<br />
  (setq tab-width 8)<br />
  (setq c-basic-offset 4)<br />
  (setq indent-tabs-mode t))<br />
(add-hook &#8216;c-mode-hook &#8216;one-true-style)<br />
(add-hook &#8216;objc-mode-hook &#8216;one-true-style)<br />
(add-hook &#8216;c++-mode-hook &#8216;one-true-style)<br />
(add-hook &#8216;php-mode-hook &#8216;one-true-style)<br />
;;; end: c and c++</p>
<p>(setq default-major-mode &#8216;fundamental-mode)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

