Re: [O] Possible bug in mobile export

2012-02-02 Thread Simon Thum

Hi Gerd,

thanks for the pointer! I guess I could have googled it...

On 02/01/2012 01:58 AM, Greg Troxel wrote:


The following fix is in org master, but not in 7.8.  I am able to use
org-mobile-push.


commit 71089b7e3b00736f854d6e95a52229853262e12a
Author: Bastien Guerryb...@altern.org
Date:   Wed Jan 4 16:37:59 2012 +0100

 org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'.

 * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
 instead of the obsolete `org-agenda-filter'.

 Thanks to Charles Sebold for reporting this.

diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index b049f4e..bcc1c90 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -303,7 +303,7 @@ create all custom agenda views, for upload to the mobile 
phone.
(interactive)
(let ((a-buffer (get-buffer org-agenda-buffer-name)))
  (let ((org-agenda-buffer-name *SUMO*)
- (org-agenda-filter org-agenda-filter)
+ (org-agenda-tag-filter org-agenda-tag-filter)
  (org-agenda-redo-command org-agenda-redo-command))
(save-excursion
(save-window-excursion






[O] Possible bug in mobile export

2012-01-31 Thread Simon Thum

Dear all,

I've set up my mobile sync, which worked fine in versions  6.3 - 7.7. 
Now I upgraded to 7.8 and when I fire up org-mobile-push I get:


Debugger entered--Lisp error: (void-variable org-agenda-filter)
  org-mobile-push()
  call-interactively(org-mobile-push nil nil)

The variable is not described, and I'm not very emacs-savy. However I 
managed to get to the lisp in question:


; org-mobile.el
;;;###autoload
(defun org-mobile-push ()
  Push the current state of Org affairs to the WebDAV directory.
This will create the index file, copy all agenda files there, and also
create all custom agenda views, for upload to the mobile phone.
  (interactive)
  (let ((a-buffer (get-buffer org-agenda-buffer-name)))
(let ((org-agenda-buffer-name *SUMO*)
  (org-agenda-filter org-agenda-filter)
  (org-agenda-redo-command org-agenda-redo-command))


Should I configure org-agenda-filter, or is there something else I can do?

Cheers,

Simon



Re: [O] Possible bug in mobile export

2012-01-31 Thread Greg Troxel

The following fix is in org master, but not in 7.8.  I am able to use
org-mobile-push.


commit 71089b7e3b00736f854d6e95a52229853262e12a
Author: Bastien Guerry b...@altern.org
Date:   Wed Jan 4 16:37:59 2012 +0100

org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'.

* org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
instead of the obsolete `org-agenda-filter'.

Thanks to Charles Sebold for reporting this.

diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index b049f4e..bcc1c90 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -303,7 +303,7 @@ create all custom agenda views, for upload to the mobile 
phone.
   (interactive)
   (let ((a-buffer (get-buffer org-agenda-buffer-name)))
 (let ((org-agenda-buffer-name *SUMO*)
- (org-agenda-filter org-agenda-filter)
+ (org-agenda-tag-filter org-agenda-tag-filter)
  (org-agenda-redo-command org-agenda-redo-command))
   (save-excursion
(save-window-excursion



pgpK5KHy4iGJl.pgp
Description: PGP signature