emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Christian Moe <mail@christianmoe.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Export as ODT, as ODT file is opening document automatically
Date: Wed, 27 Mar 2013 17:26:40 -0500	[thread overview]
Message-ID: <CA+M2ft8L-Y7Pv=C6TSPdkBKrdiwiqDtkwTcHUZXBAk9k8j0a6A@mail.gmail.com> (raw)
In-Reply-To: <m2620dn70l.fsf@christianmoe.com>

On Tue, Mar 26, 2013 at 5:14 PM, Christian Moe <mail@christianmoe.com> wrote:
>
> I cannot replicate this. `C-c C-e o o' works as expected. I don't use
> openwith, so that may be where the problem lies.

Yup. It's not actually openwith itself, but I tracked it down to:

(openwith-mode t)

I only have this setup for using Sunrise Commander (Emacs file
manager) so I can open files from it. Something must be triggering
openwith on Org-mode export to ODT. Can one set a conditional use of a
mode? I'd be happy to adjust my config so that openwith only turns on
when I use Sunrise.


Best regards,
John

>
> Yours,
> Christian
>
> John Hendy writes:
>
>> I'm on =release_8.0-pre-181-ge7cfb4= and with =C-e o o=, LibreOffice
>> immediately opens the file. I'd expect this with =C-e o O=, but not
>> with =C-e o o=.
>>
>> I noticed that I have an openwith process running =soffice
>> /path/to/file.odt=... is the exporter somehow triggering openwith to
>> open it even though I haven't said to do so upon export? Here's my
>> settings in .emacs:
>>
>> (openwith-associations (quote (("\\.pdf\\'" "evince" (file))
>> ("\\.mp3\\'" "vlc" (file)) ("\\.\\(?:mpe?g\\|avi\\|wmv\\|mov\\)\\'"
>> "vlc" ("-idx" file)) ("\\.\\(?:jp?g\\|png\\)\\'" "geeqie" (file))
>> ("\\.\\(?:odg\\|odt\\|docx\\|doc\\)\\'" "soffice" (file))
>> ("\\.\\(?:odp\\|ppt\\|pptx\\)\\'" "soffice" (file))
>> ("\\.\\(?:xls\\|xlsx\\|ods\\)\\'" "soffice" (file)))))
>>
>>
>> John
>

      reply	other threads:[~2013-03-27 22:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 21:13 Export as ODT, as ODT file is opening document automatically John Hendy
2013-03-26 22:14 ` Christian Moe
2013-03-27 22:26   ` John Hendy [this message]

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='CA+M2ft8L-Y7Pv=C6TSPdkBKrdiwiqDtkwTcHUZXBAk9k8j0a6A@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@christianmoe.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).