* Property: How to define allowed values at file level
@ 2024-07-15 1:18 Sébastien Gendre
2024-07-15 4:34 ` Phil
0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Gendre @ 2024-07-15 1:18 UTC (permalink / raw)
To: Org Mode List
[-- Attachment #1: Type: text/plain, Size: 707 bytes --]
Hello,
After reading the manual about property syntax[1], I want to set the
allowed values for a property at the file level.
So, at the beginning of my buffer, I have written this:
#+PROPERTY: Review_ALL: ⭐ ⭐⭐ ⭐⭐⭐ ⭐⭐⭐⭐ ⭐⭐⭐⭐⭐
But when I try to set the property of an heading, with keyboard shortcut
C-c C-x p, and select the property "Review": I can set any value.
Didn't the minibuffer should offer me only the values above, with completion ?
Did I misunderstand the manual ? Is it not possible to set allowed
values at a file level ?
[1] https://orgmode.org/manual/Property-Syntax.html
Best regards
-------
Gendre Sébastien
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Property: How to define allowed values at file level
2024-07-15 1:18 Property: How to define allowed values at file level Sébastien Gendre
@ 2024-07-15 4:34 ` Phil
0 siblings, 0 replies; 2+ messages in thread
From: Phil @ 2024-07-15 4:34 UTC (permalink / raw)
To: Sébastien Gendre, Org Mode List
Hello Sébastien,
Remove the two dots after Review_all and everything will be fine.
#+PROPERTY: Review_ALL ⭐ ⭐⭐ ⭐⭐⭐ ⭐⭐⭐⭐ ⭐⭐⭐⭐⭐
Best,
Phil
* [2024-07-15 03:18] Sébastien Gendre:
> Hello,
>
> After reading the manual about property syntax[1], I want to set the
> allowed values for a property at the file level.
>
> So, at the beginning of my buffer, I have written this:
>
> #+PROPERTY: Review_ALL: ⭐ ⭐⭐ ⭐⭐⭐ ⭐⭐⭐⭐ ⭐⭐⭐⭐⭐
>
>
> But when I try to set the property of an heading, with keyboard shortcut
> C-c C-x p, and select the property "Review": I can set any value.
>
> Didn't the minibuffer should offer me only the values above, with completion ?
>
> Did I misunderstand the manual ? Is it not possible to set allowed
> values at a file level ?
>
>
>
> [1] https://orgmode.org/manual/Property-Syntax.html
>
>
> Best regards
>
> -------
> Gendre Sébastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-15 4:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 1:18 Property: How to define allowed values at file level Sébastien Gendre
2024-07-15 4:34 ` Phil
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).