emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* indent fixup error on refile (more details)
@ 2011-09-01 22:33 Michael Gilbert
  2011-09-02  0:20 ` Michael C Gilbert
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Gilbert @ 2011-09-01 22:33 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: indent fixup error on refile (more details)
  2011-09-01 22:33 indent fixup error on refile (more details) Michael Gilbert
@ 2011-09-02  0:20 ` Michael C Gilbert
  0 siblings, 0 replies; 2+ messages in thread
From: Michael C Gilbert @ 2011-09-02  0:20 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist


On Sep 1, 2011, at 3:33 PM, Michael Gilbert wrote:

> 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.

New information:

I am pretty sure this only happens when the item to be refiled has a Properties drawer.

I am guessing the pointer to fix the indentation isn't moving to the correct location somehow....

Anyone who knows more than me about this (which is 90% of you): Any ideas?

— Michael

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-02  0:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-01 22:33 indent fixup error on refile (more details) Michael Gilbert
2011-09-02  0:20 ` Michael C Gilbert

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).