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

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

Re: Emacs: Problems of the Scratch Buffer


From: Kevin Rodgers
Subject: Re: Emacs: Problems of the Scratch Buffer
Date: Wed, 18 Apr 2012 23:58:22 -0600
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20

On 4/18/12 1:33 PM, Aaron Meurer wrote:
On Wed, Apr 18, 2012 at 6:00 AM, Xah Lee<address@hidden>  wrote:
...
  3.A scratch pad can be very useful not just for temporary elisp code
but for any scratch notes or programing in other languages. (For
example, well known programer Stevey Yegg in his popular blog article
Effective Emacs↗, considers creating new temp buffer as a top 10 tip
in emacs productivity.)

I agree.  The scratch buffer seems to be made so you could easily type
and execute lisp code interactively.  But even if you just want to run
one lisp command, you can type it literally anywhere and type C-x C-e
(the disadvantage is you won't get syntax highlighting or completion
if you are not in lisp-mode).  IMHO, *scratch* should default to
text-mode.

(setq initial-major-mode 'text-mode)

--
Kevin Rodgers
Denver, Colorado, USA




reply via email to

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