From: Carsten Dominik <dominik@science.uva.nl>
To: Ulf Stegemann <ulf-news@zeitform.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug in `org-get-outline-path'
Date: Wed, 17 Dec 2008 11:54:30 +0100 [thread overview]
Message-ID: <2A4BE8D0-6834-433E-B8CC-3566D49CD23C@uva.nl> (raw)
In-Reply-To: <zf.upnzlivcfji.fsf@zeitform.de>
Fixed, thanks.
- Carsten
On Dec 17, 2008, at 10:33 AM, Ulf Stegemann wrote:
> Hi,
>
> I've encountered a problem with `org-get-outline-path' (as of today)
> which fails if the (optional) argument `level' is nil. The error
> occured
> when calling `org-archive-subtree'. The following fixes it for me.
>
> --- org.el.orig 2008-12-17 09:55:44.000000000 +0100
> +++ org.el 2008-12-17 10:23:38.000000000 +0100
> @@ -7542,7 +7542,7 @@
>
> (defun org-get-outline-path (&optional fastp level heading)
> "Return the outline path to the current entry, as a list."
> - (if (> level 19) (error "Outline path failure, more than 19
> levels."))
> + (if (and level (> level 19)) (error "Outline path failure, more
> than 19 levels."))
> (if fastp
> (progn
> (loop for i from level upto 19 do
>
> Ulf
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2008-12-17 10:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-17 9:33 Bug in `org-get-outline-path' Ulf Stegemann
2008-12-17 10:54 ` 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=2A4BE8D0-6834-433E-B8CC-3566D49CD23C@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=ulf-news@zeitform.de \
/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).