From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Tables recently stopped aligning Date: Tue, 07 Jul 2015 00:56:50 -0400 Message-ID: <87si9036r1.fsf@pierrot.dokosmarshall.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCKwP-00014Y-8R for emacs-orgmode@gnu.org; Tue, 07 Jul 2015 00:57:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCKwK-0006BJ-9y for emacs-orgmode@gnu.org; Tue, 07 Jul 2015 00:57:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:54498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCKwK-00069i-3x for emacs-orgmode@gnu.org; Tue, 07 Jul 2015 00:57:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZCKwI-0006FI-Eq for emacs-orgmode@gnu.org; Tue, 07 Jul 2015 06:57:02 +0200 Received: from pool-108-20-41-47.bstnma.fios.verizon.net ([108.20.41.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Jul 2015 06:57:02 +0200 Received: from ndokos by pool-108-20-41-47.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Jul 2015 06:57:02 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org William Denton writes: > Last week I got caught up on a week or two of Emacs and Org > development (I run both from development trees) and some tables > stopped aligning. I worked one down to five lines: > > https://gist.github.com/wdenton/ab890c36090cd4048d49 > > With Org compiled from the dev tree in Git, when I load that file > (align.org) and hit C-c C-c, it doesn't align. emacs -Q loads Org > 8.2.10 (from the Emacs source) and it does align. > > Does it work for others? I assume it does---surely if other people > noticed this problem they'd have reported it already. > I can reproduce it with release_8.3beta-1274-gc76fef. I bisected it to the following commit: --8<---------------cut here---------------start------------->8--- 6d60138260d54bf8403b9c87155682447808335e is the first bad commit commit 6d60138260d54bf8403b9c87155682447808335e Author: Nicolas Goaziou Date: Sun Jun 28 15:45:31 2015 +0200 org-table: Do not modify buffer needlessly when aligning table * lisp/org-table.el (org-table-align): Compare new table with old one before replacing it. Only replace modified lines. :040000 040000 2ef4220238baf6508c5de7270b6ac37733ac0934 f7d7ff100f0fdaee2ddab08b3514908d6d7643a0 M lisp --8<---------------cut here---------------end--------------->8--- -- Nick