We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't use this package very much but I suggest showing the item and value on the same line. org makes this possible using the built-in org-columns.
I have made a modification that achieves this. The following code:
(defun sysctl-construct-tree (lines-list) "Turn LINES-LIST into an org hierarchy." ;; org-columns formatting (insert "* sysctl\n") (insert ":PROPERTIES:\n" ":COLUMNS: %40ITEM(Item) %80VALUE(Value)" "\n" ":END:\n" "#+STARTUP: content\n") (let (path) (dolist (line lines-list) (let ((line-path (car line)) (line-value (cdr line)) (depth 1)) (while line-path (unless (string= (nth (- depth 1) path) (car line-path)) (insert (concat (make-string (+ 1 depth) ?*) " " (car line-path) "\n")) (sysctl--readonly-previous-line)) (setq line-path (cdr line-path) depth (1+ depth))) (setq path (car line)) (insert (concat ":PROPERTIES:\n" ;; shown as org-property for org-column ":VALUE: " line-value "\n" ":END:\n"))))) (goto-line 0))
How to use it:
Pros:
Cons:
Tested on:
References: https://orgmode.org/manual/Column-view.html https://orgmode.org/worg/org-tutorials/org-column-view-tutorial.html
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I don't use this package very much but I suggest showing the item and value on the same line. org makes this possible using the built-in org-columns.
I have made a modification that achieves this. The following code:
How to use it:
Pros:
Cons:
Tested on:
References:
https://orgmode.org/manual/Column-view.html
https://orgmode.org/worg/org-tutorials/org-column-view-tutorial.html
The text was updated successfully, but these errors were encountered: