From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Lander Subject: Re: .ods opens file in Emacs, not OpenOffice Date: Tue, 27 Jul 2010 11:28:38 -0400 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=40059 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Odm5E-0004YO-Mx for emacs-orgmode@gnu.org; Tue, 27 Jul 2010 11:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Odm5C-00055M-IP for emacs-orgmode@gnu.org; Tue, 27 Jul 2010 11:28:43 -0400 Received: from smtp101.prem.mail.ac4.yahoo.com ([76.13.13.40]:31439) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Odm5C-00055H-GC for emacs-orgmode@gnu.org; Tue, 27 Jul 2010 11:28:42 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: C64 Whiz Cc: emacs-orgmode@gnu.org 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