emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Price <moptop99@gmail.com>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: use of 'system in ox-odt.el
Date: Wed, 20 May 2015 20:29:20 -0400	[thread overview]
Message-ID: <CAN_Dec85EjDd58bskTh01Okk_A4wb2H3kBR=AjUgSOm1hfdkZg@mail.gmail.com> (raw)
In-Reply-To: <20150520174253.GC8817@chitra.no-ip.org>

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

On May 20, 2015 1:43 PM, "Suvayu Ali" <fatkasuvayu+linux@gmail.com> wrote:
>
> On Wed, May 20, 2015 at 01:21:34PM +0200, Rasmus wrote:
> > Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
> >
> > > On Wed, May 20, 2015 at 11:50:03AM +0200, Rasmus wrote:
> > >> Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
> > >>
> > >
> > >> > Do you have a mailcap which says otherwise?  That's what I would
suspect
> > >> > given the doc string for org-file-apps and the default value of
> > >> > org-file-apps-defaults-gnu on my system.
> > >>
> > >> I have this in my mailcap
> > >>
> > >>     application/msword;              antiword %s;
> > >>     application/pdf;                    evince %s;
> > >>     application/vnd.lotus-organizer; emacsclient -ca '' %s;
> > >>     application/zip                  file-roller %s;
> > >>
> > >> Org does not open my html and odt files.  It does open pdf files.
This is
> > >> using emacs -q.  I use Gnome 3.16 and xdg-open works as expected
from the
> > >> terminal.
> > >
> > > There should also be a system-wide setting in /etc/mailcap.  On my
> > > Fedora machine, the system-wide settings all look like this:
> > >
> > >   text/html; /usr/bin/xdg-open %s ; copiousoutput
> > >
> > > If yours doesn't, you could override it in ~/.mailcap.  If that
doesn't
> > > fix things, I'm out of ideas :-|.
> >
> > Now it get the message
> >
> >     Running /usr/bin/xdg-open /tmp/test.html ...done
> >
> > But it doesn't actually open the file...  The same happens when I mark
the
> > file in dired and says & xdg-open.  From the terminal it works fine.
>
> You are on Gnome, rt?  I think there is a long standing "bug" in
> gvfs-open (which is called by xdg-open).
>
> See the following:
> http://lists.gnu.org/archive/html/emacs-devel/2009-07/msg00279.html
> https://bugzilla.gnome.org/show_bug.cgi?id=652262
>
> I came across this a long time ago trying to investigate why xdg-open
> didn't work when running asynchronously like your example.
>
>   http://thread.gmane.org/gmane.emacs.help/93430
>
> Hope this helps,
>
> --
> Suvayu

I think those bug reports describe the problem precisely.  I am also on
gnome and have much the same problem.

>
> Open source is the future. It sets us free.
>

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

  reply	other threads:[~2015-05-21  0:29 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
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 [this message]
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_Dec85EjDd58bskTh01Okk_A4wb2H3kBR=AjUgSOm1hfdkZg@mail.gmail.com' \
    --to=moptop99@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    /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).