From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Emacs: Problems of the Scratch Buffer Date: Wed, 18 Apr 2012 23:58:22 -0600 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1334815221 16280 80.91.229.3 (19 Apr 2012 06:00:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2012 06:00:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 19 08:00:21 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SKkPk-000490-3h for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Apr 2012 08:00:20 +0200 Original-Received: from localhost ([::1]:51063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKkPj-00075H-G0 for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Apr 2012 02:00:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKkPe-00074g-7F for help-gnu-emacs@gnu.org; Thu, 19 Apr 2012 02:00:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKkPZ-0002n5-GB for help-gnu-emacs@gnu.org; Thu, 19 Apr 2012 02:00:13 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:54563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKkPZ-0002k3-9w for help-gnu-emacs@gnu.org; Thu, 19 Apr 2012 02:00:09 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SKkPV-0003xL-7b for help-gnu-emacs@gnu.org; Thu, 19 Apr 2012 08:00:05 +0200 Original-Received: from c-71-237-25-24.hsd1.co.comcast.net ([71.237.25.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Apr 2012 08:00:05 +0200 Original-Received: from kevin.d.rodgers by c-71-237-25-24.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Apr 2012 08:00:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-25-24.hsd1.co.comcast.net 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 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84508 Archived-At: On 4/18/12 1:33 PM, Aaron Meurer wrote: > On Wed, Apr 18, 2012 at 6:00 AM, Xah Lee 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