From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: Should `auto-fill-function' be a safe local variable? Date: Sat, 10 Jan 2009 04:18:25 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231561184 15991 80.91.229.12 (10 Jan 2009 04:19:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2009 04:19:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 10 05:20:56 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LLVLC-0002Ud-2d for ged-emacs-devel@m.gmane.org; Sat, 10 Jan 2009 05:20:54 +0100 Original-Received: from localhost ([127.0.0.1]:52509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLVJv-0000l8-Nd for ged-emacs-devel@m.gmane.org; Fri, 09 Jan 2009 23:19:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLVJr-0000l1-F1 for emacs-devel@gnu.org; Fri, 09 Jan 2009 23:19:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLVJp-0000kn-6y for emacs-devel@gnu.org; Fri, 09 Jan 2009 23:19:30 -0500 Original-Received: from [199.232.76.173] (port=59124 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLVJp-0000kk-1Z for emacs-devel@gnu.org; Fri, 09 Jan 2009 23:19:29 -0500 Original-Received: from ppsw-6.csi.cam.ac.uk ([131.111.8.136]:58799) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LLVJn-0002Zi-1U; Fri, 09 Jan 2009 23:19:27 -0500 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from [121.207.29.235] (port=4887 helo=localhost) by ppsw-6.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1LLVJk-0007eG-KW (Exim 4.70) (return-path ); Sat, 10 Jan 2009 04:19:25 +0000 In-Reply-To: (Richard M. Stallman's message of "Fri, 09 Jan 2009 18:58:46 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107739 Archived-At: On 2009-01-09 23:58 +0000, Richard M Stallman wrote: > The question is whether this is a matter of personal taste > or in some sense an objective statement about that particular file. > If the former, you should set up a text-mode-hook function to check > for that file. If the latter, setting auto-save-function to nil > in that file's local variables list is the right solution. It is a personal taste I guess. Other editors may have its own way of displaying long lines and thus not need something like auto-fill-mode. Some people actual hate automatically inserting hard newlines. So when you are working with them, you don't want auto-fill to get in the way. > What do that file's contents look like? It is a tex file something like this: \define@key{codeexample}{vbox}[]{\def\code@pre{\vbox\bgroup\setlength{\hsize}{\linewidth-6pt}}\def\code@post{\egroup}} Best, Leo