From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-date-toggle-inactive Date: Tue, 25 Sep 2012 23:44:22 +0200 Message-ID: <87fw65g4ll.fsf@bzg.ath.cx> References: <8fff6f801a80accbc63d7607c303ed59@ndblom.se> 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]:56357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGcvZ-0005Ig-IJ for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 17:44:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGcvY-0003oF-NP for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 17:44:25 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:54295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGcvY-0003o9-Dz for emacs-orgmode@gnu.org; Tue, 25 Sep 2012 17:44:24 -0400 Received: by wgbdt14 with SMTP id dt14so4690715wgb.30 for ; Tue, 25 Sep 2012 14:44:22 -0700 (PDT) In-Reply-To: (Jonathan Leech-Pepin's message of "Tue, 25 Sep 2012 14:26:28 -0400") 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: Jonathan Leech-Pepin Cc: Emacs orgmode , Johan Sandblom Jonathan Leech-Pepin writes: > You should be able to just use =org-toggle-timestamp-type= > instead of your snippet.  It performs the check and will toggle > back and forth between active and inactive timestamps. > > (add-hook 'org-ctrl-c-ctrl-c-hook >           'org-toggle-timestamp-type) >   Or simply M- on the angle/bracket of the time-stamp. -- Bastien