Re: [Orgmode] [OT] lisp func to write timestamp to buffer

2009-10-29 Thread Nick Dokos
Russell Adams wrote: > The function I posted does the same as C-u C-c ! , just with a > single key press. > Yes - and it also avoids the distraction of popping up the calendar. Thanks, Nick ___ Emacs-orgmode mailing list Remember: use `Reply All'

Re: [Orgmode] [OT] lisp func to write timestamp to buffer

2009-10-29 Thread Russell Adams
On Thu, Oct 29, 2009 at 10:44:39PM -0400, Nick Dokos wrote: > Marcelo de Moraes Serpa wrote: > Assuming you are in an org buffer > > C-u C-c ! > > will insert an inactive time stamp (including the current time - that's the > prefix argument): > > [2009-10-29 Thu 22:34] > > Similarly >

Re: [Orgmode] [OT] lisp func to write timestamp to buffer

2009-10-29 Thread Nick Dokos
Marcelo de Moraes Serpa wrote: > Hello list, > > Org uses a timestamp format like the following across all its functionality: > > [2009-10-29 Thu 17:14] > > I would like to be able to ouput this string whenever I'd like to a buffer, > with the current timestamp, this is useful for example to

Re: [Orgmode] [OT] lisp func to write timestamp to buffer

2009-10-29 Thread Russell Adams
Sorry, should CC the list: ;; Insert immediate timestamp (define-key global-map (kbd "") '(lambda () (interactive) (when (eq major-mode 'org-mode) (org-insert-time-stamp nil t t) (insert "\n" On Thu, Oct 29, 2009 at 05:29:06PM -0600, Marcelo de Moraes Serpa w