From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: changing the scratch mode Date: 24 Jul 2005 15:26:05 +1000 Message-ID: <87oe8swz9u.fsf@tiger.rapttech.com.au> References: <42e29019$1_1@news.iprimus.com.au> Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1122182893 22292 80.91.229.2 (24 Jul 2005 05:28:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Jul 2005 05:28:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 24 07:28:04 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DwZ1u-0001Yw-7M for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Jul 2005 07:28:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DwZ48-000264-8v for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Jul 2005 01:30:20 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp1-192.lns1.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1122182765 59.167.1.192 (24 Jul 2005 14:56:05 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!news.xtra.co.nz!news-south.connect.com.au!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:132601 Original-To: help-gnu-emacs@gnu.org 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:28119 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28119 Baloff writes: > Hello > > C-x b to get the scratch buffer, so I can type an email, ops the mode > line shows (Lisp Interaction), well I need the mode assosiated with > .txt files, I remember when I open a file with .txt it had a (Text Fly > Fill) mode. now how can I change this mode in the middle of my > "writing the email". > > thanks I suspect there may be better ways of doing what you want, but its not clear exactly what you want. For example, if you just want to write an e-mail, why not use one of the many existing modes/packages for composing e-mail. by doing this, you often get a lot of other added benefits which may not get added when just creating a text file - for example, you can define a bunch of e-mail specific abbrevs which only take effect in buffers relating to composing e-mail, or you might prefer different fill columns for normal text files compared to e-mail messages or you might have a little emacs funciton which inserts witty signatures into your e-mails which won't work if its just a buffer in plain text mode etc. I just get the feeling from your post that you may be trying to force emacs into your way of thinking/doing things. While this is certainly one of the major advantages of emacs, you can pretty much customize it to be just how you want, its better to work out how emacs does things first so that your not just re-inventing part of an existing wheel. Once you know how emacs wants to do things, you can then more easily work out how to best customize it to meet your personal preferences. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!