I have a collection of Org files that all link to a central properties file in which I specify _ALL
properties so that I can get uniform entry of information across many files:
#+SETUPFILE: ../../properties.org
I have also tried adding properties set to <unspecified>
in the hopes that they would pre-populate the property entry list because it is easier not to retype the same property names every time I open a new file. Thus, a snippet of my properties.org
looks like:
#+PROPERTY: GENRE <unspecified>
#+PROPERTY: GENRE_ALL Commentary Theology History Biography Philosophy Sermons
However, I was wrong about how this works. The properties menu seems to be only populated from properties that are physically in the file, not from properties that are imported from the SETUPFILE
.
Is there some way I can pre-populate the property menu so that I don't have to fully retype the property names every time I start entering them in a new file?
GENRE
the first time that I want to use the property in the file, but the GENRE_ALL values menu completion works for me and after I've entered one GENRE property in the file, then I don't have to type it again: completion works on the name as well as the values. The doc forSETUPFILE
seems to imply that it ought to work too, so I'm not sure why you are having problems. Tested with release 9.3 (as distributed with emacs 28.0.50) and also with upstream Org mode version 9.3.7 (release_9.3.7-660-g73e367).GENRE
the first time is precisely what I want to do, and the rest of the behavior I'm seeing is exactly as you've described. I wouldn't care about this if all my properties were as short asGENRE
, but this is a bad example in the sense that it is one of my shortest property names. The problem I have is that I only enter many of these properties once per file, and so the subsequent autocompletion gives me no benefit.org-default-properties
. These are properties used by Org mode itself, but it is used for completion, so maybe you can add your own without adverse effects. But it's not a particularly flexible method.