emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Gilbert <mcg@gilbert.org>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: indent fixup error on refile (more details)
Date: Thu, 1 Sep 2011 15:33:18 -0700	[thread overview]
Message-ID: <650A1FC2-FD6F-4126-95B7-ACCB48B4736A@gilbert.org> (raw)

Hi —

This is a resend of an earlier message, with more detail from the debugger below.

I'm afraid I don't know exactly where this error was introduced (I do nightly updates) and I have been on travels and haven't been monitoring the list closely. So I apologize in advance is this is a lousy error message. But I wanted to put it out there in case it was already something that had someone's attention....

When I refile from the agenda, I will frequently get this error:

	org-fixup-indentation: Invalid search bound (wrong side of point)

The item is copied to the new location (as the new topmost item in the location), but the indentation, as you might expect, is incorrect. Also as you might expect, the  item is not deleted from its original location. Bulk refiles stop after just messing up the first one, of course.

Anyone else experiencing this? Has it been discussed and I just didn't managed to search for it properly?

Debugger results:

Debugger entered--Lisp error: (error "Invalid search bound (wrong side of point)")
  re-search-forward("\\(\\(?:CLO\\(?:CK\\|SED\\)\\|DEADLINE\\|SCHEDULED\\)\\|^[ 	]*[[<]\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [^]
\n>]*?\\)[]>]\\(--?-?[[<]\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [^]
\n>]*?\\)[]>]\\)?*$\\|^[ 	]*:[a-zA-Z][a-zA-Z0-9_]*:.*$\\)" 223 t)
  org-fixup-indentation(-1)
  org-promote()
  org-map-region(org-promote 85 228)
  org-paste-subtree(3)
  org-refile(nil #<buffer Notes.org> (#("Family & Friends (FamilyFriends.org)" 0 16 (org-category-position 1 org-category #("MyPeople" 0 8 ...) fontified nil)) "/Users/mcg/OrgMode/Projects/MCGprojects/FamilyFriends.org" "^\\(\\*+\\)[ 	]+\\(?:\\(TODO\\|STARTED\\|DONE\\|WAITING\\|CANCELLED\\)[ 	]+\\)?\\(?:\\(\\[#.\\]\\)[ 	]+\\)?\\(?:\\(?:\\[[0-9%/]+\\]\\)[ 	]+\\)?\\(Family & Friends\\)[ 	]*\\(?:\\[[0-9%/]+\\]\\)?\\(?:[ 	]+\\(:[[:alnum:]_@#%:]+:\\)\\)?[ 	]*$" #<marker at 1 in FamilyFriends.org>))
  org-agenda-refile(nil nil t)
  (lambda nil (interactive) (org-agenda-refile nil nil t))()
  call-interactively((lambda nil (interactive) (org-agenda-refile nil nil t)) nil nil)



— Michael

http://nonprofitnews.org
http://gilbert.org

             reply	other threads:[~2011-09-01 22:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-01 22:33 Michael Gilbert [this message]
2011-09-02  0:20 ` indent fixup error on refile (more details) Michael C Gilbert

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=650A1FC2-FD6F-4126-95B7-ACCB48B4736A@gilbert.org \
    --to=mcg@gilbert.org \
    --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).