From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: Org Mode dedicated app on OS X Date: Tue, 5 Jul 2011 10:48:57 -0400 (EDT) Message-ID: References: <67D9062C-C1A9-425A-B71C-D0AACEF4D358@nf.mpg.de> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe6vx-0008KO-0s for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 10:49:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qe6vu-0001ig-Mu for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 10:49:04 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:47107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qe6vu-0001iZ-7G for emacs-orgmode@gnu.org; Tue, 05 Jul 2011 10:49:02 -0400 Received: by vws4 with SMTP id 4so5486085vws.0 for ; Tue, 05 Jul 2011 07:49:01 -0700 (PDT) In-Reply-To: <67D9062C-C1A9-425A-B71C-D0AACEF4D358@nf.mpg.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stefan Vollmar Cc: Org Mode Mailing List Hi Stefan, Thanks for the tips. Most already done. On Tue, 5 Jul 2011, Stefan Vollmar wrote: > you could start with an Emacs-typical approach by editing your > ~/.emacs-file so that .org-files are automatically opened with > org-mode Yes I've followed the initial instructions and love that emacs knows modes based on file extension and/or content. > If you put this line into your .bashrc file: > alias e="open -a /Applications/Aquamacs.app/" > you can do this from the commandline: > e somefile.org I use this: eee() { if [ ! -e "$@" ]; then touch "$@"; fi; /sw/bin/launch -m -a Aquamacs "$@"; } I also have copied Aquamacs.app, renamed it OrgMode.app, and have the unicorn as the icon. I'm a bit stuck on the last step you suggest. > If you are thinking about a distribution-like approach (so it > works "out-of-the-box" for others) you would probably need to copy > your changes to a > > /Applications/Aquamacs.app/Contents/Resources/site-lisp > > directory. I don't need it to distribute it to 3rd parties, but I'm not opposed to setting it up like that. What files should I put in the directory? And what contents? And how do I get emacs to auto-load them? I'm still figuring out a workflow so please let me know if this makes sense, but I'm picturing something like this: * I launch my OrgMode.app * It opens and (via its internal site-lisp magic) loads ~/Dropbox/Org/index.org * index.org is a file I'll maintain manually that links to my other org files so I can access them using the inter-linking ability in org-mode * If something like index.org can be automated that would be OK, but I don't mind maintaning it as my meta-org file. Perhaps based on something like I have now in my .emacs: (setq org-agenda-files (list "~/Dropbox/org/foo.org" "~/Dropbox/org/bar.org)) -k.