From: Russell Adams <RLAdams@AdamsInfoServ.Com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Command line tricks
Date: Wed, 6 Aug 2008 03:37:41 -0500 [thread overview]
Message-ID: <20080806083741.GA15423@thinkpad.adamsinfoserv.com> (raw)
I've recently started using a few command line options with Org I
thought I'd share, perhaps they'll inspire someone else.
In my ~/.bashrc, I have defined an alias for Org that runs:
emacs -nw --funcall org-agenda-list
Which pulls up Org in the agenda view, which is where I wanted to be
in the first place!
I'm working away at latex, and I've divided up some of my files in
Org, and got tired to manually triggering the export to latex.
Instead now I have a makefile which runs:
emacs --eval '(setq enable-local-variables :all)' \
filename.org \
-f org-export-as-latex \
-f save-buffers-kill-emacs
This opens my Org file, exports it to latex, and quits. I'm very
pleased with the result, because the makefile next calls pdflatex to
PDF my document. The local variables override is because I set some
custom headers in the documents.
Enjoy!
------------------------------------------------------------------
Russell Adams RLAdams@AdamsInfoServ.com
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
next reply other threads:[~2008-08-06 8:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-06 8:37 Russell Adams [this message]
2008-08-06 16:15 ` Command line tricks Peter Jones
2008-08-07 0:04 ` Patrick Drechsler
2008-08-07 18:06 ` Sebastian Rose
2008-08-20 10:31 ` Pete Phillips
2008-08-20 11:24 ` Dan Griswold
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=20080806083741.GA15423@thinkpad.adamsinfoserv.com \
--to=rladams@adamsinfoserv.com \
--cc=emacs-orgmode@gnu.org \
/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).