emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Copy Drawer Parameter Value


From: Esben Stien
Subject: Re: [O] Copy Drawer Parameter Value
Date: Fri, 23 May 2014 20:54:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Eric Abrahamsen <address@hidden> writes:

> (defun org-property-value-save (&optional prop)
>   (interactive)
>   (let* ((props (org-entry-properties))
>        (prop (or prop
>                  (when (org-at-property-p)
>                    (org-match-string-no-properties 2))
>                  (org-completing-read
>                   "Get property: "
>                   props t)))
>        (val (org-entry-get-with-inheritance prop)))
>     (if val (progn
>             (kill-new val)
>             (message "Saved: %s" val))
>       (message "No valid value for %s" prop))))

Perfect;) Thanks a lot.

-- 
Esben Stien is address@hidden     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n



reply via email to

[Prev in Thread] Current Thread [Next in Thread]