* archive-done-tasks
@ 2011-01-10 4:11 Ido Magal
2011-01-23 13:24 ` archive-done-tasks David Maus
0 siblings, 1 reply; 3+ messages in thread
From: Ido Magal @ 2011-01-10 4:11 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 545 bytes --]
Hi everyone,
I'm new to org-mode and I'm trying to incorporate this bit of code into my
setup:
archive-done-tasks<http://www.mail-archive.com/emacs-orgmode@gnu.org/msg02939.html>
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 ).
Thanks in advance.
[-- Attachment #1.2: Type: text/html, Size: 717 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: archive-done-tasks
2011-01-10 4:11 archive-done-tasks Ido Magal
@ 2011-01-23 13:24 ` David Maus
2011-01-25 4:32 ` archive-done-tasks Ido Magal
0 siblings, 1 reply; 3+ messages in thread
From: David Maus @ 2011-01-23 13:24 UTC (permalink / raw)
To: Ido Magal; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 895 bytes --]
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: application/pgp-signature, Size: 230 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: archive-done-tasks
2011-01-23 13:24 ` archive-done-tasks David Maus
@ 2011-01-25 4:32 ` Ido Magal
0 siblings, 0 replies; 3+ messages in thread
From: Ido Magal @ 2011-01-25 4:32 UTC (permalink / raw)
To: David Maus; +Cc: emacs-orgmode
[-- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-25 4:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` archive-done-tasks Ido Magal
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.