From: Ido Magal <ido@idomagal.com>
To: David Maus <dmaus@ictsoc.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: archive-done-tasks
Date: Mon, 24 Jan 2011 20:32:02 -0800 [thread overview]
Message-ID: <AANLkTimwW0n33ZfzUEA0JDdzQox_h0GReSox+YAAYLJ6@mail.gmail.com> (raw)
In-Reply-To: <87y66bhhxo.wl%dmaus@ictsoc.de>
[-- Attachment #1.1: Type: text/plain, Size: 1881 bytes --]
This is the result:
Debugger entered--Lisp error: (quit)
re-search-forward("- State \"\\(\\(?:done\\)\\)\"\\s-*\\[\\([^]\n]+\\)\\]"
605 t)
(if (re-search-forward state-regexp end t) (progn (let* ... ...)))
(when (re-search-forward state-regexp end t) (let* (... ...) (if ...
...)))
(let ((end ...) begin) (goto-char (line-beginning-position)) (setq begin
(point)) (when (re-search-forward state-regexp end t) (let* ... ...)))
(while (re-search-forward done-regexp nil t) (let (... begin) (goto-char
...) (setq begin ...) (when ... ...)))
(let ((done-regexp ...) (state-regexp ...)) (while (re-search-forward
done-regexp nil t) (let ... ... ... ...)))
(save-excursion (goto-char (point-min)) (let (... ...) (while ... ...)))
archive-done-tasks()
call-interactively(archive-done-tasks t nil)
execute-extended-command(nil)
call-interactively(execute-extended-command nil nil)
On Sun, Jan 23, 2011 at 05:24, David Maus <dmaus@ictsoc.de> wrote:
> At Sun, 9 Jan 2011 20:11:18 -0800,
> Ido Magal wrote:
> >
> > Hi everyone,
> >
> > I'm new to org-mode and I'm trying to incorporate this bit of code
> > into my setup:
> >
> > archive-done-tasks
> >
> > However when I run it it seems to hang emacs (osx)
> > terminally. Since emacs, org-mode, and lisp are all alien to me,
> > there's no shortage of places where I could be failing so I'll spare
> > details of my setup until it's confirmed that that code should still
> > work ( it's from 2007 and I don't see that it's been integrated into
> > org-mode proper ).
>
> Can you stop Emacs hanging by pressing C-g ?
>
> If so, you might turn on debugging for C-g (M-x toggle-debug-on-quit
> RET), hit the loop and press C-g. The backtrace might give a clue why
> and where Emacs is hanging.
>
> HTH,
> -- David
>
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber.... dmjena@jabber.org
> Email..... dmaus@ictsoc.de
>
[-- Attachment #1.2: Type: text/html, Size: 2684 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2011-01-25 4:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-10 4:11 archive-done-tasks Ido Magal
2011-01-23 13:24 ` archive-done-tasks David Maus
2011-01-25 4:32 ` Ido Magal [this message]
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=AANLkTimwW0n33ZfzUEA0JDdzQox_h0GReSox+YAAYLJ6@mail.gmail.com \
--to=ido@idomagal.com \
--cc=dmaus@ictsoc.de \
--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).