Re: [O] MobileOrg staging not working correctly

2011-11-29 Thread Cameron Seader
Well for a test I changed the org-agenda-files setting for emacs to the
following.

(setq org-agenda-files "~/Documents/Notes/org/.org")

So its set to a single file, but... it still does not work.

*messages*
OVERVIEW
Creating agendas...done
Saving all Org-mode buffers...
(No files need saving)
Saving all Org-mode buffers... done
Copying files...
OVERVIEW
(No changes need to be saved)
Writing index file...
OVERVIEW [12 times]
Writing checksums...
Files for mobile viewer staged

says it created the agendas, but it didn't

I am stumped...

On 11/29/2011 10:50 AM, Cameron Seader wrote:
> I think this has something to do with my .emacs settings.
> 
> ;;; Org-mode settings
> (require 'org-install)
> (require 'org-mobile)
> (require 'package)
> (package-initialize)
> (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
> (global-set-key "\C-cl" 'org-store-link)
> (global-set-key "\C-ca" 'org-agenda)
> (global-set-key "\C-cb" 'org-iswitchb)
> (global-font-lock-mode 1)
> (setq org-directory "~/Documents/Notes/org")
> (setq org-agenda-files (file-expand-wildcards
> "~/Documents/Notes/org/*.org"))
> 
> ;;; MobileOrg Settings
> (setq org-mobile-files (file-expand-wildcards
> "~/Documents/Notes/org/*.org"))
> (setq org-mobile-directory "~/Dropbox/MobileOrg")
> (setq org-mobile-inbox-for-pull "~/Documents/Notes/org/inbox.org")
> 
> Would having a wildcard for org-agenda-files mess up the creation of the
> agendas.org file when I execute C-c C-x RET p
> 
> Please someone let me know.
> Thanks,
> Cameron
> 
> On 11/29/2011 10:07 AM, Cameron Seader wrote:
>> I am using the latest version of orgmode and its still not working.
>>
>> Here are my *messages* from the buffer
>>
>> Creating agendas...done
>> Saving all Org-mode buffers...
>> (No files need saving)
>> Saving all Org-mode buffers... done
>> Copying files...
>> (New file)
>> OVERVIEW
>> Saving file /home/xx/Dropbox/MobileOrg/mobileorg.org...
>> Wrote /home/xx/Dropbox/MobileOrg/mobileorg.org
>> Writing index file...
>> Writing checksums...
>> Files for mobile viewer staged
>>
>> It says that it created the agendas...
>>
>> Here is my index.org
>>
>> :~/Dropbox/MobileOrg> cat index.org
>> #+READONLY
>> #+TODO: TODO DONE
>> #+TODO:  | DONE
>> #+TAGS:
>> #+DRAWERS: PROPERTIES CLOCK LOGBOOK
>> #+ALLPRIORITIES: A B C
>> * [[file:agendas.org][Agenda Views]]
>> ...removing the rest for privacy...
>>
>> It created a link to the agendas.org file...
>>
>> Why didn't the agendas.org file get created? Do i have to create it
>> myself?  Do I have to export my agenda view myself? How do I get this to
>> work?
>> TIA,
> 

-- 
Cameron Seader
SUSE Sales Engineer

Phone: 208-572-0095
c...@suse.com
SUSE http://www.suse.com



Re: [O] MobileOrg staging not working correctly

2011-11-29 Thread Cameron Seader
I think this has something to do with my .emacs settings.

;;; Org-mode settings
(require 'org-install)
(require 'org-mobile)
(require 'package)
(package-initialize)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
(global-font-lock-mode 1)
(setq org-directory "~/Documents/Notes/org")
(setq org-agenda-files (file-expand-wildcards
"~/Documents/Notes/org/*.org"))

;;; MobileOrg Settings
(setq org-mobile-files (file-expand-wildcards
"~/Documents/Notes/org/*.org"))
(setq org-mobile-directory "~/Dropbox/MobileOrg")
(setq org-mobile-inbox-for-pull "~/Documents/Notes/org/inbox.org")

Would having a wildcard for org-agenda-files mess up the creation of the
agendas.org file when I execute C-c C-x RET p

Please someone let me know.
Thanks,
Cameron

On 11/29/2011 10:07 AM, Cameron Seader wrote:
> I am using the latest version of orgmode and its still not working.
> 
> Here are my *messages* from the buffer
> 
> Creating agendas...done
> Saving all Org-mode buffers...
> (No files need saving)
> Saving all Org-mode buffers... done
> Copying files...
> (New file)
> OVERVIEW
> Saving file /home/xx/Dropbox/MobileOrg/mobileorg.org...
> Wrote /home/xx/Dropbox/MobileOrg/mobileorg.org
> Writing index file...
> Writing checksums...
> Files for mobile viewer staged
> 
> It says that it created the agendas...
> 
> Here is my index.org
> 
> :~/Dropbox/MobileOrg> cat index.org
> #+READONLY
> #+TODO: TODO DONE
> #+TODO:  | DONE
> #+TAGS:
> #+DRAWERS: PROPERTIES CLOCK LOGBOOK
> #+ALLPRIORITIES: A B C
> * [[file:agendas.org][Agenda Views]]
> ...removing the rest for privacy...
> 
> It created a link to the agendas.org file...
> 
> Why didn't the agendas.org file get created? Do i have to create it
> myself?  Do I have to export my agenda view myself? How do I get this to
> work?
> TIA,

-- 
Cameron Seader
SUSE Sales Engineer

Phone: 208-572-0095
c...@suse.com
SUSE http://www.suse.com



[O] MobileOrg staging not working correctly

2011-11-29 Thread Cameron Seader
I am using the latest version of orgmode and its still not working.

Here are my *messages* from the buffer

Creating agendas...done
Saving all Org-mode buffers...
(No files need saving)
Saving all Org-mode buffers... done
Copying files...
(New file)
OVERVIEW
Saving file /home/xx/Dropbox/MobileOrg/mobileorg.org...
Wrote /home/xx/Dropbox/MobileOrg/mobileorg.org
Writing index file...
Writing checksums...
Files for mobile viewer staged

It says that it created the agendas...

Here is my index.org

:~/Dropbox/MobileOrg> cat index.org
#+READONLY
#+TODO: TODO DONE
#+TODO:  | DONE
#+TAGS:
#+DRAWERS: PROPERTIES CLOCK LOGBOOK
#+ALLPRIORITIES: A B C
* [[file:agendas.org][Agenda Views]]
...removing the rest for privacy...

It created a link to the agendas.org file...

Why didn't the agendas.org file get created? Do i have to create it
myself?  Do I have to export my agenda view myself? How do I get this to
work?
TIA,
-- 
Cameron



[O] Push files and views for MobileOrg

2011-11-28 Thread Cameron Seader
Whenever I push file and views for MobileOrg it does not setup the
agendas.org file. Why?? How can I fix this?
TIA,
-- 
Cameron



[O] index.org; am I doing something wrong??

2011-11-28 Thread Cameron Seader
I created an index.org file and have been using that to organize all of
my org files and create an Outline of my Notes etc...

Is this the correct way to do it? because when i sync with MobileOrg
then MobileOrg cannot open any of my files on my mobile device.

What am I doing wrong?
-- 
Cameron



Re: [O] Global Task List

2011-11-11 Thread Cameron Seader

Perfect.

On 11/11/2011 01:24 PM, Olaf Dietsche wrote:

Cameron Seader  writes:


I get an error when setting the variable to a folder

Here is my .emacs file

;; Org-mode settings
(require 'org-install)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
(global-font-lock-mode 1)
(setq org-log-done t)
(setq org-agenda-custom-commands
 ((org-agenda-files '("~/Documents/Notes/org/"))
 ))

(setq inhibit-splash-screen t)

I get the following error when my .emacs file is initialized.

Invalid function: (org-agenda-files (quote (~/Documents/Notes/org/)))


you mixed org-agenda-custom-commands and org-agenda-files. You can set
org-agenda-files as part of org-agenda-custom-commands, but then you
have to define at least one private command as well.

An easier way to start is just setting org-agenda-files alone.
Either with `setq':

(setq org-agenda-files "~/Documents/Notes/org/")

or with `custom-set-variables':

(custom-set-variables
  '(org-agenda-files "~/Documents/Notes/org/"))

Regards, Olaf




Olivier Schwander's suggestion worked best.

I used this below:
(setq org-agenda-files (file-expand-wildcards "~/Notes/*.org"))

works like a charm. Love it.
Thanks,
--
Cameron



Re: [O] Global Task List

2011-11-11 Thread Cameron Seader

I get an error when setting the variable to a folder

Here is my .emacs file

;; Org-mode settings
(require 'org-install)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
(global-font-lock-mode 1)
(setq org-log-done t)
(setq org-agenda-custom-commands
((org-agenda-files '("~/Documents/Notes/org/"))
))

(setq inhibit-splash-screen t)

I get the following error when my .emacs file is initialized.

Invalid function: (org-agenda-files (quote (~/Documents/Notes/org/)))

any ideas
TIA,

On 11/11/2011 11:36 AM, Olivier Schwander wrote:

Le 11 Nov 2011 11:19, Cameron Seader a écrit:

I have lots of .org files with tasks in each one, but my global task
list does not show anything. Is there something I need to do to set
this up?


You should have a look to the variable org-agenda-files 
(see<http://orgmode.org/org.html#Agenda-files>).

Olivier





--
Cameron



[O] Global Task List

2011-11-11 Thread Cameron Seader

Greetings,
Did I miss something in the Docs?

I have lots of .org files with tasks in each one, but my global task 
list does not show anything. Is there something I need to do to set this up?


Thanks,
--
Cameron