Re: [Orgmode] Invalid search bound (wrong side of point) using Remember

2007-11-16 Thread Bastien
Graham Smith [EMAIL PROTECTED] 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


Re: [Orgmode] Invalid search bound (wrong side of point) using Remember

2007-11-16 Thread Bastien
Hi Graham,

Graham Smith [EMAIL PROTECTED] 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


[Orgmode] Invalid search bound (wrong side of point) using Remember

2007-11-16 Thread 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
___
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


Re: [Orgmode] Invalid search bound (wrong side of point) using Remember

2007-11-16 Thread Bastien
Daniel Clemente [EMAIL PROTECTED] 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


___
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


Re: [Orgmode] Invalid search bound (wrong side of point) using Remember

2007-11-16 Thread Graham Smith
Bastien,

Ah OK, and sorry about the code.

Graham

On 16/11/2007, Bastien [EMAIL PROTECTED] wrote:

 Graham Smith [EMAIL PROTECTED] 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

___
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


Re: [Orgmode] Invalid search bound (wrong side of point) using Remember

2007-11-16 Thread Bastien
Graham Smith [EMAIL PROTECTED] 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


Re: [Orgmode] Invalid search bound (wrong side of point) using Remember

2007-11-16 Thread Bastien
Daniel Clemente [EMAIL PROTECTED] 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


___
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


Re: [Orgmode] Invalid search bound (wrong side of point) using Remember

2007-11-16 Thread Graham Smith
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 [EMAIL PROTECTED] wrote:

 Hi Graham,

 Graham Smith [EMAIL PROTECTED] 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

___
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


Re: [Orgmode] invalid search bound

2007-03-15 Thread Carsten Dominik


On Mar 15, 2007, at 0:14, Sean Sieger wrote:


When I find file 'income', which contains solely a table built in
org-mode, I get

Debugger entered--Lisp error: (error Invalid search bound (wrong side 
of point))

  re-search-forward(^\\(?:\\*+\\) #marker at 5295 in income t)
  outline-map-region(#[nil   X


I cannot reproduce it like this, so would you please give more
information, in particular the emacs and org version, and an
example file with which this happens?

Thanks

- Carsten



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] invalid search bound

2007-03-14 Thread Sean Sieger
When I find file 'income', which contains solely a table built in
org-mode, I get

Debugger entered--Lisp error: (error Invalid search bound (wrong side of 
point))
  re-search-forward(^\\(?:\\*+\\) #marker at 5295 in income t)
  outline-map-region(#[nil    X…  



___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode