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. Micha

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 examp

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 t

[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 t