From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: Insert time in Org-mode Date: Wed, 26 Jun 2019 21:04:27 +0200 Message-ID: <20190626190427.GS24867@volibear> References: <00e1adf1-aa75-4c82-9b6a-ed6592f105a6@gmx.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51764) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgDE1-0001SR-MA for emacs-orgmode@gnu.org; Wed, 26 Jun 2019 15:04:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hgDE0-0002dz-JP for emacs-orgmode@gnu.org; Wed, 26 Jun 2019 15:04:57 -0400 Received: from se02-out.route25.eu ([2a00:f10:121:a00:4f8:84ff:fe00:a846]:45065) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hgDE0-0002ZB-DV for emacs-orgmode@gnu.org; Wed, 26 Jun 2019 15:04:56 -0400 Content-Disposition: inline In-Reply-To: <00e1adf1-aa75-4c82-9b6a-ed6592f105a6@gmx.fr> 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" To: emacs-orgmode@gnu.org On Tue, Jun 25, 2019 at 06:41:15PM +0200, gmx wrote: > Hello, > > How to insert the current time? I have a table in which I want to > indicate the beginning of an oral exam (firt column), the end (second > column), and (third column) make the difference between the two (I can > do that). I use this: ;; Insert immediate timestamp (bind-key "" '(lambda () (interactive) (when (eq major-mode 'org-mode) (org-insert-time-stamp nil t t) (insert "\n")))) I press f9 all the time while note taking to timestamp my activities. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3