emacs-orgmode
[Top][All Lists]
Advanced

[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:51:04 +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 really 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 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.    

Attachment: snippet.el
Description: application/emacs-lisp


reply via email to

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