[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?
From: |
Jambunathan K |
Subject: |
Re: [O] Set org-file-apps to open a *.doc file under linux with Word ? |
Date: |
Thu, 05 Dec 2013 20:47:40 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
AW <address@hidden> writes:
> Thank you, customization worked, but it did not start word -- I'm going
> another way now.
I am playing a guessing game and don't know what I am saying. Try this.
M-: (shell-quote-argument (read-string "Enter string:"))
^^^^^^^^^^^^^^^^^^^^
When prompted enter
<whatever wine whatever> "%s"
Now put whatever string you get in *Pp Eval Output* DIRECTLY in to your
.emacs. See the attached snippet.el for an idea of what I get.
Instead of passing env as part of the command, I think you can add this
to your .emacs.
(setenv "WINEPREFIX" "/home/AW/.wine-office")
You can also do
M-x setenv
to set environment variables.
snippet.el
Description: application/emacs-lisp
Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?, AW, 2013/12/05
Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?, Jambunathan K, 2013/12/05
Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?, Achim Gratz, 2013/12/05