emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: David Maus <dmaus@ictsoc.de>
Cc: emacs-orgmode@gnu.org, Thierry Volpiatto <thierry.volpiatto@gmail.com>
Subject: Re: [BUG] org remember broken
Date: Sun, 18 Jul 2010 11:52:51 +0200	[thread overview]
Message-ID: <B0758BA6-069E-48FE-8BF9-2C2258F6192A@gmail.com> (raw)
In-Reply-To: <8739vjbg92.wl%dmaus@ictsoc.de>

Applied, thanks.

- Carsten

On Jul 16, 2010, at 5:25 PM, David Maus wrote:

> 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  
> #<buffer projects.org>)
> |   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
> <0001-Don-t-throw-error-when-not-inside-a-subtree.patch>

- Carsten

      parent reply	other threads:[~2010-07-18  9:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-10  6:36 [BUG] org remember broken Thierry Volpiatto
2010-07-14 20:35 ` Carsten Dominik
2010-07-15  4:59   ` Thierry Volpiatto
2010-07-16 15:25   ` David Maus
2010-07-18  5:22     ` Patchwork: Patch 139 Accepted Carsten Dominik
2010-07-18  9:52     ` Carsten Dominik [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=B0758BA6-069E-48FE-8BF9-2C2258F6192A@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=dmaus@ictsoc.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=thierry.volpiatto@gmail.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 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).