emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Possible bug in mobile export
@ 2012-01-31 22:02 Simon Thum
  2012-02-01  0:58 ` Greg Troxel
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Thum @ 2012-01-31 22:02 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Possible bug in mobile export
  2012-01-31 22:02 Possible bug in mobile export Simon Thum
@ 2012-02-01  0:58 ` Greg Troxel
  2012-02-02 19:58   ` Simon Thum
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Troxel @ 2012-02-01  0:58 UTC (permalink / raw)
  To: Simon Thum; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]


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 <bzg@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


[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Possible bug in mobile export
  2012-02-01  0:58 ` Greg Troxel
@ 2012-02-02 19:58   ` Simon Thum
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Thum @ 2012-02-02 19:58 UTC (permalink / raw)
  To: Greg Troxel; +Cc: emacs-orgmode

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 Guerry<bzg@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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-02 18:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-31 22:02 Possible bug in mobile export Simon Thum
2012-02-01  0:58 ` Greg Troxel
2012-02-02 19:58   ` Simon Thum

Code repositories for project(s) associated with this 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).