* Date macro and file permission
@ 2019-01-21 12:15 Michael Brand
2019-01-21 20:47 ` Nicolas Goaziou
0 siblings, 1 reply; 5+ messages in thread
From: Michael Brand @ 2019-01-21 12:15 UTC (permalink / raw)
To: Org Mode
Hi all
Visiting a read-only file that uses the ~#+date:~ macro results in the
message "File mode specification error: (buffer-read-only #<killed
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 <mail@nicolasgoaziou.fr>
Date: Tue Nov 21 22:25:17 2017 +0100
Remove second pass for macro expansion
Michael
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Date macro and file permission
2019-01-21 12:15 Date macro and file permission Michael Brand
@ 2019-01-21 20:47 ` Nicolas Goaziou
2019-01-22 7:12 ` Michael Brand
0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2019-01-21 20:47 UTC (permalink / raw)
To: Michael Brand; +Cc: Org Mode
Hello,
Michael Brand <michael.ch.brand@gmail.com> writes:
> Visiting a read-only file that uses the ~#+date:~ macro results in the
> message "File mode specification error: (buffer-read-only #<killed
> 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 <mail@nicolasgoaziou.fr>
> Date: Tue Nov 21 22:25:17 2017 +0100
>
> Remove second pass for macro expansion
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Date macro and file permission
2019-01-21 20:47 ` Nicolas Goaziou
@ 2019-01-22 7:12 ` Michael Brand
2019-01-22 8:03 ` Nicolas Goaziou
0 siblings, 1 reply; 5+ messages in thread
From: Michael Brand @ 2019-01-22 7:12 UTC (permalink / raw)
To: Org Mode
Hi Nicolas
On Mon, Jan 21, 2019 at 9:47 PM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Michael Brand <michael.ch.brand@gmail.com> writes:
>
> > Visiting a read-only file that uses the ~#+date:~ macro results in the
> > message "File mode specification error: (buffer-read-only #<killed
> > 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 <mail@nicolasgoaziou.fr>
> > 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Date macro and file permission
2019-01-22 7:12 ` Michael Brand
@ 2019-01-22 8:03 ` Nicolas Goaziou
2019-01-22 8:13 ` Michael Brand
0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2019-01-22 8:03 UTC (permalink / raw)
To: Michael Brand; +Cc: Org Mode
Hello,
Michael Brand <michael.ch.brand@gmail.com> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Date macro and file permission
2019-01-22 8:03 ` Nicolas Goaziou
@ 2019-01-22 8:13 ` Michael Brand
0 siblings, 0 replies; 5+ messages in thread
From: Michael Brand @ 2019-01-22 8:13 UTC (permalink / raw)
To: Michael Brand, Org Mode
Hi Nicolas
On Tue, Jan 22, 2019 at 9:03 AM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Michael Brand <michael.ch.brand@gmail.com> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-01-22 8:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21 12:15 Date macro and file permission Michael Brand
2019-01-21 20:47 ` Nicolas Goaziou
2019-01-22 7:12 ` Michael Brand
2019-01-22 8:03 ` Nicolas Goaziou
2019-01-22 8:13 ` Michael Brand
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).