From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: [BUG] org remember broken Date: Fri, 16 Jul 2010 17:25:45 +0200 Message-ID: <8739vjbg92.wl%dmaus@ictsoc.de> References: <87zkxzdess.fsf@tux.homenetwork> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1252452884==" Return-path: Received: from [140.186.70.92] (port=47273 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZmo9-0006SD-9T for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 11:26:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZmo1-0003XM-GZ for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 11:26:33 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:52707) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZmo1-0003X6-50 for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 11:26:29 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org, Thierry Volpiatto --===============1252452884== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Fri_Jul_16_17:25:45_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Fri_Jul_16_17:25:45_2010-1 Content-Type: multipart/mixed; boundary="Multipart_Fri_Jul_16_17:25:45_2010-1" --Multipart_Fri_Jul_16_17:25:45_2010-1 Content-Type: text/plain; charset=US-ASCII Carsten Dominik wrote: >Hi Thierry, >I cannot easily see why org-decrypt-entry is being called, and if it >is being called in >the remember buffer or where? >Anyway, most of us are moving to org-capture, so I would be more >inclined to look into this if this is still an issue in >org-capture.... Looks like this is not a problem of org-remember. After archiving DONE items (C-u C-c C-x C-s) I get a similar error: ,---- | Debugger entered--Lisp error: (error "Before first headline at position 1 in buffer projects.org") | signal(error ("Before first headline at position 1 in buffer projects.org")) | error("Before first headline at position %d in buffer %s" 1 #) | byte-code("\300\301`p#\207" [error "Before first headline at position %d in buffer %s"] 4) | org-back-to-heading(t) | org-decrypt-entry() | run-hooks(org-reveal-start-hook) | org-reveal() | org-advertized-archive-subtree((4)) | call-interactively(org-advertized-archive-subtree nil nil) `---- Attached patch fixes this by modifying `org-decrypt-entry' to silently do nothing if point is before first heading. HTH -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --Multipart_Fri_Jul_16_17:25:45_2010-1 Content-Type: text/plain; type=patch; charset=US-ASCII Content-Disposition: attachment; filename="0001-Don-t-throw-error-when-not-inside-a-subtree.patch" Content-Transfer-Encoding: base64 RnJvbSBhYWIzMzAwNTE3ZTNmM2JkNmEyODA3NzEzYmZjOTY0YmI3YzNkOGM1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYXZpZCBNYXVzIDxkbWF1c0BpY3Rzb2MuZGU+CkRhdGU6IEZy aSwgMTYgSnVsIDIwMTAgMTc6MjM6MzEgKzAyMDAKU3ViamVjdDogW1BBVENIXSBEb24ndCB0aHJv dyBlcnJvciB3aGVuIG5vdCBpbnNpZGUgYSBzdWJ0cmVlCgoqIG9yZy1jcnlwdC5lbCAob3JnLWRl Y3J5cHQtZW50cnkpOiBEb24ndCB0aHJvdyBlcnJvciB3aGVuIG5vdCBpbnNpZGUKYSBzdWJ0cmVl LgotLS0KIGxpc3Avb3JnLWNyeXB0LmVsIHwgICAzOSArKysrKysrKysrKysrKysrKysrKy0tLS0t LS0tLS0tLS0tLS0tLS0KIDEgZmlsZXMgY2hhbmdlZCwgMjAgaW5zZXJ0aW9ucygrKSwgMTkgZGVs ZXR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p-sign-Multipart_Fri_Jul_16_17:25:45_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkxAefkACgkQma24O1pEeOYYjAD/UBE9q/OAKhjSJGVUnJaoHhOt XsLE8lchvaL+/vaO6XwA/1OH5M0b21nz7jfmOZgBK/47gLD21KUTqacaxEvrRiwN =O++q -----END PGP SIGNATURE----- --pgp-sign-Multipart_Fri_Jul_16_17:25:45_2010-1-- --===============1252452884== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1252452884==--