From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Subject: Re: Newbie question Date: Fri, 8 Feb 2013 10:50:00 -0500 Message-ID: <20130208155000.GC26574@ken-HP-Mini-110-1000> References: <20130208125016.GA24558@ken-HP-Mini-110-1000> <5114FA67.40007@hafro.is> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3qDG-0002VM-1a for emacs-orgmode@gnu.org; Fri, 08 Feb 2013 10:50:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3qDD-0000oV-2m for emacs-orgmode@gnu.org; Fri, 08 Feb 2013 10:50:05 -0500 Received: from mail-vc0-f172.google.com ([209.85.220.172]:42485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3qDC-0000kX-VN for emacs-orgmode@gnu.org; Fri, 08 Feb 2013 10:50:03 -0500 Received: by mail-vc0-f172.google.com with SMTP id l6so2503190vcl.3 for ; Fri, 08 Feb 2013 07:50:01 -0800 (PST) Content-Disposition: inline In-Reply-To: <5114FA67.40007@hafro.is> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Julian Burgos Cc: emacs-orgmode@gnu.org On Fri, Feb 08, 2013 at 01:15:19PM +0000, Julian Burgos wrote: > Hi Ken, > > If you do you will get an active timestamp with date > and time. will give you an inactive timestamp with date > and time. > I also have this code in my .emacs file, so whenever I create a > headline I get an inactive timestamp automatically. It should be > easy to change to get an active timestamp if you want. > > ;------------------------------------------------------------------------------ > ;Creating new headlines insert inactive timestamps automatically > > (defun bh/insert-inactive-timestamp () > (interactive) > (org-insert-time-stamp nil t t nil nil nil)) > > (defun bh/insert-heading-inactive-timestamp () > (save-excursion > (org-return) > (org-cycle) > (bh/insert-inactive-timestamp))) > > (add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp) > ;------------------------------------------------------------------------- > > Enjoy! Thanks, Julian. I much appreciate this. Ken > > -- > Julian Mariano Burgos, PhD > Hafrannsóknastofnunin/Marine Research Institute > Skúlagata 4, 121 Reykjavík, Iceland > Sími/Telephone : +354-5752037 > Bréfsími/Telefax: +354-5752001 > Netfang/Email: julian@hafro.is > > > > On 02/08/2013 12:50 PM, Ken wrote: > >Hello all, > > > >I am a relative newbie to org-mode. Right now I use it for todo lists, I > >use it in conjunction with the diary, and I use it for > >journaling/note-taking. I am sure I am only using it fo a quarter or > >less of what it can be used for. Anyway, my question is rather simple. > > will allow you to insert a date. However, in my journal I use a > >full timestamp. Is there any way using a defined set of keys to insert a > >current TIMESTAMP on an entry (say as in a journal entry)? > > > >Thank you > >Ken > > > > > > -- Work consists of whatever a body is obliged to do. Play consists of whatever a body is not obliged to do. -- Mark Twain