From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-mode gets confused with column widths when 'time-stamp-custom-formats' are applied. Date: Wed, 15 Nov 2017 18:15:02 +0100 Message-ID: <87shdfwjjd.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eF1HH-0000u8-7e for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 12:15:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eF1HG-0004Ks-AA for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 12:15:07 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:45110) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eF1HG-0004K0-4E for emacs-orgmode@gnu.org; Wed, 15 Nov 2017 12:15:06 -0500 In-Reply-To: (Ruy Exel's message of "Tue, 14 Nov 2017 10:02:17 -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" To: Ruy Exel Cc: emacs-orgmode@gnu.org 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