emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: use of 'system in ox-odt.el
Date: Wed, 20 May 2015 13:21:34 +0200	[thread overview]
Message-ID: <871tibmr41.fsf@gmx.us> (raw)
In-Reply-To: 20150520110326.GB8817@chitra.no-ip.org

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.

Weird.

—Rasmus

-- 
Send from my Emacs

  reply	other threads:[~2015-05-20 11:22 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 [this message]
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=871tibmr41.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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).