emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Anthony Lander <anthonylander@yahoo.com>
To: C64 Whiz <c64whiz@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: .ods opens file in Emacs, not OpenOffice
Date: Tue, 27 Jul 2010 11:28:38 -0400	[thread overview]
Message-ID: <E0D2CE00-F1F2-4B22-B545-C6363C2F1670@yahoo.com> (raw)
In-Reply-To: <AANLkTikZWsSYKZiN-H0amXDtp68L7RR3CT-rx=-A0Ds5@mail.gmail.com>


On 10-Jul-26, at 8:54 PM, C64 Whiz wrote:

> Hello,
>
> I've searched for an answer but can't find a simple one.  I have an  
> OpenOffice document (.ods) I'd like to link to in my .org files.  So  
> I have the following syntax:
>
>   [[file:c:/mydata/myfile.ods][File Description]]
>
> When I click on the link in OrgMode, Emacs opens the file and not  
> OpenOffice.  Yet, when I'm in file explorer (yes, Windows), double  
> clicking the file does open up Open Office.  So I know the  
> association is there.

Try C-u C-c C-o. On my mac, that switches whether the link opens in  
emacs or through the operating system file association (although mine  
is the reverse. With the prefix it opens in emacs. Not sure why). From  
the doc-string for org-open-at-point:

	(org-open-at-point &optional IN-EMACS REFERENCE-BUFFER)

	Open link at or after point.
	If there is no link at point, this function will search forward up to
	the end of the current line.
	Normally, files will be opened by an appropriate application.  If the
	optional argument IN-EMACS is non-nil, Emacs will visit the file.
	With a double prefix argument, try to open outside of Emacs, in the
	application the system uses for this file type.

Hope this helps,

   -Anthony

  parent reply	other threads:[~2010-07-27 15:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-27  0:54 .ods opens file in Emacs, not OpenOffice C64 Whiz
2010-07-27 10:14 ` Shelagh Manton
2010-07-27 15:28 ` Anthony Lander [this message]
2010-07-27 18:12   ` C64 Whiz
2010-08-15 14:35     ` David Maus

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=E0D2CE00-F1F2-4B22-B545-C6363C2F1670@yahoo.com \
    --to=anthonylander@yahoo.com \
    --cc=c64whiz@gmail.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).