From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: Date macro and file permission Date: Tue, 22 Jan 2019 08:12:21 +0100 Message-ID: References: <87ef95hh6f.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glqEl-0005E9-LD for emacs-orgmode@gnu.org; Tue, 22 Jan 2019 02:12:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glqEk-0000Nc-HN for emacs-orgmode@gnu.org; Tue, 22 Jan 2019 02:12:43 -0500 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:39926) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1glqEk-0000I1-7q for emacs-orgmode@gnu.org; Tue, 22 Jan 2019 02:12:42 -0500 Received: by mail-lj1-x22b.google.com with SMTP id t9-v6so19633568ljh.6 for ; Mon, 21 Jan 2019 23:12:34 -0800 (PST) In-Reply-To: <87ef95hh6f.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: Org Mode Hi Nicolas On Mon, Jan 21, 2019 at 9:47 PM Nicolas Goaziou wrote: > Michael Brand writes: > > > Visiting a read-only file that uses the ~#+date:~ macro results in the > > message "File mode specification error: (buffer-read-only # > buffer>)" and a not properly initialized Org buffer. For example Org > > indent does not indent and some faces show a wrong color. I tried > > today's master branch and found the regression here > > > > commit 5f5d82ed516b7b385a9258271becbfa247e94af3 > > Author: Nicolas Goaziou > > Date: Tue Nov 21 22:25:17 2017 +0100 > > > > Remove second pass for macro expansion > > Fixed. Thank you. Thank you for looking into it. Now it asks "Buffer *temp* modified; kill anyway?". Michael