Re: [Orgmode] .ods opens file in Emacs, not OpenOffice
C64 Whiz wrote: [1 multipart/alternative (7bit)] [1.1 text/plain; ISO-8859-1 (7bit)] [1.2 text/html; ISO-8859-1 (quoted-printable)] Though I love the command line, I was hoping for a mouse-click solution. I.e. I click on the link and it properly opens up in OO. What about customizing `org-file-apps'? , | org-file-apps is a variable defined in `org.el'. | Its value is | ((auto-mode . emacs) | (\\.mm\\' . default) | (\\.x?html?\\' . default) | (\\.pdf\\' . default)) | | | Documentation: | External applications for opening `file:path' items in a document. | Org-mode uses system defaults for different file types, but | you can use this variable to set the application for a given file | extension. The entries in this list are cons cells where the car identifies | files and the cdr the corresponding command. Possible values for the | file identifier are ` HTH, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpUSpThqHCdo.pgp Description: PGP signature ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] .ods opens file in Emacs, not OpenOffice
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 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] .ods opens file in Emacs, not OpenOffice
Though I love the command line, I was hoping for a mouse-click solution. I.e. I click on the link and it properly opens up in OO. On Tue, Jul 27, 2010 at 8:28 AM, Anthony Lander anthonylan...@yahoo.comwrote: 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 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] .ods opens file in Emacs, not OpenOffice
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. I know there is a variable called 'org-file-apps, but I thought the file system was supposed to handle any extension not known my OrgMode? If I do need 'org-file-apps, please provide an example where I may *add* to the list rather then re-defining the existing list. I'd hate to re-do associations OrgMode already made. Thanks! --C64Whiz ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode