From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Micah Cowan Newsgroups: gmane.emacs.help Subject: Re: How can I turn on abbrev mode by default? Date: 16 Oct 2003 14:31:51 -0700 Organization: CalWeb Internet Services, Inc. Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066340080 5512 80.91.224.253 (16 Oct 2003 21:34:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2003 21:34:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 16 23:34:37 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAFlU-0004QM-01 for ; Thu, 16 Oct 2003 23:34:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAFkA-0001B6-HX for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Oct 2003 17:33:14 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!newshosting.com!news-xfer1.atl.newshosting.com!posted1.newshosting.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-Lines: 22 Original-NNTP-Posting-Host: 815736b1.news.newshosting.com Original-X-Trace: DXC=B>XnoWHZA6EJ[3jYjFQmZO7gYX5fdemc@YV_C?TcC42JGhdERAfY; >GAXkhNXdhdlNX2YHm3Z5; 1@ Original-X-Complaints-To: abuse@calweb.com Original-Xref: shelby.stanford.edu gnu.emacs.help:117336 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:13267 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13267 Dan Anderson writes: > Is it possible to turn on abbrev mode by default whenever I go into > cperl-mode. i.e. whenever I do: > > M-x cperl-mode (or emacs does it when I open a perl file) > > Emacs knows to: > M-x abbrev-mode Go to the customization for cperl-mode-hook by doing: M-x customize-option RET cperl-mode-hook Then click on INS and type into the field: abbrev-mode And go save your setting. That's it! HTH, Micah