From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Newsgroups: gmane.emacs.help Subject: Re: How to get rid of *GNU Emacs* buffer on start-up? Date: Wed, 24 Sep 2008 21:01:35 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <873ajzwoqu.fsf@kobe.laptop> <823901dd-c54c-4e3b-b6ad-512d52724a46@z11g2000prl.googlegroups.com> <15b2444a-fece-4781-b57b-5e738ed1d202@a29g2000pra.googlegroups.com> <26f9d70d-4131-42f1-a368-42aa0d28a940@b30g2000prf.googlegroups.com> <8896a071-1a1d-4185-b723-b32e5e1aaaf3@b30g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1222317677 32188 80.91.229.12 (25 Sep 2008 04:41:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 04:41:17 +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 Sep 25 06:42:14 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kiify-0002ZI-Sl for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 06:42:03 +0200 Original-Received: from localhost ([127.0.0.1]:40771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kiiew-0005l9-Pq for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 00:40:58 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b2g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: 24.6.185.159 Original-X-Trace: posting.google.com 1222315295 2994 127.0.0.1 (25 Sep 2008 04:01:35 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 25 Sep 2008 04:01:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b2g2000prf.googlegroups.com; posting-host=24.6.185.159; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:162692 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58034 Archived-At: On Sep 23, 9:32 pm, r...@rosslaird.info (Ross A. Laird) wrote: > I have been following this thread with amusement and (a little bit of) > chagrin. Online modes of communication make it easy to say things that > one would not say in a face-to-face conversation. But that's just an > observation. My main point is that I am not a programmer (I am a > professional writer) and I would like to vote for continuation of the > scratch buffer as a basic feature. I used the scratch buffer the other > day to show some students in a creative writing class the schedule of > their presentations, which I had copied from my org-mode agenda (which > has all kinds of other stuff that is not relevant to the class). I don't > use the scratch buffer all that much, but I like to know that it's > there. I copy snippets of text to it, and I sometimes use it to create > odd little literary vignettes that I may not wish to save. It's useful. > > Just my two bits. Here's a tip you might love. (global-set-key (kbd "") 'new-empty-buffer) (defun new-empty-buffer () "Opens a new empty buffer." (interactive) (let ((buf (generate-new-buffer "untitled"))) (switch-to-buffer buf) (funcall (and initial-major-mode)) )) Put the above in your =E2=80=9C.emacs=E2=80=9D. Then, you can get a new scr= atch by simply pressing a key. And, when you need to, press again you get a second scratch. Xah =E2=88=91 http://xahlee.org/ =E2=98=84