all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: org-insert-timestamp issue
Date: Tue, 24 Jan 2012 19:19:07 -0600	[thread overview]
Message-ID: <CACHMzOHVuJf9yrEnuWzzbuWR7QYNKXv71UA2-KLWrzFe0u4iKA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

Hi guys,

I have bound org-insert-timestamp to C-c C-y, like so:

(global-set-key (kbd "C-c C-y") (lambda() (interactive)
(org-insert-time-stamp nil t nil nil nil nil)))

However, once in an org-mode buffer, when I press C-c C-y, I get the
following in the mini-buffer:

if: Not at a time-stamp range, and none found in current line

What does that mean and how could I fix it so that the current timestamp is
inserted (current datetime)?

Thanks in advance,

-Marcelo.

[-- Attachment #2: Type: text/html, Size: 654 bytes --]

             reply	other threads:[~2012-01-25  1:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-25  1:19 Marcelo de Moraes Serpa [this message]
2012-01-25  1:46 ` org-insert-timestamp issue Nick Dokos
2012-01-25  2:52   ` Marcelo de Moraes Serpa
2012-01-25  3:48     ` Nick Dokos
2012-01-25  6:15     ` Bastien
2012-01-25  8:58       ` Carsten Dominik

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

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

  git send-email \
    --in-reply-to=CACHMzOHVuJf9yrEnuWzzbuWR7QYNKXv71UA2-KLWrzFe0u4iKA@mail.gmail.com \
    --to=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.