From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ignoramus27625 Newsgroups: gmane.emacs.help Subject: Re: boilerplate expansion module? Date: 16 May 2003 16:46:11 GMT Organization: Altopia Corp. - Usenet Access - www.altopia.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1053104096 27484 80.91.224.249 (16 May 2003 16:54:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 16 May 2003 16:54:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri May 16 18:54:54 2003 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 19GiPa-0006mm-00 for ; Fri, 16 May 2003 18:50:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19GiPZ-0005WG-04 for gnu-help-gnu-emacs@m.gmane.org; Fri, 16 May 2003 12:50:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!feedwest.aleron.net!aleron.net!news.alt.net!usenet Original-Newsgroups: gnu.emacs.help Original-Lines: 35 User-Agent: slrn/0.9.7.4 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:113317 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9813 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9813 Here's what I did: In article , Johan Bockgård wrote: > Ignoramus7828 writes: > > > What I want is to enable abbrev-mode for all modes and all buffers. > > According to some web page, I placed > > > > (abbrev-mode 1) > > > > into my emacs.el file. But that does not apply to buffers that I > > open. I have to do same in each buffer, which is a pain. What am I > > doing wrong? > > ,----[ C-h v abbrev-mode RET ] > | [...] > | This variable automatically becomes buffer-local when set in any fashion. > | Changing it with M-x customize sets the default value. > | Use the command `abbrev-mode' to enable or disable Abbrev mode in the current > | buffer. > | > | You can customize this variable. > `---- > > Customize abbrev-mode as suggested, or use > (setq-default abbrev-mode t). > here's what I did: (setq default-abbrev-mode t) works great.