From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: require-final-newline Date: Sun, 06 Mar 2005 14:10:46 -0500 Message-ID: References: <200503051953.j25JrS610363@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1110136157 23978 80.91.229.2 (6 Mar 2005 19:09:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2005 19:09:17 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 06 20:09:17 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D817T-0004BR-1h for ged-emacs-devel@m.gmane.org; Sun, 06 Mar 2005 20:08:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D81R5-0003My-1g for ged-emacs-devel@m.gmane.org; Sun, 06 Mar 2005 14:29:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D81QC-00035t-6V for emacs-devel@gnu.org; Sun, 06 Mar 2005 14:28:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D81Q5-00032a-KN for emacs-devel@gnu.org; Sun, 06 Mar 2005 14:28:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D81Q5-00031G-Es for emacs-devel@gnu.org; Sun, 06 Mar 2005 14:28:05 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D819N-0000iO-4l for emacs-devel@gnu.org; Sun, 06 Mar 2005 14:10:49 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1D819K-0003Jg-PD; Sun, 06 Mar 2005 14:10:46 -0500 Original-To: Luc Teirlinck In-reply-to: <200503051953.j25JrS610363@raven.dms.auburn.edu> (message from Luc Teirlinck on Sat, 5 Mar 2005 13:53:28 -0600 (CST)) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34244 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34244 In Emacs 21.3, Text mode did not override the default value of require-final-newline. In current CVS, it does via mode-require-final-newline. Is there a reason for that? I don't remember the reason, but I remember there was one. I think that specific point was discussed in this list a few months ago. Also, nil _is_ a valid value for mode-require-final-newline. But the docstring is not very explicit about that and you can not set it to nil via Custom. If you set it to nil outside Custom, Custom will falsely describe the value as `ask', which is a bug. I will fix that. Would it be good to have the docstring mention this explicitly and allow it to be set to nil via Custom with proper warning of the involved dangers I don't know how to make Custom issue warnings.