|
@@ -4916,6 +4916,19 @@ Paragraph<point>"
|
|
(equal '("A" "B" "COLUMNS")
|
|
(equal '("A" "B" "COLUMNS")
|
|
(org-test-with-temp-text
|
|
(org-test-with-temp-text
|
|
"* H\n:PROPERTIES:\n:COLUMNS: %25ITEM %A %20B\n:END:"
|
|
"* H\n:PROPERTIES:\n:COLUMNS: %25ITEM %A %20B\n:END:"
|
|
|
|
+ (org-buffer-property-keys nil nil t))))
|
|
|
|
+ ;; In COLUMNS, ignore label title and summary-type.
|
|
|
|
+ (should
|
|
|
|
+ (equal '("A")
|
|
|
|
+ (org-test-with-temp-text "#+COLUMNS: %A(Foo)"
|
|
|
|
+ (org-buffer-property-keys nil nil t))))
|
|
|
|
+ (should
|
|
|
|
+ (equal '("A")
|
|
|
|
+ (org-test-with-temp-text "#+COLUMNS: %A{Foo}"
|
|
|
|
+ (org-buffer-property-keys nil nil t))))
|
|
|
|
+ (should
|
|
|
|
+ (equal '("A")
|
|
|
|
+ (org-test-with-temp-text "#+COLUMNS: %A(Foo){Bar}"
|
|
(org-buffer-property-keys nil nil t)))))
|
|
(org-buffer-property-keys nil nil t)))))
|
|
|
|
|
|
(ert-deftest test-org/property-values ()
|
|
(ert-deftest test-org/property-values ()
|