• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Mikey Boldt

What am I doing?

  • Home
  • About Mikey
  • Contact

orgmode

Linking to MS Office File in Emacs Org Mode

2012-07-18 by Mikey Boldt 3 Comments

My daily workflow includes emacs org mode files for each project I’m working on. I often link to files, programs, etc. from these org mode files. I tried linking to a MS Excel spreadsheet using my usual

file:/path/to/file.xlsx

link. However, since the xlsx file is really a zip file, emacs opened a dired buffer revealing the contents, rather than opening it in Excel.

After a bit of googling, I found a message from the org mode mailing list about linking to Excel and Word documents from org mode and discovered the file+sys link type. This, per the org mode External Links manual, will “open via OS, like double-click”, which is exactly what I want. Good reminder for myself: when all else fails, RTFM.

Share this:

  • Email
  • Facebook
  • Twitter

Filed Under: Tech Tagged With: emacs, msoffice, orgmode

Execute Code via Org-mode Links

2012-01-05 by Mikey Boldt Leave a Comment

I was recently browsing the org-mode link documentation to see how I could link to my Gnus email inbox1. Looking through, I noticed a couple of interesting link capabilities I had not known about before:

shell:ls *.org A shell command
elisp:org-agenda Interactive Elisp command
elisp:(find-file-other-frame "Elisp.org") Elisp form to evaluate

Having the ability to run arbitrary shell commands and Elisp code via an Org-mode link seems very powerful. This is mainly a note-to-self to remember this capability. I will report back if/when I find a good practical application for this.

Footnotes:

1 The format is gnus:group.

Share this:

  • Email
  • Facebook
  • Twitter

Filed Under: Tech Tagged With: emacs, orgmode

Primary Sidebar

Categories

  • Orthodoxy
  • Tech
  • Uncategorized

Tags

4331 abfh android apache bible bluetooth cull dropbox dropsync emacs email ezpdf reader fastcgi geeqie gnome gnu global gnus htaccess key bindings keyboard linux mac macbook mod_fcgid msoffice nexus 7 notmuch orgmode papers pdf photo php politics prayer proced processes software sopa top ubuntu upgrade virtualbox vnc xfce xmonad

Archives

  • February 2016
  • January 2016
  • September 2014
  • December 2013
  • November 2013
  • December 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • January 2012
  • December 2011
  • November 2011

Subscribe

  • RSS - Posts
  • RSS - Comments

Copyright © 2021 · Mikey Boldt Theme on Genesis Framework · WordPress · Log in

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.