From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#20322: 25.0.50; indent-tabs-mode should default to nil Date: Wed, 15 Apr 2015 14:18:43 +0300 Message-ID: <552E4913.8050309@yandex.ru> References: <861tjn3069.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1429096763 488 80.91.229.3 (15 Apr 2015 11:19:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Apr 2015 11:19:23 +0000 (UTC) Cc: 20322@debbugs.gnu.org To: rms@gnu.org, Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 15 13:19:12 2015 Return-path: Envelope-to: geb-bug-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 1YiLLb-0007tC-7M for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Apr 2015 13:19:11 +0200 Original-Received: from localhost ([::1]:59791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiLLa-0002TI-3l for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Apr 2015 07:19:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiLLW-0002T2-2w for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2015 07:19:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiLLS-00012W-Uf for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2015 07:19:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiLLS-00012N-S2 for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2015 07:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YiLLS-0006xz-Ej for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2015 07:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Apr 2015 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20322 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20322-submit@debbugs.gnu.org id=B20322.142909673526765 (code B ref 20322); Wed, 15 Apr 2015 11:19:02 +0000 Original-Received: (at 20322) by debbugs.gnu.org; 15 Apr 2015 11:18:55 +0000 Original-Received: from localhost ([127.0.0.1]:56782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YiLLL-0006xc-8g for submit@debbugs.gnu.org; Wed, 15 Apr 2015 07:18:55 -0400 Original-Received: from mail-wg0-f42.google.com ([74.125.82.42]:36783) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YiLLI-0006xN-V3 for 20322@debbugs.gnu.org; Wed, 15 Apr 2015 07:18:53 -0400 Original-Received: by wgsk9 with SMTP id k9so42944922wgs.3 for <20322@debbugs.gnu.org>; Wed, 15 Apr 2015 04:18:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=DfgyzQ6KgrCQbxvx+YD+OcltnozPgwUox6kJy0IT9Aw=; b=CjB3zQf4j26Z//RumMHoYSqS73+wCevHCLnRuiEw9VsMO11VrsLzYie9SiUv1bAQy1 FbhPxAgXcWvAIqxC/nt4kPAjRFFMo0hdr/60VnArcLxfzAxXveKfhBsPJ4TlD5e2fnXv vGKi1GanegYBqMZaRIx1GYmHSUirY5vzgT/4poKd4MhHco+t4PQyxWttEyHqtzUNLfmS Vvg38V7QM5hnn+xlj4NhX6HbRNd5TEOWP2rXAA2bSEuSWmhMI5pD6La0vtQK4yLqXafw SpOJFBxJBFtiAdXaS6QxttIR34xuZdccFLMwoc9pyL/NxHtzHf9QTfDlkQO9C1161Uty j6Rw== X-Received: by 10.194.77.44 with SMTP id p12mr49576153wjw.1.1429096727420; Wed, 15 Apr 2015 04:18:47 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id eh5sm6759884wic.20.2015.04.15.04.18.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Apr 2015 04:18:46 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101548 Archived-At: On 04/15/2015 05:33 AM, Richard Stallman wrote: > Tabs make file smaller. I just did an experiment. In lread.c, M-x > untabify changed 139702 characters into 155402 characters, which is > 11% bigger. Right, I suppose that made sense, back in the day. Thanks for the context. > For subr.el, it was smaller: 200817 characters became 209939, only > 4.5% bigger. However, files.el got 12% bigger. > > If most of a git repository is text from various versions of files, > the repository is also likely to get around 10% bigger without tabs, > and now you're talking about 30 meg more. Git compresses the file contents with zlib when storing them. Let's compare the compressed versions of files.el: $ gzip --keep files.el $ gzip --keep files-notabs.el $ ls -l files.el.gz files-notabs.el.gz -rw-rw-r-- 1 gutov gutov 85735 Apr 12 22:26 files.el.gz -rw-rw-r-- 1 gutov gutov 87471 Apr 15 14:07 files-notabs.el.gz That's only a 2% increase in compressed size for the file with the largest difference. For subr.el, as another example, the difference is 0.56%.