From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: whitespace issues Date: Tue, 30 Jun 2015 19:37:17 -0700 (PDT) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1435718422 16552 80.91.229.3 (1 Jul 2015 02:40:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jul 2015 02:40:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 01 04:40:21 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZA7wj-0007SQ-D9 for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jul 2015 04:40:21 +0200 Original-Received: from localhost ([::1]:49424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA7wi-0002BN-2A for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jun 2015 22:40:20 -0400 X-Received: by 10.129.56.67 with SMTP id f64mr31544672ywa.15.1435718237690; Tue, 30 Jun 2015 19:37:17 -0700 (PDT) X-Received: by 10.50.142.99 with SMTP id rv3mr15499igb.3.1435718237659; Tue, 30 Jun 2015 19:37:17 -0700 (PDT) Original-Path: usenet.stanford.edu!s91no140376qgd.1!news-out.google.com!a16ni9751ign.0!nntp.google.com!ff1no280232igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.94.112.100; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.94.112.100 User-Agent: G2/1.0 Injection-Date: Wed, 01 Jul 2015 02:37:17 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:213062 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105349 Archived-At: On Tuesday, June 30, 2015 at 8:36:37 PM UTC+5:30, =D3scar Fuentes wrote: > Rusi writes: > > > I have two somewhat related questions, both around whitespace: > > > > 1. Is it possible to have some sort of save-hook so that all leading > > (indentation) whitespace is cleaned up to space alone and tabs are > > removed? >=20 > https://github.com/purcell/whitespace-cleanup-mode >=20 > I use https://github.com/lewang/ws-butler which smarter in the sense > that only cleans the lines you touched. Thanks Oscar -- looks interesting. But this is not so much for me as for my kids er... students, and would lik= e to minimize moving parts like extra installs