From: Carsten Dominik <dominik@science.uva.nl>
To: Philip Rooke <philip.rooke@cms-cmck.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: remember problem in 4.33?
Date: Wed, 24 May 2006 11:49:49 +0200 [thread overview]
Message-ID: <a193679a53a8edbf1d78614531a73a52@science.uva.nl> (raw)
In-Reply-To: <loom.20060524T103500-160@post.gmane.org>
Looks like you have been running remember early in an Emacs session,
without killing anything yet.
Maybe the following patch does fix this problem?
- Carsten
--- org.el.orig Wed May 24 11:39:48 2006
+++ org.el Wed May 24 11:46:42 2006
@@ -3797,7 +3797,8 @@
(goto-char (point-min))
(message "Pasted at level %d, with shift by %d levels"
new-level shift1)))
- (if (and (eq org-subtree-clip (current-kill 0))
+ (if (and kill-ring
+ (eq org-subtree-clip (current-kill 0))
org-subtree-clip-folded)
;; The tree was folded before it was killed/copied
(hide-subtree))))
On May 24, 2006, at 10:49, Philip Rooke wrote:
> Carsten,
>
> I was going to report a GC/lock-up issue in 4.32 which happened when
> saving a
> template based remember item. That is, at the end of:
>
> M-x remember [edit a level 1 item] C-c C-c <ret><ret>
>
> ...but you all are far too quick for me!
>
> I've just upgraded to 4.33. I do not seem to get the GC "loop" but
> now the
> temporary remember buffer is not killed. Run under debug-on-error I
> get:
>
> Debugger entered--Lisp error: (error "Kill ring is empty")
> signal(error ("Kill ring is empty"))
> error("Kill ring is empty")
> current-kill(0)
> (eq org-subtree-clip (current-kill 0))
> (and (eq org-subtree-clip (current-kill 0)) org-subtree-clip-folded)
> (if (and (eq org-subtree-clip ...) org-subtree-clip-folded)
> (hide-subtree))
> [snip some very long lines]
> org-remember-handler()
> run-hook-with-args-until-success(org-remember-handler)
> remember-region(1 52)
> remember-buffer()
> funcall(remember-buffer)
> [snip]
> org-ctrl-c-ctrl-c(nil)
> call-interactively(org-ctrl-c-ctrl-c)
>
> Phil
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477
next prev parent reply other threads:[~2006-05-24 9:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-24 8:49 remember problem in 4.33? Philip Rooke
2006-05-24 9:49 ` Carsten Dominik [this message]
2006-05-24 10:15 ` Philip Rooke
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=a193679a53a8edbf1d78614531a73a52@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=philip.rooke@cms-cmck.com \
/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.