From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-time-stamp in latex buffer Date: Fri, 28 Jul 2017 15:38:51 +0200 Message-ID: <87wp6su1ec.fsf@nicolasgoaziou.fr> References: <87a83oka6g.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1db5Tl-0001I9-IL for emacs-orgmode@gnu.org; Fri, 28 Jul 2017 09:38:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1db5Ti-0003wS-IN for emacs-orgmode@gnu.org; Fri, 28 Jul 2017 09:38:57 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:41470) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1db5Ti-0003uL-BE for emacs-orgmode@gnu.org; Fri, 28 Jul 2017 09:38:54 -0400 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id EDCB9C5A8E for ; Fri, 28 Jul 2017 15:38:51 +0200 (CEST) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1db5Tf-0007vi-2U for emacs-orgmode@gnu.org; Fri, 28 Jul 2017 15:38:51 +0200 In-Reply-To: <87a83oka6g.fsf@mat.ucm.es> (Uwe Brauer's message of "Fri, 28 Jul 2017 12:39:19 +0000") 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: emacs-orgmode@gnu.org Hello, Uwe Brauer writes: > org-time-stamp-custom-formats is a variable defined in =E2=80=98org.el=E2= =80=99. > Its value is ("=C2=AB%d-%m-%Y %a=C2=BB" . "=C2=AB%d-%m-%Y %a %H:%M=C2=BB") > Original value was=20 > ("<%m/%d/%y %a>" . "<%m/%d/%y %a %H:%M>") > > > And indeed in an org buffer this format is used. However when I try to > use org-time-stamp in a latex buffer the string > <2017-07-28 Fr> > is inserted which does not respect my new setting. > > What is wrong? Custom format time are applied during fontification time. The major mode you're using in your LaTeX document doesn't know about Org fontification rules. You may want to add some rules to font lock there. Regards, --=20 Nicolas Goaziou