From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "rgb" Newsgroups: gmane.emacs.help Subject: Re: linebreak after 78characters Date: 26 Aug 2005 13:10:02 -0700 Organization: http://groups.google.com Message-ID: <1125087002.730760.127180@g47g2000cwa.googlegroups.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1125087215 9124 80.91.229.2 (26 Aug 2005 20:13:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Aug 2005 20:13:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 26 22:13:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E8kYa-0004oO-Bd for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Aug 2005 22:12:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E8kcW-0005Bv-Vx for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Aug 2005 16:16:13 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!nntp.abs.net!newsread.com!news-xfer.newsread.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 198.74.20.118 Original-X-Trace: posting.google.com 1125087008 19568 127.0.0.1 (26 Aug 2005 20:10:08 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 26 Aug 2005 20:10:08 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 bucket.wellsfargo.com:80 (squid/2.5.STABLE5) Complaints-To: groups-abuse@google.com Injection-Info: g47g2000cwa.googlegroups.com; posting-host=198.74.20.118; posting-account=C7LM4w0AAAD23IRuMuUUJVCLQTuHhTK8 Original-Xref: shelby.stanford.edu gnu.emacs.help:133485 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:29020 Archived-At: > I just wondered where I can set permanently the option, that emacs breaks eac > line after 78characters. I can`t find it on the menu. If you want auto-fill-mode to be on when in a particular mode you need to add this to the mode's hook. (add-hook 'foo-mode-hook 'auto-fill-mode) If you want it on for every buffer regardless of mode you could try putting it on the after-change-major-mode-hook but that won't cover fundamental mode. Personally I use (global-set-key [f12] 'auto-fill-mode) so I can toggle it on and off with a single key no matter what mode I'm in.