Timeline for How to insert inactive [timestamp] via function?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 10, 2021 at 14:27 | comment | added | user2567544 | Can this solution be modified to insert the date part only, and not the time? | |
Mar 26, 2020 at 9:46 | comment | added | xji |
One interesting thing I noticed is that org-time-stamp requires an argument to be called since it's (defun org-time-stamp (arg &optional inactive) ...) . I wonder what argument is actually passed in when you press C-c . . I was not able to simulate that programatically.
|
|
Feb 15, 2019 at 23:37 | comment | added | karlicoss |
@mmorin if you look at org-time-stamp code (use M-x find-function), it's inserting by itself, so you don't need extra insert . Alternatively, you can use insert with a combination of format-time-string and org-time-stamp-format .
|
|
Oct 15, 2018 at 15:42 | comment | added | emonigma |
This command (insert (org-time-stamp '(16) t)) inserts two timestamps next to each other. Do you know why?
|
|
May 5, 2015 at 14:10 | history | edited | Kaushal Modi | CC BY-SA 3.0 |
added 398 characters in body
|
May 5, 2015 at 14:01 | comment | added | Leo Ufimtsev | Bonus points for explaining the 4/16/64 notion of prefix args ^_^. Thank you. | |
May 5, 2015 at 14:00 | vote | accept | Leo Ufimtsev | ||
May 4, 2015 at 21:38 | history | answered | Kaushal Modi | CC BY-SA 3.0 |