emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Export as ODT, as ODT file is opening document automatically
@ 2013-03-26 21:13 John Hendy
  2013-03-26 22:14 ` Christian Moe
  0 siblings, 1 reply; 3+ messages in thread
From: John Hendy @ 2013-03-26 21:13 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Export as ODT, as ODT file is opening document automatically
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Moe @ 2013-03-26 22:14 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode


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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Export as ODT, as ODT file is opening document automatically
  2013-03-26 22:14 ` Christian Moe
@ 2013-03-27 22:26   ` John Hendy
  0 siblings, 0 replies; 3+ messages in thread
From: John Hendy @ 2013-03-27 22:26 UTC (permalink / raw)
  To: Christian Moe; +Cc: emacs-orgmode

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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-27 22:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).