From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ruy Exel Subject: Re: org-mode gets confused with column widths when 'time-stamp-custom-formats' are applied. Date: Wed, 15 Nov 2017 17:10:55 -0200 Message-ID: References: <87shdfwjjd.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c0caa205358a1055e0a437e" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eF35O-0003D4-He for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 14:10:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eF35N-0004J2-DD for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 14:10:58 -0500 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:32998) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eF35N-0004FJ-5Y for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 14:10:57 -0500 Received: by mail-wm0-x22a.google.com with SMTP id r68so22898968wmr.0 for ; Wed, 15 Nov 2017 11:10:56 -0800 (PST) In-Reply-To: <87shdfwjjd.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --94eb2c0caa205358a1055e0a437e Content-Type: text/plain; charset="UTF-8" Wow! That was quick. Thanks. Ruy On Nov 15, 2017 15:15, "Nicolas Goaziou" wrote: > Hello, > > Ruy Exel writes: > > > Consider the table below: > > > > | Name | Date of Birth | > > |-------+------------------| > > | John | <1978-11-14 Tue> | > > | Peter | <1970-11-14 Sat> | > > |-------+------------------| > > > > Suppose we want to format time stamps differently, such as with the > > following elisp commands: > > > > (setq org-time-stamp-custom-formats (quote ("<%d %b %y>" . "<%m/%d/%y %a > > %H:%M>"))) > > (org-toggle-time-stamp-overlays) > > > > After realigning the table you get > > > > | Name | Date of Birth | > > |-------+------------------| > > | John | <14 Nov 1978> | > > | Peter | <14 Nov 1970> | > > |-------+------------------| > > Fixed. Thank you. > > Regards, > > -- > Nicolas Goaziou > --94eb2c0caa205358a1055e0a437e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Wow!=C2=A0 That was quick.=C2=A0 Thanks.

Ruy

=
On Nov 15, 2017 15:15, "Nicolas Goaziou&quo= t; <mail@nicolasgoaziou.fr= > wrote:
Hello,
Ruy Exel <ruyexel@gmail.com>= writes:

> Consider the table below:
>
> | Name=C2=A0 | Date of Birth=C2=A0 =C2=A0 |
> |-------+------------------|
> | John=C2=A0 | <1978-11-14 Tue> |
> | Peter | <1970-11-14 Sat> |
> |-------+------------------|
>
> Suppose we want to format time stamps differently, such as with the > following elisp commands:
>
> (setq org-time-stamp-custom-formats (quote ("<%d %b %y>&quo= t; . "<%m/%d/%y %a
> %H:%M>")))
> (org-toggle-time-stamp-overlays)
>
> After realigning the table you get
>
> | Name=C2=A0 | Date of Birth=C2=A0 =C2=A0 |
> |-------+------------------|
> | John=C2=A0 | <14 Nov 1978> |
> | Peter | <14 Nov 1970> |
> |-------+------------------|

Fixed. Thank you.

Regards,

--
Nicolas Goaziou
--94eb2c0caa205358a1055e0a437e--