Thanks for the great suggestions (Nick, Nick, and Eric)!
Here are the two functions that finally do what I wanted. I added the
second function to get a specific result.
#+RANDOM: tfjkdsla jfkdsa
#+BEGIN_SRC emacs-lisp :results value
; suggested by Nicolas Goaziou
(defun jk-org-kwds ()
(org-el
Hello,
Nick Dokos writes:
> Here's one way:
>
> (defun jk-org-kwds ()
> (let* ((parse-tree (org-element-parse-buffer))
>(keys (org-element-map parse-tree 'keyword (function identity
> (mapcar (function (lambda (x) (cons (org-element-property :key x)
>
John Kitchin writes:
> Hi everyone,
>
> if I have an org-file with this in it:
>
> #+EMAIL: jkitc...@cmu.edu
>
> is there an org lisp command to get the email address after I have
> opened the file? I am looping through many files to generate a report,
> and would like to do this in emacs-lisp. I
da...@adboyd.com (J. David Boyd) writes:
> John Kitchin writes:
>
>> Hi everyone,
>>
>> if I have an org-file with this in it:
>>
>> #+EMAIL: jkitc...@cmu.edu
>>
>> is there an org lisp command to get the email address after I have
>> opened the file? I am looping through many files to generate a
John Kitchin writes:
> Hi everyone,
>
> if I have an org-file with this in it:
>
> #+EMAIL: jkitc...@cmu.edu
>
> is there an org lisp command to get the email address after I have
> opened the file? I am looping through many files to generate a report,
> and would like to do this in emacs-lisp. I
Hi everyone,
if I have an org-file with this in it:
#+EMAIL: jkitc...@cmu.edu
is there an org lisp command to get the email address after I have opened
the file? I am looping through many files to generate a report, and would
like to do this in emacs-lisp. I had hoped org-entry-get would do it,