emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: C64 Whiz <c64whiz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: .ods opens file in Emacs, not OpenOffice
Date: Tue, 27 Jul 2010 11:12:39 -0700	[thread overview]
Message-ID: <AANLkTimU-Yqu0fsh5NPDRgm5yzZwKDWm4JN-YXASeCSQ@mail.gmail.com> (raw)
In-Reply-To: <E0D2CE00-F1F2-4B22-B545-C6363C2F1670@yahoo.com>


[-- Attachment #1.1: Type: text/plain, Size: 1544 bytes --]

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 <anthonylander@yahoo.com>wrote:

>
> 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 2098 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  reply	other threads:[~2010-07-27 18:12 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
2010-07-27 18:12   ` C64 Whiz [this message]
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=AANLkTimU-Yqu0fsh5NPDRgm5yzZwKDWm4JN-YXASeCSQ@mail.gmail.com \
    --to=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).