Questions tagged [org-properties]
The org-properties tag has no usage guidance.
15 questions
1
vote
0
answers
41
views
How to inherit header-args for `:noweb-ref` from parent headings in Org-mode?
Update: I debugged this by just running (org-entry-get (point) "header-args" 'inherit) on the source blocks. Turns out I was too tired and the subtrees I thought were buggy actually weren't ...
0
votes
1
answer
47
views
Conditionally evaluate scattered source code blocks in org mode
I have an org document with various source code blocks. Some of blocks should be evaluated conditionally on org-babel-execute-buffer; however, these blocks are scattered throughout the document, which ...
0
votes
0
answers
33
views
org-mode: How do I get a property from the children in the current subtree?
I want to implement a backlink search. I want to find the nearest :ID: property to do so. I need to find this property from the children of the current subtree, so kind of the inverse of property ...
2
votes
1
answer
61
views
Programatically delete a property drawer if empty
I wrote a function to iterate over all of an org file entries, and remove specific properties from drawer.
It works well, and does what I need, but to make things cleaner, I would like to delete the ...
0
votes
1
answer
68
views
How to write an elisp function for converting org files to html with custom classes defined by property?
Suppose I want to run Emacs as emacs -Q --script publish.el, where publish.el is a script that takes care of generating a website I am building. This script should read some org files and convert them ...
0
votes
0
answers
37
views
For integer org-property SWAY, how can I normalize all agenda todos between 1 and 100?
In my org-agenda files, todos have a property called SWAY, which is an integer and it can be between 1 and 100 000. How can I normalize them to be between 1 and 100?;)
Normalizing would be a uniform ...
0
votes
1
answer
97
views
Command to fold all "properties" drawers in file
I’m looking for an interactive command that would fold / unfold all the :PROPERTIES: drawers in an org file.
I’m sure this command must exist, I just can’t find it – and I’m curious to how you did ...
0
votes
2
answers
109
views
Is it possible to have autocompletion for properties in org-agenda?
When filtering entries in agenda buffer (including C-c m) I only get auto-completion for tags. But the first thing I want to filter by is always the value of the "Project" property. I set up ...
1
vote
1
answer
268
views
Getting rid of multiple :PROPERTIES: drawers in org-mode
Due to a encoding snafu on my part in which I inadvertently added line returns to each line in an org-mode buffer and for which emacs org-id added a :PROPERTIES: drawer right after each headline when ...
1
vote
2
answers
82
views
How to access node property in my own export process
Given an org document, I'd like to traverse all headlines of the
given level and extract the headline title, provided that:
Headline title can be generated by inline source blocks that use node ...
0
votes
0
answers
83
views
How to force inheritance of the properties included from external file in OrgMode
Problem - introduction
Let's say we've got the following org file
* Headline 1 with name taken from properties - src_elisp{(org-entry-get nil "Name")}
:PROPERTIES:
:Name: J.S. Bach
:END:
**...
1
vote
1
answer
113
views
In org-mode, how to reference the value of a property in another property?
For example, when exporting, the #+title property is taken as the title of the document, which will show as the heading in, for example, a latex pdf. Ideally I would like the #+title value to also be ...
0
votes
1
answer
163
views
How to Create a Sparse Tree Based on Two or More Properties
I have multiple headlines with two Properties A and B, storing the numerical values 0, 1, 2, 3, e.g.:
* Headline
:PROPERTIES:
:A: 2
:B: 3
:END:
I want to create a sparse tree based on the values ...
0
votes
1
answer
54
views
Copy the value of a property in the properties drawer
I want to copy the value of a property in the properties drawer to the kill ring, so I can paste (yank) it with org-yank (for example). Something similar to what kill-ring-save does.
Currently, I have ...
1
vote
2
answers
138
views
Elisp programming: Jump to heading with a specific `Custom_ID` property value
Within the same org buffer, how to jump to heading with a specific Custom_ID property value?
Edit:
I need an Elisp function that takes a string argument and jumps to the heading with a Custom_Id ...