From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bkhl@elektrubadur.se (=?utf-8?Q?Bj=C3=B6rn_Lindstr=C3=B6m?=) Newsgroups: gmane.emacs.help Subject: Re: Is emacs wrong? - EOF is allowed without EOL Date: Mon, 28 Nov 2005 10:01:43 +0100 Message-ID: <87y839du2w.fsf@lucien.dreaming> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133169174 3506 80.91.229.2 (28 Nov 2005 09:12:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2005 09:12:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 28 10:12:46 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Egf2I-0007J0-U4 for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Nov 2005 10:10:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Egf2G-0004wt-4C for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Nov 2005 04:10:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EgewR-0002V8-PI for help-gnu-emacs@gnu.org; Mon, 28 Nov 2005 04:04:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EgewP-0002Tb-C8 for help-gnu-emacs@gnu.org; Mon, 28 Nov 2005 04:04:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgewN-0002SU-Up for help-gnu-emacs@gnu.org; Mon, 28 Nov 2005 04:04:52 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1EgewN-0003ew-EC for help-gnu-emacs@gnu.org; Mon, 28 Nov 2005 04:04:51 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Egeuj-0004ps-Og for help-gnu-emacs@gnu.org; Mon, 28 Nov 2005 10:03:09 +0100 Original-Received: from h70n1c1o1124.bredband.skanova.com ([81.228.152.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Nov 2005 10:03:09 +0100 Original-Received: from bkhl by h70n1c1o1124.bredband.skanova.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Nov 2005 10:03:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-To: help-gnu-emacs@gnu.org Original-Lines: 11 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: h70n1c1o1124.bredband.skanova.com Mail-Copies-To: never X-Home-Page: http://bkhl.elektrubadur.se/ User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:ewIbgibMnEYaNK7/ooMXGe/Hl/w= 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:31456 Archived-At: Brian Elmegaard writes: > And, moreover, can I have a setting in an emacs mode that forces a > line break before end of file? Setting the variable require-final-newline to the appropriate value should do it. I like (setq require-final-newline 'ask)