From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: [OT] lisp func to write timestamp to buffer Date: Thu, 29 Oct 2009 19:47:32 -0500 Message-ID: <20091030004732.GV28398@thinkpad.adamsinfoserv.com> References: <1e5bcefd0910291629w187d54a1w4de9fa3185cc1a11@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3feX-0004QG-3M for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 20:47:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3feU-0004Po-Ma for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 20:47:39 -0400 Received: from [199.232.76.173] (port=36724 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3feU-0004Pl-Gh for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 20:47:38 -0400 Received: from squirtle.drak.net ([72.52.144.201]:54953) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N3feU-00020v-0T for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 20:47:38 -0400 Received: from 206.180.154.148.adsl.hal-pc.org ([206.180.154.148] helo=localhost) by squirtle.drak.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1N3feH-0002rF-Nu for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 19:47:26 -0500 Content-Disposition: inline In-Reply-To: <1e5bcefd0910291629w187d54a1w4de9fa3185cc1a11@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 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 timestamp notes > inside an org file arbitrarily: > > * [2009-10-29 Thu 17:14 > Bla Bla Bla > > How could I do that? I searched for such function with apropos but couldn't > find anything that fits. > > Thanks, > > Marcelo. > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3