opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-gnu-emacs@gnu.org 19 April 2012 • 1:58PM -0400

Re: Emacs: Problems of the Scratch Buffer
by Kevin Rodgers

REPLY TO AUTHOR
 
REPLY TO GROUP




On 4/18/12 1:33 PM, Aaron Meurer wrote:
> On Wed, Apr 18, 2012 at 6:00 AM, Xah Lee<xahlee@gmai...>  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



Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.