From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Denton Subject: Re: Tables recently stopped aligning Date: Wed, 8 Jul 2015 22:06:41 -0400 (EDT) Message-ID: References: <87si9036r1.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="658601964-1014691816-1436407601=:26860" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZD1Ed-0000cA-31 for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 22:06:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZD1EZ-0006zd-6a for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 22:06:47 -0400 Received: from shell.miskatonic.org ([65.39.236.119]:40867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZD1EY-0006zT-Rf for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 22:06:42 -0400 In-Reply-To: <87si9036r1.fsf@pierrot.dokosmarshall.org> 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: Nick Dokos Cc: emacs-orgmode@gnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --658601964-1014691816-1436407601=:26860 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Thanks for locating this. I don't know enough about Org's workings to se= e what=20 in the change introduced the bug, but something did go wrong, and column = widths=20 + table alignments are broken. I hope someone can fix it! Bill On 7 July 2015, Nick Dokos wrote: > 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 on= e > before replacing it. Only replace modified lines. > > :040000 040000 2ef4220238baf6508c5de7270b6ac37733ac0934 f7d7ff100f0fdae= e2ddab08b3514908d6d7643a0 M lisp > --8<---------------cut here---------------end--------------->8--- > > --=20 William Denton =E2=86=94 Toronto, Canada =E2=86=94 https://www.miskaton= ic.org/ --658601964-1014691816-1436407601=:26860--