emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dave Abrahams <dave@boostpro.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to say "I did that yesterday?"
Date: Tue, 22 Nov 2011 21:02:48 -0800	[thread overview]
Message-ID: <m24nxvmnwn.fsf@pluto.luannocracy.com> (raw)
In-Reply-To: 87r50zyfeh.wl%egh@e6h.org


on Tue Nov 22 2011, Erik Hetzner <egh-AT-e6h.org> wrote:

> At Tue, 22 Nov 2011 11:40:35 -0800,
> Dave Abrahams wrote:
>> 
>
>> 
>> I often discover that I completed something a few days ago and I would
>> like to mark it done with the appropriate date as though I had marked it
>> done in the past.  That means, e.g., for a repeating event it might
>> repeat sooner than if it had been done today.  Is there a way?
>
> M-x org-todo-yesterday ?

Heh, that doesn't seem to work from the agenda, though :(

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "Before first headline at position 1142 in buffer *Org Agenda*")
  signal(error ("Before first headline at position 1142 in buffer *Org Agenda*"))
  error("Before first headline at position %d in buffer %s" 1142 #<buffer *Org Agenda*>)
  (condition-case nil (outline-back-to-heading invisible-ok) (error (error "Before first headline at position %d in buffer %s" ... ...)))
  org-back-to-heading(t)
  (catch (quote exit) (org-back-to-heading t) (if (looking-at org-outline-regexp) (goto-char ...)) (or (looking-at ...) (looking-at "\\(?: *\\|[ 	]*$\\)")) (let* (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... dolog now-done-p) (when org-blocker-hook ... ...) (store-match-data match-data) (replace-match next t t) (unless ... ...) (unless head ...) (when ... ...) (setq org-last-todo-state-is-todo ...) (setq now-done-p ...) (and logging ...) (when ... ... ... ... ... ...) (org-todo-trigger-tag-changes state) (and org-auto-align-tags ... ...) (when org-provide-todo-statistics ...) (run-hooks ...) (if ... ...) (put-text-property ... ... ... head) (when now-done-p ... ...) (if ... ...) (when org-trigger-hook ...)))
  (save-excursion (catch (quote exit) (org-back-to-heading t) (if ... ...) (or ... ...) (let* ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...)))
  (let ((org-blocker-hook org-blocker-hook) (case-fold-search nil)) (when (equal arg ...) (setq arg nil org-blocker-hook nil)) (when (and org-blocker-hook ...) (setq org-blocker-hook nil)) (save-excursion (catch ... ... ... ... ...)))
  org-todo((4))
  (let* ((hour ...) (org-extend-today-until ...)) (org-todo arg))
  org-todo-yesterday((4))
  call-interactively(org-todo-yesterday t nil)
  execute-extended-command((4))
  call-interactively(execute-extended-command nil nil)
--8<---------------cut here---------------end--------------->8---

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

  parent reply	other threads:[~2011-11-23  5:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22 19:40 How to say "I did that yesterday?" Dave Abrahams
2011-11-22 20:03 ` Peter Münster
2011-11-22 20:16 ` Greg Troxel
2011-11-22 20:27 ` Michael Brand
2011-11-22 22:48   ` Dave Abrahams
2011-11-22 22:13 ` Erik Hetzner
2011-11-23  0:01   ` Dave Abrahams
2011-11-23  5:02   ` Dave Abrahams [this message]
2011-11-23  7:28     ` Tom Prince

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=m24nxvmnwn.fsf@pluto.luannocracy.com \
    --to=dave@boostpro.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 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).