emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Price <moptop99@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: use of 'system in ox-odt.el
Date: Tue, 19 May 2015 14:19:10 -0400	[thread overview]
Message-ID: <CAN_Dec87oekhKM=gzGCZsvbSbOzvLrgZMts_fuuT-AJsuUTAHg@mail.gmail.com> (raw)
In-Reply-To: <CAN_Dec_p7ZsHFKHpS7ha62Rq0apawmqXBj5Jho1ceZ1d05SLKw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

Resenting to list (sorry rasmus)
---------- Forwarded message ----------
From: "Matt Price" <moptop99@gmail.com>
Date: May 19, 2015 11:04
Subject: Re: [O] use of 'system in ox-odt.el
To: "Rasmus" <rasmus@gmx.us>
Cc:



On Tue, May 19, 2015 at 10:57 AM, Rasmus <rasmus@gmx.us> wrote:

> Matt Price <moptop99@gmail.com> writes:
>
> > When I export-and-open to odt, org doesn't open the resultant odt, even
> > though I get a message:
> >
> > Running xdg-open /home/matt/RLG231/RLG231Syllabus.odt...done
> >
> > org-open-file works fine on links in an org buffer, and an anser on the
> > following stackoverflow page suggests the issue is in ox-odt.el:
>
> With your change it open the odt file as a tar-mode file from Emacs -q.
> Without your change it doesn't open it at all.  BTW: My Emacs also doesn't
> open html exports in Fx files when I use C-c C-e h-o.  I never tried to
> debug it though...
>
>
Yeah, I just got that too -- I realized I hadn't been testing it in the
right environment, shoot.  this modification worked for me (also form the
same forum):


 (setcdr (assq 'system org-file-apps-defaults-gnu ) '(call-process
"xdg-open" nil 0 nil file))

Not sure why this should work when the default fails.  Fx opens html
exports for me with C-c C-e h-o -- also not sure why that should work and
odt fail.

m


> Rasmus
>
> --
> 9000!
>
>
>

[-- Attachment #2: Type: text/html, Size: 2374 bytes --]

  parent reply	other threads:[~2015-05-19 18:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-19 14:45 use of 'system in ox-odt.el Matt Price
2015-05-19 14:57 ` Rasmus
     [not found]   ` <CAN_Dec_p7ZsHFKHpS7ha62Rq0apawmqXBj5Jho1ceZ1d05SLKw@mail.gmail.com>
2015-05-19 18:19     ` Matt Price [this message]
2015-05-19 20:38       ` Suvayu Ali
2015-05-20  9:50         ` Rasmus
2015-05-20 11:03           ` Suvayu Ali
2015-05-20 11:21             ` Rasmus
2015-05-20 17:42               ` Suvayu Ali
2015-05-21  0:29                 ` Matt Price
2015-05-21  8:18                   ` Rasmus
2015-05-21 15:21                     ` Matt Price
2015-05-21 17:30                       ` Rasmus

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='CAN_Dec87oekhKM=gzGCZsvbSbOzvLrgZMts_fuuT-AJsuUTAHg@mail.gmail.com' \
    --to=moptop99@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).