* #+SETUPFILE with #+TODO
@ 2015-11-09 12:48 Michael Brand
2015-11-12 22:30 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: Michael Brand @ 2015-11-09 12:48 UTC (permalink / raw)
To: Org Mode
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
Hi all
With today's release_8.3.2-308-g6c1f63b when I open the attached
org_todo_test.org when it is writable then the customized todo keyword
CNCL is recognized, when the file is read only then not. I expect CNCL
to be recognized as a todo keyword in both cases.
Michael
[-- Attachment #2: org_todo_setup.org --]
[-- Type: application/octet-stream, Size: 26 bytes --]
#+TODO: TODO(t) | CNCL(c)
[-- Attachment #3: org_todo_test.org --]
[-- Type: application/octet-stream, Size: 50 bytes --]
#+SETUPFILE: org_todo_setup.org
* TODO a
* CNCL b
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: #+SETUPFILE with #+TODO
2015-11-09 12:48 #+SETUPFILE with #+TODO Michael Brand
@ 2015-11-12 22:30 ` Nicolas Goaziou
2015-11-13 6:19 ` Michael Brand
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2015-11-12 22:30 UTC (permalink / raw)
To: Michael Brand; +Cc: Org Mode
Hello,
Michael Brand <michael.ch.brand@gmail.com> writes:
> With today's release_8.3.2-308-g6c1f63b when I open the attached
> org_todo_test.org when it is writable then the customized todo keyword
> CNCL is recognized, when the file is read only then not. I expect CNCL
> to be recognized as a todo keyword in both cases.
I cannot reproduce the issue. I opened "org_todo_test.org" with
`find-file-read-only' and CNCL is properly fontified as a TODO keyword.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: #+SETUPFILE with #+TODO
2015-11-12 22:30 ` Nicolas Goaziou
@ 2015-11-13 6:19 ` Michael Brand
2015-11-13 17:25 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: Michael Brand @ 2015-11-13 6:19 UTC (permalink / raw)
To: Org Mode
Hi Nicolas
On Thu, Nov 12, 2015 at 11:30 PM, Nicolas Goaziou
<mail@nicolasgoaziou.fr> wrote:
> Michael Brand <michael.ch.brand@gmail.com> writes:
>> With today's release_8.3.2-308-g6c1f63b when I open the attached
>> org_todo_test.org when it is writable then the customized todo keyword
>> CNCL is recognized, when the file is read only then not. I expect CNCL
>> to be recognized as a todo keyword in both cases.
>
> I cannot reproduce the issue. I opened "org_todo_test.org" with
> `find-file-read-only' and CNCL is properly fontified as a TODO keyword.
Sorry, I meant the file permissions of "org_todo_test.org" set to
r--r--r--, not `find-file-read-only'.
Michael
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: #+SETUPFILE with #+TODO
2015-11-13 6:19 ` Michael Brand
@ 2015-11-13 17:25 ` Nicolas Goaziou
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2015-11-13 17:25 UTC (permalink / raw)
To: Michael Brand; +Cc: Org Mode
Michael Brand <michael.ch.brand@gmail.com> writes:
> Sorry, I meant the file permissions of "org_todo_test.org" set to
> r--r--r--, not `find-file-read-only'.
I see. This is a side-effect from commit
d26431cea4b9004751f17b4d7660f1737477ec0b.
I don't know Gnus internals very well. Is there a way to distinguish
between a Gnus buffer fontifying an Org mode snippet and a read-only
buffer? Note that it passes (derived-mode-p 'org-mode) check.
Regards,
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-11-13 17:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-09 12:48 #+SETUPFILE with #+TODO Michael Brand
2015-11-12 22:30 ` Nicolas Goaziou
2015-11-13 6:19 ` Michael Brand
2015-11-13 17:25 ` Nicolas Goaziou
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).