From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: Preserving trailing spaces Date: Tue, 17 Apr 2007 22:34:39 +0200 Organization: The Church of Emacs Message-ID: <87lkgqkae8.fsf@debby.local.net> References: <10028734.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176842160 10741 80.91.229.12 (17 Apr 2007 20:36:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Apr 2007 20:36:00 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: jgombos Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 17 22:35:54 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HduP3-0001Mj-U1 for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Apr 2007 22:35:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HduTo-0001er-Mq for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Apr 2007 16:40:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HduT7-0001T0-HW for help-gnu-emacs@gnu.org; Tue, 17 Apr 2007 16:40:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HduT6-0001Si-Mt for Help-gnu-emacs@gnu.org; Tue, 17 Apr 2007 16:40:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HduT6-0001Sf-Dk for Help-gnu-emacs@gnu.org; Tue, 17 Apr 2007 16:40:04 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HduOK-0007mS-LR for Help-gnu-emacs@gnu.org; Tue, 17 Apr 2007 16:35:09 -0400 Original-Received: from [84.167.10.197] (helo=debby.local.net) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis), id 0ML2xA-1HduOC32NA-0007XB; Tue, 17 Apr 2007 22:35:00 +0200 Original-Received: from dieter by debby.local.net with local (Exim 4.63) (envelope-from ) id 1HduNr-000149-7x; Tue, 17 Apr 2007 22:34:39 +0200 In-Reply-To: <10028734.post@talk.nabble.com> (jgombos's message of "Mon\, 16 Apr 2007 20\:41\:47 -0700 \(PDT\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-Provags-ID: V01U2FsdGVkX1+mIZ2dWwJ1BG5MkCoLfcuEz5QQZcPhNSjIJf9 JESaijjA7NllwNPQ83Zlw0kofTtt+y1xFNMnFwZ5vUcHycN+uA S+J+RG+G27dcb/aYAT9HECAPGFey5Iz X-detected-kernel: Linux 2.6? (barebone, rare!) 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:42760 Archived-At: jgombos writes: > Everything I've read indicates that emacs automatically preserves > whitespace, and that it must be proactively configured to delete trailing > whitespace. My .emacs file is clean. So somewhere in this aemacs > installation, there must be a hook or something that I need to override. > How would I discover where that's happening? Is it the lisp code for > Ada-mode? I've seen in ada-mode.el.gz (Emacs 22.0.95, in /lisp/progmodes) a variable which seem to control this, please try: (setq ada-clean-buffer-before-saving nil) -- Best wishes H. Dieter Wilhelm Darmstadt, Germany