From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ones Self" Newsgroups: gmane.emacs.help Subject: Setting truncate-lines to true for all .log files Date: 11 Jul 2006 12:35:01 -0700 Organization: http://groups.google.com Message-ID: <1152646498.194749.92930@b28g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1152646862 27777 80.91.229.2 (11 Jul 2006 19:41:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Jul 2006 19:41:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 11 21:41:00 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G0O5x-000427-BE for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Jul 2006 21:40:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G0O5w-0002tz-TQ for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Jul 2006 15:40:32 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b28g2000cwb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 151.202.199.17 Original-X-Trace: posting.google.com 1152646506 16682 127.0.0.1 (11 Jul 2006 19:35:06 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 11 Jul 2006 19:35:06 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060623 Firefox/1.5.0.4,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: b28g2000cwb.googlegroups.com; posting-host=151.202.199.17; posting-account=OWicuQ0AAAB6yeN8PhKtrVOtN40WLkvk Original-Xref: shelby.stanford.edu gnu.emacs.help:140275 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:35900 Archived-At: Hi, I'd like to have all *.log files have truncate-lines set to t, so lines will not wrap. How would I set something like that up? When I open a .log file in emacs it goes into fundamental mode. I could set it to go to a differerent mode using auto-mode-alist, but which mode? Do I need to create a new mode for this? Is there already a good mode dedicated to text log files in emacs (I couldn't find one)? Thanks for all your help