Re: [Orgmode] Org-remember-handler fix for empty remember buffer

2009-06-08 Thread Carsten Dominik
Hi Ryan, On Jun 8, 2009, at 9:45 PM, Ryan C. Thompson wrote: Carsten Dominik wrote: Fixed, thanks. - Carsten On Jun 4, 2009, at 7:45 PM, Ryan C. Thompson wrote: If you used the code I sent in my previous email, I discovered a bug in it. It would delete the last nonblank line as well. I h

Re: [Orgmode] Org-remember-handler fix for empty remember buffer

2009-06-08 Thread Ryan C. Thompson
Carsten Dominik wrote: Fixed, thanks. - Carsten On Jun 4, 2009, at 7:45 PM, Ryan C. Thompson wrote: If you used the code I sent in my previous email, I discovered a bug in it. It would delete the last nonblank line as well. I have fixed this in my code. I've fixed things by copying the func

Re: [Orgmode] Org-remember-handler fix for empty remember buffer

2009-06-08 Thread Carsten Dominik
Fixed, thanks. - Carsten On Jun 4, 2009, at 7:45 PM, Ryan C. Thompson wrote: Hi, I ran into a problem with org's remember functionality, and found a fix for it. The problem is that if you attempt to either abort or remember an empty buffer (that is, a buffer containing only whitespace a

Re: [Orgmode] Org-remember-handler fix for empty remember buffer

2009-06-07 Thread Carsten Dominik
Hi Ryan, could you please post a patch instead, using "diff -u" ? Thanks. - Carsten On Jun 4, 2009, at 7:45 PM, Ryan C. Thompson wrote: Hi, I ran into a problem with org's remember functionality, and found a fix for it. The problem is that if you attempt to either abort or remember an

[Orgmode] Org-remember-handler fix for empty remember buffer

2009-06-07 Thread Ryan C. Thompson
Hi, I ran into a problem with org's remember functionality, and found a fix for it. The problem is that if you attempt to either abort or remember an empty buffer (that is, a buffer containing only whitespace and comments), then org-mode hits an error and fails to do either, leaving the buffe