emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
Cc: Emacs orgmode <emacs-orgmode@gnu.org>, Johan Sandblom <js@ndblom.se>
Subject: Re: org-date-toggle-inactive
Date: Tue, 25 Sep 2012 23:44:22 +0200	[thread overview]
Message-ID: <87fw65g4ll.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAEWDx5c-LmpVCgnR-fNK1=QZk6XNuvrQ7iN=dyzJsgGiT=Eicg@mail.gmail.com> (Jonathan Leech-Pepin's message of "Tue, 25 Sep 2012 14:26:28 -0400")

Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> 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-<up/down> on the angle/bracket of the time-stamp.

-- 
 Bastien

  reply	other threads:[~2012-09-25 21:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-25 18:09 org-date-toggle-inactive Johan Sandblom
2012-09-25 18:26 ` org-date-toggle-inactive Jonathan Leech-Pepin
2012-09-25 21:44   ` Bastien [this message]
2012-09-26  6:33     ` org-date-toggle-inactive Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fw65g4ll.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jonathan.leechpepin@gmail.com \
    --cc=js@ndblom.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).