help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs mode line suggestions


From: Kevin Rodgers
Subject: Re: emacs mode line suggestions
Date: Tue, 18 Nov 2008 02:39:35 -0700
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

Ian Eure wrote:
I think the only time I manually switch modes is when I need to use *scratch* for something, e.g. I'll switch to emacs-lisp-mode if I want to eval some code, sql-mode if I want to write a query, etc.

I should probably write some functions to give me *lisp* and *SQL* buffers with the appropriate mode.

I leave initial-major-mode set to lisp-interaction-mode, so *scratch* is
my Emacs Lisp buffer.  And I've got this in my ~/.emacs:

(with-current-buffer (get-buffer-create "*Text*")
  (text-mode))

(with-current-buffer (get-buffer-create "*SQL*")
  (sql-mode))

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]