emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Holst <thomas.holst@de.bosch.com>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Problems with agenda search and restiction enabled
Date: Mon, 29 Apr 2013 11:34:27 +0200	[thread overview]
Message-ID: <ywodobcxznmk@de.bosch.com> (raw)

Hello,

I want to perform an agenda search with a restriction to a subtree.

- C-c C-x < on the subtree
- org-agenda s <word>

I get the follwing backtrace

Debugger entered--Lisp error: (args-out-of-range 85127 226827)
  narrow-to-region(#<marker at 85127 in EmacsNotes.org> #<marker at 226827 in EmacsNotes.org>)
  (if org-agenda-restrict (narrow-to-region org-agenda-restrict-begin org-agenda-restrict-end) (widen))
  ... rest snipped ...

The values in args out of range are valid for point in the file
EmacsNotes.org.

When I start emacs -Q and minmal setup for org the error does not occur.

I did a little debugging with emacs -Q and found out that the error
occurs when I set the variable =org-agenda-text-search-extra-files= to
some files. Now not all files in this variable trigger the error. My
elisp is limited as are my debugging skills. Can someone direct my how
to proceed further. 

This is on Win7 with emacs 24.2 and 
Org-mode version 8.0.1
(release_8.0.1-4-g148f95 @ c:/daten/users/DE_hts2fe/git/org-mode/lisp/)

Thanks a lot.
-- 
Mit freundlichen Grüßen / Best regards 

Thomas Holst 
DGS-EC/ESE4

Tel.   +49 (711) 811-40681
PC-Fax +49 (711) 811-5182208

             reply	other threads:[~2013-04-29  9:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-29  9:34 Thomas Holst [this message]
2013-04-29 17:04 ` Problems with agenda search and restiction enabled Bastien
2013-04-30  7:02   ` Thomas Holst

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=ywodobcxznmk@de.bosch.com \
    --to=thomas.holst@de.bosch.com \
    --cc=emacs-orgmode@gnu.org \
    /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).