emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: Stefan Vollmar <vollmar@nf.mpg.de>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: Org Mode dedicated app on OS X
Date: Tue, 5 Jul 2011 10:48:57 -0400 (EDT)	[thread overview]
Message-ID: <alpine.OSX.2.00.1107051030590.46938@tbetbambyn.yna> (raw)
In-Reply-To: <67D9062C-C1A9-425A-B71C-D0AACEF4D358@nf.mpg.de>

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.

  reply	other threads:[~2011-07-05 14:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-05  4:19 Org Mode dedicated app on OS X Ken Mankoff
2011-07-05  7:23 ` Stefan Vollmar
2011-07-05 14:48   ` Ken Mankoff [this message]
2011-07-05 19:39     ` Rasmus
2011-07-06  8:56     ` Stefan Vollmar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.OSX.2.00.1107051030590.46938@tbetbambyn.yna \
    --to=mankoff@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=vollmar@nf.mpg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).