Mikhail Skorzhisnkii <mskorzhins...@eml.cc> writes: >> Also, what will happen in a file like >> >> #+TITLE: Begin title >> #+TITLE: .. end title >> >> ? > > Hm, never did this myself. Now concatenate the list of property values. I have > tested it and space as a separator looks good, if the intention of several > titles is to have one big title. > > But what if several titles are title and subtitles? We can provide a way > control > that behaviour, but my gut feeling that it would be a rather confusing.
See org-clock-get-file-title. You can move that function into org.el and rename to org-get-file-title. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92