emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Export as ODT, as ODT file is opening document automatically


From: John Hendy
Subject: Re: [O] Export as ODT, as ODT file is opening document automatically
Date: Wed, 27 Mar 2013 17:26:40 -0500

On Tue, Mar 26, 2013 at 5:14 PM, Christian Moe <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]