From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: still seeing semi-regular lockups Date: Fri, 27 Jun 2014 15:37:55 +0200 Message-ID: References: <87siocrbyb.fsf@ericabrahamsen.net> <87siobtn1i.fsf@bzg.ath.cx> <87ha4r1j91.fsf@tanger.home> <87k39hdf2o.fsf@tanger.home> <87ppj86elt.fsf@ericabrahamsen.net> <874n0kde2y.fsf@tanger.home> <87bnus4s5n.fsf@ericabrahamsen.net> <87egye7kx3.fsf@nicolasgoaziou.fr> <87a992mleu.fsf@ericabrahamsen.net> <87mwd1hbpx.fsf@fastmail.fm> <877g45jv61.fsf@tanger.home> <87zjh0qsw5.fsf@fastmail.fm> <87vbrmwlxs.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0WM0-000572-BK for emacs-orgmode@gnu.org; Fri, 27 Jun 2014 09:38:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0WLr-0002ML-UX for emacs-orgmode@gnu.org; Fri, 27 Jun 2014 09:38:12 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:43217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0WLr-0002L9-Ox for emacs-orgmode@gnu.org; Fri, 27 Jun 2014 09:38:03 -0400 In-Reply-To: <87vbrmwlxs.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 27 Jun 2014 14:56:15 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Lundin Cc: Daimrod , emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've also just been bitten by this bug, as I was doing my weekly review. I'll try to see if I can write an ECM, but for the record this is what I was doing: I was in an agenda view sorted by the value of a LAST_REVIEW property, and I was repeatedly calling this function on the entries of the view: #+begin_src emacs-lisp (defun org-review-insert-last-review (&optional prompt) "Insert the current date as last review. If prefix argument: prompt the user for the date. If `org-review-sets-next-date' is set to `t', also insert a next review date." (interactive "P") (let ((ts (if prompt (concat "<" (org-read-date) ">") (format-time-string (car org-time-stamp-formats))))) (org-review-insert-date org-review-last-property-name org-review-last-timestamp-format ts) (when org-review-sets-next-date (org-review-insert-date org-review-next-property-name org-review-next-timestamp-format (format-time-string (car org-time-stamp-formats) (org-review-last-planned=20 ts (or (org-review-review-delay-prop (if (equal (buffer-name) org-agenda-buffer-name) (or (org-get-at-bol 'org-marker) (org-agenda-error)) (point))) org-review-delay))))))) #+end_src the `org-review-insert-date` is defined as follows #+begin_src emacs-lisp (defun org-review-insert-date (propname fmt date) "Insert the DATE under property PROPNAME, in the format specified by FMT." (org-entry-put (if (equal (buffer-name) org-agenda-buffer-name) (or (org-get-at-bol 'org-marker) (org-agenda-error)) (point)) propname (cond ((eq fmt 'inactive) (concat "[" (substring date 1 -1) "]")) ((eq fmt 'active) date) (t (substring date 1 -1))))) #+end_src I could get out of the loop using "ctrl-G" but any further interaction with the todo buffer (expanding the task to see its properties, or changing the todo state) would result in further lockup. Restarting emacs let me do a few more entries (about a dozen) before it locked up again. Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJTrXO5AAoJEAQNCjtO0uXH7hkH/0rEVrOzvSjIE0kxqU0iKjZI tdJFcqFk6Qo6sBjjah6H33+nwr2FehzD3eRt3tqVrg3jKNrpvcJKcLlS1zHr8gJR 3T4xQwSj9OK7fu4HYbDXkvlwUPor8Bd4erlo1TryuUPg7GrddIOpgjyzKRL4NYtN 0wdFUGeDKBBJkRWrtR9IpmCy6mVoQzikJJFllMvTmMbx6qjpM1qz7Dhq5HYJVbR3 7UK4XW4U7WIIwcZQdyKUL20eN+WyPi8/bmn04Z6bze3YLIWyqUBOL1tkeHky2quO 6yIcyULNT1jKCwtaeNc4VupF1viGs5E7w2YDZK4Hmj5zdHTMI3R6pHUjQ/Y6U/0= =IrYg -----END PGP SIGNATURE----- --=-=-=--