From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Pennebaker Newsgroups: gmane.emacs.bugs Subject: bug#13878: Emacs autoindent indenting way too deep Date: Tue, 5 Mar 2013 14:12:11 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04339d1628555604d73240a6 X-Trace: ger.gmane.org 1362510768 9665 80.91.229.3 (5 Mar 2013 19:12:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Mar 2013 19:12:48 +0000 (UTC) To: 13878@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 05 20:13:12 2013 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 1UCxIV-0003Gh-BV for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Mar 2013 20:13:11 +0100 Original-Received: from localhost ([::1]:48334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCxI9-0002mR-P3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Mar 2013 14:12:49 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCxI5-0002m6-Os for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2013 14:12:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCxI0-00012e-TF for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2013 14:12:45 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCxI0-00012Z-PD for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2013 14:12:40 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UCxIL-000129-ON for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2013 14:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Pennebaker Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Mar 2013 19:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13878 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 13878-submit@debbugs.gnu.org id=B13878.13625107623946 (code B ref 13878); Tue, 05 Mar 2013 19:13:01 +0000 Original-Received: (at 13878) by debbugs.gnu.org; 5 Mar 2013 19:12:42 +0000 Original-Received: from localhost ([127.0.0.1]:32912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UCxI2-00011b-IG for submit@debbugs.gnu.org; Tue, 05 Mar 2013 14:12:42 -0500 Original-Received: from mail-ia0-f180.google.com ([209.85.210.180]:42058) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UCxHy-00011N-WF for 13878@debbugs.gnu.org; Tue, 05 Mar 2013 14:12:40 -0500 Original-Received: by mail-ia0-f180.google.com with SMTP id f27so6383602iae.39 for <13878@debbugs.gnu.org>; Tue, 05 Mar 2013 11:12:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=Ft/m0jWLpZRGc4KTcCFKsCzjtSmqTcLZg+NMQtbzAjs=; b=VgkmiKexP6k9f6pXeHFCAqXlMBa19XJ1vGQt9gdZLaE2WMDB50xivufVER7mf9Donw B8NFysDz6KcIcElq+3VHjeI1M0bqBbjf3u6L+9DPXypVabFW2fyD4gpy3Bog4elonHsN UgBVkjmsSWV0rmwV5QsYUtiGbNQWrncOiBdvWumSUoxbLsICXk0ZUGrKfgZR0lVS/d2H doW8Tm74AEzLKiO/0jcN7luZJrqyHxV/Iw2D8ZQhExR7pB50zh/hqkpUUllhq34C5EWt h7+gus03vs9pIOfQ0Y/KVzgUqikBytsFntCPLQ6LlqFOYb4BdKeX7f9UL5vCBltO4pHg UP6g== X-Received: by 10.50.53.143 with SMTP id b15mr7491766igp.69.1362510731550; Tue, 05 Mar 2013 11:12:11 -0800 (PST) Original-Received: by 10.43.71.196 with HTTP; Tue, 5 Mar 2013 11:12:11 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:72127 Archived-At: --f46d04339d1628555604d73240a6 Content-Type: text/plain; charset=ISO-8859-1 *Update*: Specifically, (indent-region (point-min) (point-max)) is improperly indenting my code, verified by manually applying M-: (indent-region (point-min) (point-max)). On Tue, Mar 5, 2013 at 12:10 PM, Andrew Pennebaker < andrew.pennebaker@gmail.com> wrote: > I've a before-save hook for autoindenting files. Emacs is inserting TONS > of extra indentation, how can I fix this? This problem is particularly > offensive for filetypes with significant whitespace (Python, Mardown, > Stylus). > > > https://github.com/mcandre/dotfiles/blob/master/emacs > > -- > Cheers, > > Andrew Pennebaker > www.yellosoft.us > -- Cheers, Andrew Pennebaker www.yellosoft.us --f46d04339d1628555604d73240a6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Update= : Specifically,=A0(in= dent-region (point-min) (point-max))=A0is improperly indenting my code, veri= fied by manually applying=A0M-: (indent-region (point-min) (point-max)).


On Tue,= Mar 5, 2013 at 12:10 PM, Andrew Pennebaker <andrew.pennebaker= @gmail.com> wrote:

I've a befo= re-save hook for autoindenting files. Emacs is inserting TONS of extra inde= ntation, how can I fix this? This problem is particularly offensive for fil= etypes with significant whitespace (Python, Mardown, Stylus).


https://github.com/mcandre/dotfiles/blob/master/emacs


--
Cheers,

Andrew Pennebak= er



--
C= heers,

Andrew Pennebaker
--f46d04339d1628555604d73240a6--