Re: [O] Date macro and file permission

2019-01-22 Thread Michael Brand
Hi Nicolas

On Tue, Jan 22, 2019 at 9:03 AM Nicolas Goaziou  wrote:

> Michael Brand  writes:
>
> > Thank you for looking into it. Now it asks "Buffer  *temp* modified;
> > kill anyway?".
>
> Oh, so that (restore-buffer-modified-p nil) was useful…
>
> Fixed. Thank you.

Confirmed, thank you.

Michael



Re: [O] Date macro and file permission

2019-01-22 Thread Nicolas Goaziou
Hello,

Michael Brand  writes:

> Thank you for looking into it. Now it asks "Buffer  *temp* modified;
> kill anyway?".

Oh, so that (restore-buffer-modified-p nil) was useful…

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] Date macro and file permission

2019-01-21 Thread Michael Brand
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



Re: [O] Date macro and file permission

2019-01-21 Thread Nicolas Goaziou
Hello,

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.

Regards,

-- 
Nicolas Goaziou



[O] Date macro and file permission

2019-01-21 Thread Michael Brand
Hi all

Visiting a read-only file that uses the ~#+date:~ macro results in the
message "File mode specification error: (buffer-read-only #)" 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

Michael