From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Graham Smith" Subject: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 14:14:26 +0000 Message-ID: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1140222172==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It1xs-000837-UJ for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 09:14:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It1xr-0007zN-BK for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 09:14:36 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It1xr-0007yE-6j for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 09:14:35 -0500 Received: from an-out-0708.google.com ([209.85.132.247]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It1xp-0002Ux-Sl for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 09:14:34 -0500 Received: by an-out-0708.google.com with SMTP id c38so181177ana for ; Fri, 16 Nov 2007 06:14:26 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1140222172== Content-Type: multipart/alternative; boundary="----=_Part_13742_1850191.1195222466476" ------=_Part_13742_1850191.1195222466476 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_13742_1850191.1195222466476 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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


------=_Part_13742_1850191.1195222466476-- --===============1140222172== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1140222172==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 15:28:18 +0000 Message-ID: <87ve826wh9.fsf@bzg.ath.cx> References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It37J-0003Oj-8R for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:28:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It37H-0003Kl-0A for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:28:24 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It37G-0003KY-N0 for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:28:22 -0500 Received: from an-out-0708.google.com ([209.85.132.241]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It37G-0004sy-BQ for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:28:22 -0500 Received: by an-out-0708.google.com with SMTP id c38so185104ana for ; Fri, 16 Nov 2007 07:28:21 -0800 (PST) In-Reply-To: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> (Graham Smith's message of "Fri, 16 Nov 2007 14:14:26 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Graham, "Graham Smith" writes: > 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. This is hard to guess. Can you provide more information? - version numbers of Org/Remember/Emacs - relevant parts of your Org/Remember setup - a backtrace To get a backtrace, turn on debugging in Emacs: (setq debug-on-error t) Thanks, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel Clemente" Subject: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 16:37:43 +0100 Message-ID: References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It3GQ-0002qK-Hk for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:37:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It3GO-0002p2-Ex for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:37:48 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It3GO-0002oi-3U for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:37:48 -0500 Received: from fk-out-0910.google.com ([209.85.128.190]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It3GN-0008FD-9k for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:37:47 -0500 Received: by fk-out-0910.google.com with SMTP id 18so369946fkq for ; Fri, 16 Nov 2007 07:37:44 -0800 (PST) In-Reply-To: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Graham Smith Cc: emacs-orgmode@gnu.org 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("^[ =09]+" # t) (while (re-search-forward "^[ =09]+" 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 "^[ =09]+" 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 "^[ =09]+" 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 (=3D 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 (=3D shift 0) nil (save-restriction (narrow-to-region beg end) (while ... ... ...) (goto-char ...))) (unless (=3D 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[ =09]*\\'" txt) (insert "\n")) (setq end (point)) (goto-char beg) (unless (=3D 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%3Dorgmod= e&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%3D= 1164913862243a78" 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%3D= 1164913862243a78" 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%3D= 1164913862243a78" 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%3D= 1164913862243a78" 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%3D= 1164913862243a78" 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("=C6=10=09@=C7=3D=83!=00=C8=C9=CA\"=88=CB=C9!=89=1AA@)=A2=CC=3D= =83!=00=C8=CD=CA\"=88=CE=0B!=88=CF =88=D0=09!=88\f=83c=00=D1ed\" V=83W=00eb=88=D2 =A5y=88`=1E=1Bdb=88=D2 =A5 Zy=88=0E=1B`|=88)=D3c=88eb=88=D4=D5=D6 \"=88=D7 =88=D4=D8!=88=D9=CA=1E=1C= =1E=1D=D4=D8!=88=8A=DA =88+=D9=87" [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 : > 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 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Graham Smith" Subject: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 15:46:47 +0000 Message-ID: <2c75873c0711160746k176b294bsc8786472caecd44a@mail.gmail.com> References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> <87ve826wh9.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0039083791==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It3P8-00016P-HT for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:46:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It3P6-00015f-P0 for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:46:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It3P6-00015Y-L9 for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:46:48 -0500 Received: from an-out-0708.google.com ([209.85.132.244]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It3P6-000356-51 for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:46:48 -0500 Received: by an-out-0708.google.com with SMTP id c38so186120ana for ; Fri, 16 Nov 2007 07:46:47 -0800 (PST) In-Reply-To: <87ve826wh9.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============0039083791== Content-Type: multipart/alternative; boundary="----=_Part_14030_6163899.1195228007467" ------=_Part_14030_6163899.1195228007467 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Bastien, Since sending this message, I have set up the templates script (as in the OrgMode 5.13e manual (but running 5.13i) in the .emacs file, and I no longer get the error. I can try and recreate the error out of interest, but I am happy that it seem fixed, and that I have grasped how the templates work. Graham On 16/11/2007, Bastien wrote: > > Hi Graham, > > "Graham Smith" writes: > > > 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. > > This is hard to guess. Can you provide more information? > > - version numbers of Org/Remember/Emacs > - relevant parts of your Org/Remember setup > - a backtrace > > To get a backtrace, turn on debugging in Emacs: > > (setq debug-on-error t) > > Thanks, > > -- > Bastien > > > _______________________________________________ > 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 > ------=_Part_14030_6163899.1195228007467 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Bastien,

Since sending this message, I have set up the templates script (as in the OrgMode 5.13e manual (but running 5.13i) in the .emacs file, and I no longer get the error.

I can try and recreate the error out of interest, but I am happy that it seem fixed, and that I have grasped how the templates work.

Graham





On 16/11/2007, Bastien <bzg@altern.org> wrote:
Hi Graham,

"Graham Smith" <myotisone@gmail.com> writes:

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

This is hard to guess.  Can you provide more information?

- version numbers of Org/Remember/Emacs
- relevant parts of your Org/Remember setup
- a backtrace

To get a backtrace, turn on debugging in Emacs:

  (setq debug-on-error t)

Thanks,

--
Bastien


_______________________________________________
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

------=_Part_14030_6163899.1195228007467-- --===============0039083791== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0039083791==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 15:57:46 +0000 Message-ID: <87ejeq6v45.fsf@bzg.ath.cx> References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It3Zp-0007Tm-Ib for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:57:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It3Zn-0007T9-Os for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:57:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It3Zn-0007T2-Gp for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:57:51 -0500 Received: from nf-out-0910.google.com ([64.233.182.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It3Zn-0006lP-1U for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 10:57:51 -0500 Received: by nf-out-0910.google.com with SMTP id f5so1032478nfh for ; Fri, 16 Nov 2007 07:57:50 -0800 (PST) In-Reply-To: (Daniel Clemente's message of "Fri, 16 Nov 2007 16:37:43 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "Daniel Clemente" writes: > I provide more information, since I'm always getting this error. Thanks for the information. I tried to dig this a bit, and found out that `org-remember-handler' was confused by the target file not being in org-mode, even if it is an org file. Not sure this is relevant here though. > ** My configuration > GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, multi-tty) of 2007-09-05 > > org 5.11 Would you mind testing if this error occurs in latest Org? Thanks for your help, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 16:05:12 +0000 Message-ID: <871waqch1j.fsf@bzg.ath.cx> References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> <87ve826wh9.fsf@bzg.ath.cx> <2c75873c0711160746k176b294bsc8786472caecd44a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It3h2-0002sJ-PN for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:05:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It3gz-0002r3-Vr for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:05:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It3gz-0002qz-MS for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:05:17 -0500 Received: from an-out-0708.google.com ([209.85.132.241]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It3gz-0000qx-7X for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:05:17 -0500 Received: by an-out-0708.google.com with SMTP id c38so187191ana for ; Fri, 16 Nov 2007 08:05:16 -0800 (PST) In-Reply-To: <2c75873c0711160746k176b294bsc8786472caecd44a@mail.gmail.com> (Graham Smith's message of "Fri, 16 Nov 2007 15:46:47 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "Graham Smith" writes: > Since sending this message, I have set up the templates script (as in > the OrgMode 5.13e manual (but running 5.13i) in the .emacs file, and I > no longer get the error. Good! Hopefully Carsten will be able to digg this further, because people might want to use M-x remember without defining templates. > I can try and recreate the error out of interest, but I am happy that > it seem fixed, and that I have grasped how the templates work. Since Daniel sent a backtrace, don't take the hassle, I'm sure the solution is not that far. Thanks for your help, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Graham Smith" Subject: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 16:10:56 +0000 Message-ID: <2c75873c0711160810t6cdae167idf7e7d8a23891b31@mail.gmail.com> References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> <87ve826wh9.fsf@bzg.ath.cx> <2c75873c0711160746k176b294bsc8786472caecd44a@mail.gmail.com> <871waqch1j.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1813266889==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It3me-0005Qr-9i for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:11:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It3mb-0005Mr-DI for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:11:05 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It3ma-0005Me-B4 for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:11:04 -0500 Received: from an-out-0708.google.com ([209.85.132.242]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It3mZ-0002Qj-Uj for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:11:04 -0500 Received: by an-out-0708.google.com with SMTP id c38so187647ana for ; Fri, 16 Nov 2007 08:11:03 -0800 (PST) In-Reply-To: <871waqch1j.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1813266889== Content-Type: multipart/alternative; boundary="----=_Part_14119_3016726.1195229456228" ------=_Part_14119_3016726.1195229456228 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Bastien, Thats fine with me :-) I wonder if it could be related to the line in the Remember set up that has (add hook 'remember -mode-hook 'org-remember-apply-template) Which I just copied straight from the manual, I don't actually understand what this all does, but if this is calling a template and none are defined, could this throw up an error? Graham On 16/11/2007, Bastien wrote: > > "Graham Smith" writes: > > > Since sending this message, I have set up the templates script (as in > > the OrgMode 5.13e manual (but running 5.13i) in the .emacs file, and I > > no longer get the error. > > Good! Hopefully Carsten will be able to digg this further, because > people might want to use M-x remember without defining templates. > > > I can try and recreate the error out of interest, but I am happy that > > it seem fixed, and that I have grasped how the templates work. > > Since Daniel sent a backtrace, don't take the hassle, I'm sure the > solution is not that far. > > Thanks for your help, > > -- > Bastien > > > _______________________________________________ > 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 > ------=_Part_14119_3016726.1195229456228 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Bastien,

Thats fine with me :-)

I wonder if it could be related to the line in the Remember set up that has

(add hook 'remember -mode-hook 'org-remember-apply-template)

Which I just copied straight from the manual, I don't actually understand what this all does, but if this is calling a template and none are defined, could this throw up an error?

Graham

On 16/11/2007, Bastien <bzg@altern.org> wrote:
"Graham Smith" <myotisone@gmail.com> writes:

> Since sending this message, I have set up the templates script (as in
> the OrgMode 5.13e manual (but running 5.13i) in the .emacs file, and I
> no longer get the error.

Good!  Hopefully Carsten will be able to digg this further, because
people might want to use M-x remember without defining templates.

> I can try and recreate the error out of interest, but I am happy that
> it seem fixed, and that I have grasped how the templates work.

Since Daniel sent a backtrace, don't take the hassle, I'm sure the
solution is not that far.

Thanks for your help,

--
Bastien


_______________________________________________
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

------=_Part_14119_3016726.1195229456228-- --===============1813266889== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1813266889==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 16:25:52 +0000 Message-ID: <878x4yb1in.fsf@bzg.ath.cx> References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> <87ve826wh9.fsf@bzg.ath.cx> <2c75873c0711160746k176b294bsc8786472caecd44a@mail.gmail.com> <871waqch1j.fsf@bzg.ath.cx> <2c75873c0711160810t6cdae167idf7e7d8a23891b31@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It410-0002Ep-LX for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:25:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It40z-0002Bz-Da for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:25:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It40z-0002BX-8A for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:25:57 -0500 Received: from an-out-0708.google.com ([209.85.132.240]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It40y-0006zc-T8 for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:25:57 -0500 Received: by an-out-0708.google.com with SMTP id c38so188499ana for ; Fri, 16 Nov 2007 08:25:55 -0800 (PST) In-Reply-To: <2c75873c0711160810t6cdae167idf7e7d8a23891b31@mail.gmail.com> (Graham Smith's message of "Fri, 16 Nov 2007 16:10:56 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "Graham Smith" writes: > I wonder if it could be related to the line in the Remember set up > that has > > (add hook 'remember -mode-hook 'org-remember-apply-template) ... Please copy correct excerpts of code, this could be confusing for other users: (add-hook 'remember-mode-hook 'org-remember-apply-template) And no, I don't think the error comes from this. `org-remember-apply-template' is a function that prepares the remember buffer *before* the user write into it. Your problem occurs when you try to send the remember annotation through `org-remember-handler' (which is called by C-c C-c in the remember buffer.) Thanks for your help! -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Graham Smith" Subject: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 16:35:35 +0000 Message-ID: <2c75873c0711160835j7ad681favc202aa06d2fe0cb2@mail.gmail.com> References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> <87ve826wh9.fsf@bzg.ath.cx> <2c75873c0711160746k176b294bsc8786472caecd44a@mail.gmail.com> <871waqch1j.fsf@bzg.ath.cx> <2c75873c0711160810t6cdae167idf7e7d8a23891b31@mail.gmail.com> <878x4yb1in.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2072120434==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It4AN-0007oK-Bi for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:35:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It4AL-0007lt-9d for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:35:38 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It4AK-0007lc-T3 for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:35:36 -0500 Received: from an-out-0708.google.com ([209.85.132.247]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It4AK-0001x0-EY for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 11:35:36 -0500 Received: by an-out-0708.google.com with SMTP id c38so189041ana for ; Fri, 16 Nov 2007 08:35:35 -0800 (PST) In-Reply-To: <878x4yb1in.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============2072120434== Content-Type: multipart/alternative; boundary="----=_Part_14221_22809493.1195230935717" ------=_Part_14221_22809493.1195230935717 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Bastien, Ah OK, and sorry about the code. Graham On 16/11/2007, Bastien wrote: > > "Graham Smith" writes: > > > I wonder if it could be related to the line in the Remember set up > > that has > > > > (add hook 'remember -mode-hook 'org-remember-apply-template) > > ... Please copy correct excerpts of code, this could be confusing for > other > users: (add-hook 'remember-mode-hook 'org-remember-apply-template) > > And no, I don't think the error comes from this. > > `org-remember-apply-template' is a function that prepares the remember > buffer *before* the user write into it. Your problem occurs when you > try to send the remember annotation through `org-remember-handler' > (which is called by C-c C-c in the remember buffer.) > > Thanks for your help! > > -- > Bastien > > > _______________________________________________ > 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 > ------=_Part_14221_22809493.1195230935717 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Bastien,

Ah OK, and sorry about the code.

Graham

On 16/11/2007, Bastien <bzg@altern.org> wrote:
"Graham Smith" <myotisone@gmail.com> writes:

> I wonder if it could be related to the line in the Remember set up
> that has
>
> (add hook 'remember -mode-hook 'org-remember-apply-template)

... Please copy correct excerpts of code, this could be confusing for other
users: (add-hook 'remember-mode-hook 'org-remember-apply-template)

And no, I don't think the error comes from this.

`org-remember-apply-template' is a function that prepares the remember
buffer *before* the user write into it.  Your problem occurs when you
try to send the remember annotation through `org-remember-handler'
(which is called by C-c C-c in the remember buffer.)

Thanks for your help!

--
Bastien


_______________________________________________
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

------=_Part_14221_22809493.1195230935717-- --===============2072120434== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============2072120434==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel Clemente" Subject: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 18:18:38 +0100 Message-ID: References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> <87ejeq6v45.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It4q8-0007Mx-3J for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 12:18:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It4q6-0007Lo-FN for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 12:18:47 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It4q6-0007Lc-Br for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 12:18:46 -0500 Received: from fk-out-0910.google.com ([209.85.128.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It4q5-0001tG-BU for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 12:18:46 -0500 Received: by fk-out-0910.google.com with SMTP id 19so13288fkr for ; Fri, 16 Nov 2007 09:18:43 -0800 (PST) In-Reply-To: <87ejeq6v45.fsf@bzg.ath.cx> Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org > > Thanks for the information. I tried to dig this a bit, and found out > that `org-remember-handler' was confused by the target file not being > in org-mode, even if it is an org file. Not sure this is relevant here > though. > What do you mean with =84not being in org-mode"? The error appears even if the file is open at that time. The file I'm trying to use is even part of the agenda. > > ** My configuration > > GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, multi-tty) of 2007-09-05 > > > > org 5.11 > > Would you mind testing if this error occurs in latest Org? > It appears also with 5.13i, with the same backtrace. From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel Clemente" Subject: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 18:26:19 +0100 Message-ID: References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> <87ejeq6v45.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It4xT-0007SF-VR for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 12:26:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It4xS-0007OW-CN for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 12:26:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It4xS-0007OC-39 for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 12:26:22 -0500 Received: from fk-out-0910.google.com ([209.85.128.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It4xR-0004hG-II for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 12:26:21 -0500 Received: by fk-out-0910.google.com with SMTP id 19so15103fkr for ; Fri, 16 Nov 2007 09:26:20 -0800 (PST) In-Reply-To: Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org It also happens if the target file doesn't exist. When the file exists, the result is that the old content of the file is deleted and the note appears anyway at the top. Luckily, the changes are not written to disk, and you can close the file and open with to see the old contents. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 17:27:42 +0000 Message-ID: <87d4ua2j8x.fsf@bzg.ath.cx> References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> <87ejeq6v45.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It4yu-0001c5-Gb for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 12:27:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It4yp-0001PP-Ei for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 12:27:51 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It4yp-0001PD-2a for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 12:27:47 -0500 Received: from nf-out-0910.google.com ([64.233.182.191]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It4yo-0005D0-FW for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 12:27:46 -0500 Received: by nf-out-0910.google.com with SMTP id f5so1063960nfh for ; Fri, 16 Nov 2007 09:27:45 -0800 (PST) In-Reply-To: (Daniel Clemente's message of "Fri, 16 Nov 2007 18:18:38 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "Daniel Clemente" writes: >> Thanks for the information. I tried to dig this a bit, and found out >> that `org-remember-handler' was confused by the target file not being >> in org-mode, even if it is an org file. Not sure this is relevant here >> though. >> > What do you mean with „not being in org-mode"? > The error appears even if the file is open at that time. The file > I'm trying to use is even part of the agenda. Sorry I was not clear. I mean that `org-remember-handler' checks whether the target file is in a buffer with org-mode as its major-mode and that `org-remember-handler' this check seems wrong to me. But again, this might not be related to the error Graham reported. >> Would you mind testing if this error occurs in latest Org? >> > It appears also with 5.13i, with the same backtrace. Thanks. I'll have a look later, or Carsten will fix this in the meanwhile. -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: ajk@iu.edu (Andrew J. Korty) Subject: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 13:24:55 -0500 Message-ID: References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It5sG-0007m6-Ib for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 13:25:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It5sB-0007lS-NR for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 13:25:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It5sB-0007lP-Jc for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 13:24:59 -0500 Received: from locrian.itso.iu.edu ([149.166.143.64]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It5sB-0007JO-0K for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 13:24:59 -0500 In-Reply-To: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> (Graham Smith's message of "Fri\, 16 Nov 2007 14\:14\:26 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "Graham Smith" writes: > 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. I had this problem, and I think I fixed it by moving %a from the end of my org-remember-templates to the beginning. My templates used to look something like * TODO %? %U %a Now I use * TODO %? %a %U which fixed the bug. Plus I like it better anyway. Iirc, the problem arose when %a was empty. -- Andrew J. Korty, Deputy Information Security Officer Office of the Vice President for Information Technology and CIO Indiana University From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Graham Smith" Subject: Re: Re: Invalid search bound (wrong side of point) using Remember Date: Fri, 16 Nov 2007 18:51:12 +0000 Message-ID: <2c75873c0711161051x45cdf516p9721b1011acde04b@mail.gmail.com> References: <2c75873c0711160614y736c62a0i71451703d71e503e@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0563644070==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It6He-0004Xz-2Y for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 13:51:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It6Ha-0004Q7-Te for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 13:51:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It6Ha-0004Pk-PZ for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 13:51:14 -0500 Received: from an-out-0708.google.com ([209.85.132.243]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It6HZ-0007dK-Oa for emacs-orgmode@gnu.org; Fri, 16 Nov 2007 13:51:14 -0500 Received: by an-out-0708.google.com with SMTP id c25so264650ana for ; Fri, 16 Nov 2007 10:51:13 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============0563644070== Content-Type: multipart/alternative; boundary="----=_Part_14643_2781915.1195239072585" ------=_Part_14643_2781915.1195239072585 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Andrew, As you will see, I now have this fixed. I did rewrite the template code so it matched the most recent version of the manual - but not sure what I did different. But its working - which is good. Thanks, Graham On 16/11/2007, Andrew J. Korty wrote: > > "Graham Smith" writes: > > > 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. > > I had this problem, and I think I fixed it by moving %a from the end of > my org-remember-templates to the beginning. My templates used to look > something like > > * TODO %? > %U > %a > > Now I use > > * TODO %? %a > %U > > which fixed the bug. Plus I like it better anyway. > > Iirc, the problem arose when %a was empty. > > -- > Andrew J. Korty, Deputy Information Security Officer > Office of the Vice President for Information Technology and CIO > Indiana University > > > _______________________________________________ > 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 > ------=_Part_14643_2781915.1195239072585 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Andrew,

As you will see, I now have this fixed. I did rewrite the template code so it matched the most recent version of the manual - but not sure what I did different.

But its working - which is good.

Thanks,

Graham

On 16/11/2007, Andrew J. Korty <ajk@iu.edu> wrote:
"Graham Smith" <myotisone@gmail.com> writes:

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

I had this problem, and I think I fixed it by moving %a from the end of
my org-remember-templates to the beginning.  My templates used to look
something like

  * TODO %?
    %U
    %a

Now I use

  * TODO %? %a
    %U

which fixed the bug.  Plus I like it better anyway.

Iirc, the problem arose when %a was empty.

--
Andrew J. Korty, Deputy Information Security Officer
Office of the Vice President for Information Technology and CIO
Indiana University


_______________________________________________
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

------=_Part_14643_2781915.1195239072585-- --===============0563644070== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0563644070==--