From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthew Hinton Newsgroups: gmane.emacs.help Subject: Re: setting a variable for a mode Date: Tue, 05 Nov 2002 16:51:08 GMT Organization: AT&T Broadband Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1036515335 26072 80.91.224.249 (5 Nov 2002 16:55:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2002 16:55:35 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1896zD-0006lp-01 for ; Tue, 05 Nov 2002 17:55:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18970Z-0006pD-00; Tue, 05 Nov 2002 11:56:55 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!wn11feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc01.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.7.4 (Linux) Original-Lines: 15 Original-NNTP-Posting-Host: 12.242.202.205 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: sccrnsc01 1036515068 12.242.202.205 (Tue, 05 Nov 2002 16:51:08 GMT) Original-NNTP-Posting-Date: Tue, 05 Nov 2002 16:51:08 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106762 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3315 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3315 On Fri, 01 Nov 2002 19:05:44 GMT, Cyprian Laskowski wrote: > Try: > > (make-variable-buffer-local 'fill-column) > (add-hook 'text-mode-hook (lambda () (setq fill-column 78))) > Thank you very much. I wouldn't have figured that out. -- Thats why I decided to sabotage my highly scientific mind with cartoons and suger. -- Sheen from Jimmy Neutron