From: "Daniel Clemente" <n142857@gmail.com>
To: Graham Smith <myotisone@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Invalid search bound (wrong side of point) using Remember
Date: Fri, 16 Nov 2007 16:37:43 +0100 [thread overview]
Message-ID: <ae9590aa0711160737u3b93ab1dw41d8197e06bc1666@mail.gmail.com> (raw)
In-Reply-To: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com>
Hi,
I provide more information, since I'm always getting this error.
** My configuration
GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, multi-tty) of 2007-09-05
org 5.11
(add-to-list 'load-path "~/.emacs.d/remember/")
(require 'remember)
(setq org-directory "~/org")
(setq org-default-notes-file (concat org-directory "/malgrave.org"))
(setq remember-annotation-functions '(org-remember-annotation))
(setq remember-handler-functions '(org-remember-handler))
(add-hook 'remember-mode-hook 'org-remember-apply-template)
** Producing the problem
M-x remember
Write something
C-c
** Backtrace
Debugger entered--Lisp error: (error "Invalid search bound (wrong side
of point)")
re-search-forward("^[ ]+" #<marker at 17989 in malgrave.org> t)
(while (re-search-forward "^[ ]+" end t) (goto-char (match-end 0))
(setq col (current-column)) (if (< diff 0) (replace-match ""))
(indent-to (+ diff col)))
(if (save-excursion (end-of-line 1) (re-search-forward prohibit end
t)) nil (while (re-search-forward "^[ ]+" end t) (goto-char ...)
(setq col ...) (if ... ...) (indent-to ...)))
(unless (save-excursion (end-of-line 1) (re-search-forward prohibit
end t)) (while (re-search-forward "^[ ]+" end t) (goto-char ...)
(setq col ...) (if ... ...) (indent-to ...)))
(let ((end ...) (prohibit ...) col) (unless (save-excursion ... ...)
(while ... ... ... ... ...)) (move-marker end nil))
(save-excursion (let (... ... col) (unless ... ...) (move-marker end nil)))
org-fixup-indentation(1)
(if org-adapt-indentation (org-fixup-indentation diff))
(let* ((level ...) (down-head ...) (diff ...)) (replace-match
down-head nil t) (and org-auto-align-tags (org-set-tags nil t)) (if
org-adapt-indentation (org-fixup-indentation diff)))
org-demote()
funcall(org-demote)
(if (and (re-search-forward ... nil t) (< ... end)) (funcall fun))
(save-excursion (setq end (copy-marker end)) (goto-char beg) (if
(and ... ...) (funcall fun)) (while (and ... ...) (funcall fun)))
(let ((org-ignore-region t)) (save-excursion (setq end ...)
(goto-char beg) (if ... ...) (while ... ...)))
org-map-region(org-demote 17758 17985)
(while (not (= shift 0)) (org-map-region func (point-min)
(point-max)) (setq shift (+ delta shift)))
(save-restriction (narrow-to-region beg end) (while (not ...)
(org-map-region func ... ...) (setq shift ...)) (goto-char
(point-min)))
(if (= shift 0) nil (save-restriction (narrow-to-region beg end)
(while ... ... ...) (goto-char ...)))
(unless (= shift 0) (save-restriction (narrow-to-region beg end)
(while ... ... ...) (goto-char ...)))
(let* ((txt ...) (^re ...) (re ...) (^re_ ...) (old-level ...)
(force-level ...) (previous-level ...) (next-level ...) (new-level
...) (shift ...) (shift1 shift) (delta ...) (func ...)
(org-odd-levels-only nil) beg end) (if force-level (delete-region ...
...)) (beginning-of-line 1) (setq beg (point)) (insert txt) (unless
(string-match "\n[ ]*\\'" txt) (insert "\n")) (setq end (point))
(goto-char beg) (unless (= shift 0) (save-restriction ... ... ...))
(when (interactive-p) (message "Clipboard pasted as level %d subtree"
new-level)) (if (and kill-ring ... org-subtree-clip-folded)
(hide-subtree)))
org-paste-subtree(2 #("* Fri Nov 16 16:27:05 2007 (provo)\n provo\n
\n [[http://mail.google.com/mail/h/4frk72uipcox/%3Fv%3Dc&s%3Dl&l%3Dorgmode&th%3D1164913862243a78][Google
Mail - Orgmode Invalid search bound (wrong side of point) using
Remember]]\n " 0 28 nil 28 33 (fontified t) 33 37 nil 37 42
(fontified t) 42 48 nil 48 50 (face org-link mouse-face highlight
keymap (keymap ... ... ...) invisible org-link help-echo "LINK:
http://mail.google.com/mail/h/4frk72uipcox/%3Fv%3Dc&s%3Dl&l%3Dorgmode&th%3D1164913862243a78"
rear-nonsticky (mouse-face highlight keymap invisible intangible
help-echo org-linked-text) fontified t) 50 141 (invisible org-link
face org-link keymap (keymap ... ... ...) mouse-face highlight
help-echo "LINK:
http://mail.google.com/mail/h/4frk72uipcox/%3Fv%3Dc&s%3Dl&l%3Dorgmode&th%3D1164913862243a78"
rear-nonsticky (mouse-face highlight keymap invisible intangible
help-echo org-linked-text) fontified t) 141 143 (face org-link
mouse-face highlight keymap (keymap ... ... ...) invisible org-link
help-echo "LINK:
http://mail.google.com/mail/h/4frk72uipcox/%3Fv%3Dc&s%3Dl&l%3Dorgmode&th%3D1164913862243a78"
rear-nonsticky (mouse-face highlight keymap invisible intangible
help-echo org-linked-text) fontified t) 143 222 (face org-link
mouse-face highlight keymap (keymap ... ... ...) help-echo "LINK:
http://mail.google.com/mail/h/4frk72uipcox/%3Fv%3Dc&s%3Dl&l%3Dorgmode&th%3D1164913862243a78"
rear-nonsticky (mouse-face highlight keymap invisible intangible
help-echo org-linked-text) fontified t) 222 224 (face org-link
mouse-face highlight keymap (keymap ... ... ...) invisible org-link
help-echo "LINK:
http://mail.google.com/mail/h/4frk72uipcox/%3Fv%3Dc&s%3Dl&l%3Dorgmode&th%3D1164913862243a78"
rear-nonsticky (mouse-face highlight keymap invisible intangible
help-echo org-linked-text) fontified t) 224 227 nil))
(save-restriction (widen) (goto-char (point-max)) (if (not ...)
(newline)) (org-paste-subtree (org-get-legal-level 1 1) txt))
(cond ((org-on-heading-p t) (org-back-to-heading t) (setq level ...)
(cond ... ... ... ...)) ((and ... ...) (save-restriction ... ... ...
...)) ((and ... reversed) (save-restriction ... ... ... ... ...)) (t
(org-paste-subtree ... txt)))
(save-restriction (widen) (and (goto-char ...) (not ...) (insert
"\n* " ... "\n")) (setq reversed (org-notes-order-reversed-p)) (when
(and heading ... ...) (goto-char ...) (if ... ... ...)) (if fastp
(setq spos org-goto-start-pos exitcmd ...) (setq spos ... exitcmd ...
spos ...)) (if (not spos) (throw ... nil)) (goto-char spos) (cond (...
... ... ...) (... ...) (... ...) (t ...)) (when
remember-save-after-remembering (save-buffer) (if ... ...)))
(save-excursion (save-restriction (widen) (and ... ... ...) (setq
reversed ...) (when ... ... ...) (if fastp ... ...) (if ... ...)
(goto-char spos) (cond ... ... ... ...) (when
remember-save-after-remembering ... ...)))
(save-current-buffer (set-buffer (or visiting ...)) (unless
(org-mode-p) (error "Target files for remember notes must be in
Org-mode")) (save-excursion (save-restriction ... ... ... ... ... ...
... ... ...)))
(with-current-buffer (or visiting (get-file-buffer file)) (unless
(org-mode-p) (error "Target files for remember notes must be in
Org-mode")) (save-excursion (save-restriction ... ... ... ... ... ...
... ... ...)))
(let* ((txt ...) (fastp ...) (file ...) (heading
org-remember-default-headline) (visiting ...) (org-startup-folded nil)
(org-startup-align-all-tables nil) (org-goto-start-pos 1) spos exitcmd
level indent reversed) (if (and ... org-remember-previous-location)
(setq file ... heading ...)) (setq current-prefix-arg nil) (let* (...
first) (setq first ... lines ...) (if ... ... ...) (if ... ...) (setq
txt ...)) (if (not visiting) (find-file-noselect file))
(with-current-buffer (or visiting ...) (unless ... ...)
(save-excursion ...)))
(catch (quote quit) (let* (... ... ... ... ... ... ... ... spos
exitcmd level indent reversed) (if ... ...) (setq current-prefix-arg
nil) (let* ... ... ... ... ...) (if ... ...) (with-current-buffer ...
... ...)))
org-remember-handler()
run-hook-with-args-until-success(org-remember-handler)
(if remember-all-handler-functions (run-hooks (quote
remember-handler-functions)) (run-hook-with-args-until-success (quote
remember-handler-functions)))
(save-restriction (narrow-to-region b e) (if
remember-all-handler-functions (run-hooks ...)
(run-hook-with-args-until-success ...)) (remember-destroy))
(let ((b ...) (e ...)) (save-restriction (narrow-to-region b e) (if
remember-all-handler-functions ... ...) (remember-destroy)))
remember-region(1 185)
remember-buffer()
funcall(remember-buffer)
(cond ((or org-clock-overlays org-occur-highlights
org-latex-fragment-image-overlays) (org-remove-clock-overlays)
(org-remove-occur-highlights)
(org-remove-latex-fragment-image-overlays) (message "Temporary
highlights/overlays removed from current buffer")) ((and ... ...)
(funcall org-finish-function)) ((org-at-property-p)
(call-interactively ...)) ((org-on-target-p) (call-interactively ...))
((org-on-heading-p) (call-interactively ...)) ((org-at-table\.el-p)
(require ...) (beginning-of-line 1) (re-search-forward "|" ...)
(call-interactively ...)) ((org-at-table-p)
(org-table-maybe-eval-formula) (if arg ... ...) (call-interactively
...)) ((org-at-item-checkbox-p) (call-interactively ...))
((org-at-item-p) (call-interactively ...)) ((save-excursion ... ...)
(beginning-of-line 1) (org-update-dblock)) ((save-excursion ... ...)
(cond ... ...)) (t (error "C-c C-c can do nothing useful at this
location.")))
(let ((org-enable-table-editor t)) (cond (... ... ... ... ...) (...
...) (... ...) (... ...) (... ...) (... ... ... ... ...) (... ... ...
...) (... ...) (... ...) (... ... ...) (... ...) (t ...)))
org-ctrl-c-ctrl-c(nil)
call-interactively(org-ctrl-c-ctrl-c)
recursive-edit()
byte-code("Æ\x10 @Ç=!\0ÈÉÊ\"ËÉ!\x1aA@)¢Ì=!\0ÈÍÊ\"Î\v!Ï Ð !\fc\0Ñed\"
VW\0ebÒ
¥y`\x1e^[dbÒ
¥
Zy\x0e^[`|)ÓcebÔÕÖ \"× ÔØ!ÙÊ\x1e\x1c\x1e\x1dÔØ!Ú +Ù" [unread-command-char
debugger-args x debugger-buffer noninteractive
debugger-batch-max-lines -1 debug backtrace-debug 4 t backtrace-frame
lambda 5 pop-to-buffer debugger-mode debugger-setup-buffer count-lines
2 "...\n" message "%s" buffer-string kill-emacs "" nil recursive-edit
middlestart buffer-read-only standard-output] 4)
** end
Thanks,
Daniel
2007/11/16, Graham Smith <myotisone@gmail.com>:
> I have just set up Remember with Org mode (without the template set up),
> when I use C-c C-c to save the entry, it gets saved to notes.org as it
> should, but I also get an error:
>
> Invalid search bound (wrong side of point)
>
> Can some one explain what this means.
>
> Many thanks,
>
> Graham
>
next prev parent reply other threads:[~2007-11-16 15:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-16 14:14 Invalid search bound (wrong side of point) using Remember Graham Smith
2007-11-16 15:28 ` Bastien
2007-11-16 15:46 ` Graham Smith
2007-11-16 16:05 ` Bastien
2007-11-16 16:10 ` Graham Smith
2007-11-16 16:25 ` Bastien
2007-11-16 16:35 ` Graham Smith
2007-11-16 15:37 ` Daniel Clemente [this message]
2007-11-16 15:57 ` Bastien
2007-11-16 17:18 ` Daniel Clemente
2007-11-16 17:26 ` Daniel Clemente
2007-11-16 17:27 ` Bastien
2007-11-16 18:24 ` Andrew J. Korty
2007-11-16 18:51 ` Graham Smith
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=ae9590aa0711160737u3b93ab1dw41d8197e06bc1666@mail.gmail.com \
--to=n142857@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=myotisone@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).