From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Hackney Newsgroups: gmane.emacs.devel Subject: Re: The grand indentation unification project Date: Sun, 27 May 2012 10:42:19 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1338129775 25432 80.91.229.3 (27 May 2012 14:42:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 May 2012 14:42:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 27 16:42:54 2012 Return-path: Envelope-to: ged-emacs-devel@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 1SYegD-0000rd-RX for ged-emacs-devel@m.gmane.org; Sun, 27 May 2012 16:42:49 +0200 Original-Received: from localhost ([::1]:56688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYegD-0006SI-Ia for ged-emacs-devel@m.gmane.org; Sun, 27 May 2012 10:42:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYegA-0006Rw-1u for emacs-devel@gnu.org; Sun, 27 May 2012 10:42:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SYeg7-0008Jc-F2 for emacs-devel@gnu.org; Sun, 27 May 2012 10:42:45 -0400 Original-Received: from mail-wi0-f171.google.com ([209.85.212.171]:36847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYeg7-0008JP-0d for emacs-devel@gnu.org; Sun, 27 May 2012 10:42:43 -0400 Original-Received: by wibhm14 with SMTP id hm14so747119wib.12 for ; Sun, 27 May 2012 07:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=haxney.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=y+BgLr0rjlspD5mNaGS0dFG5BfOOgo1jTs4YGZAAX+o=; b=sU7twnecMVBlhEHeaAUP906NSw62aSF/A1hdui+cgGT4iXgSIuW6mKb6GXpac5qjqU Zc9ZZSMCWhtKalan/EgrRDRMbxlX+ViJeTInHvgmUCFVL1RFobfhK3CqZDJzhxZr8g0w /yCwpTsTk1qVNEaaUeWwzDCTguMr93v22Ms4c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=y+BgLr0rjlspD5mNaGS0dFG5BfOOgo1jTs4YGZAAX+o=; b=HClJLn+lFPicSAOoamfqiWDx9tcEVt/yeuK7uDW4Xux52rP8659PtP5b5wszBdGehH MjlCvlFn7k6V8ayj6tnaDPq4c0rvtu8L7Q9FvqzXEoTB5gK17rVCybMScVz/kxaonDzl tjeYcztqt6F2r6FZmcMuvvj5Dt1Jxc7tOJaQ0wx7eEYvnhXjW9NFFn/g4A2+h4mPvGaN 3o+yK6RaBQSQ9cq8ljZZE0ZHy3CZ/vjkZwS+upEHtkKtflmy1gEQJ8vxgz3tYnhdSrXY s7IIuK9f8VnMfj79QoMHhmBuFVLaAxF5Oot55LGSwdeQhLqR3Jq86N7mjGV9yQCDsqp2 kBQA== Original-Received: by 10.180.102.101 with SMTP id fn5mr9333217wib.6.1338129760353; Sun, 27 May 2012 07:42:40 -0700 (PDT) Original-Received: by 10.180.87.167 with HTTP; Sun, 27 May 2012 07:42:19 -0700 (PDT) In-Reply-To: X-Gm-Message-State: ALoCoQnKoqTBRYUqPLBepifxKbXnd/RZj4av6KdaHSy2FCeSl/wu4J2r4/VFGU0vrHxml64ZX/P4 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.171 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150659 Archived-At: Glenn Morris wrote: > Daniel Hackney wrote: > >> I propose adding to the `emacs-lisp-mode' section of ".dir-locals.el" in >> the source root `(indent-tabs-mode . t)' > > We've been here before. Eg: I should have known I wasn't the first one to have this idea ;) I understand not wanting to reawaken this bikeshedding thread, but I would like to submit this humble one-liner which goes through all of the elisp source and indents each file. find -name '*.el' -exec emacs -Q --batch '{}' --eval '(progn (setq make-backup-files nil) (indent-region (point-min) (point-max)))' -f whitespace-cleanup -f basic-save-buffer-1 \; Not the most efficient, but it gets the job done. If you guys don't think it's worth it even with this hack, I'll drop it. -- Daniel M. Hackney