emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Denton <wtd@pobox.com>
To: emacs-orgmode@gnu.org
Subject: Re: Table columns not aligning when width <n> set
Date: Mon, 14 Aug 2017 13:54:10 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.02.1708141347590.23769@shell.miskatonic.org> (raw)
In-Reply-To: <alpine.DEB.2.02.1708081447510.13620@shell.miskatonic.org>

I was able to use git bisect (on master) to narrow down where the problem 
started (for me, at least):

27466a38bcd6f5f3c6bd3c61b8ec9253d4dbf4e4 is the first bad commit
commit 27466a38bcd6f5f3c6bd3c61b8ec9253d4dbf4e4
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date:   Thu Jul 27 15:22:45 2017 +0200

     Fix `org-string-width'

     * lisp/org.el (org-string-width): Better handle various invisible
       characters.

I'm not sure what's going on ... is anyone else seeing this problem with tables?

Bill

On 8 August 2017, William Denton wrote:

> I noticed this last week, but I'm on vacation.  I'm compiling and running Org 
> and Emacs from source, and have been keeping up to date, but the problem's 
> been there for a while.  For Org, I'm on the master branch, not tables, and 
> running "make update" to update.
>
> In the example below, the <40> and <10> widths are not respected.  If you hit 
> C-c C-C on the STARTUP line, first one things goes wrong and then another, 
> and you can toggle back and forth.
>
> Bill
>
> # ----------
>
> #+TITLE: Table column problem
> #+STARTUP: align
>
> | Forty                                    | Ten                      |
> | <40>                                     | <10>                     |
> |------------------------------------------+--------------------------|
> | This cell has more than forty characters in it, but it won't align | Under. 
> |
> | This cell has under forty characters.    | More than ten over here. |
>
> # ----------


--
William Denton :: Toronto, Canada   ---   Listening to Art: https://listeningtoart.org/
https://www.miskatonic.org/         ---   GHG.EARTH: http://ghg.earth/
Caveat lector.                      ---   STAPLR: http://staplr.org/

  reply	other threads:[~2017-08-14 17:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-08 18:53 Table columns not aligning when width <n> set William Denton
2017-08-14 17:54 ` William Denton [this message]
2017-08-14 18:01   ` Kaushal Modi
2017-08-14 18:43   ` Colin Baxter
2017-08-19 10:15 ` Nicolas Goaziou
2017-08-19 19:50   ` Kaushal Modi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.02.1708141347590.23769@shell.miskatonic.org \
    --to=wtd@pobox.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).