Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-05 Thread Achim Gratz
AW alexander.willand at t-online.de writes: But how can I set org-file-apps to open a *.doc file with MS Word under Linux? It's probably easiest to put that into a wrapper script and associate it with .doc/.docx on your desktop environment. That way you probably wouldn't even need to customize

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-05 Thread AW
Am Mittwoch, 4. Dezember 2013, 18:26:46 schrieb Nick Nick Dokos: AW alexander.will...@t-online.de writes: Hi! ... Off the top of my head, I would say (add-to-list 'org-file-apps '(\\.doc . env WINEPREFIX=\/home/AW/.wine-office\ wine \C:\\windows\\command\\start.exe\ /Unix

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-05 Thread AW
Am Donnerstag, 5. Dezember 2013, 08:48:11 schrieb Jambunathan K: Nick Dokos ndo...@gmail.com writes: Off the top of my head, I would say (add-to-list 'org-file-apps '(\\.doc . env WINEPREFIX=\/home/AW/.wine-office\ wine \C:\\windows\\command\\start.exe\

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-05 Thread AW
Am Donnerstag, 5. Dezember 2013, 09:01:40 schrieb Achim Gratz: AW alexander.willand at t-online.de writes: But how can I set org-file-apps to open a *.doc file with MS Word under Linux? It's probably easiest to put that into a wrapper script and associate it with .doc/.docx on your desktop

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-05 Thread Jambunathan K
AW alexander.will...@t-online.de 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:))

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-05 Thread Jambunathan K
AW alexander.will...@t-online.de 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:))

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-05 Thread AW
Am Donnerstag, 5. Dezember 2013, 20:51:04 schrieb Jambunathan K: AW alexander.will...@t-online.de 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-:

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-05 Thread Jambunathan K
AW alexander.will...@t-online.de writes: I found out, that things are much more complicated: Did you try my suggestion? What happened? I gave a snippet.el. You just need to copy paste that to .emacs. It is easy to figure out where and how. (I know nothing about shell programming or

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-05 Thread Achim Gratz
AW writes: #!/bin/bash env WINEPREFIX=/home/AW/.wine-office wine C:\windows\command\start.exe /Unix /home/AW/.wine-office/dosdevices/c:/users/AW/Start Menu/Programs/Microsoft Office/Microsoft Word 2010.lnk On the command line word.sh works. But in .emacs the lines (add-to-list

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-05 Thread Jambunathan K
Nick Dokos ndo...@gmail.com writes: Off the top of my head, I would say (add-to-list 'org-file-apps '(\\.doc . env WINEPREFIX=\/home/AW/.wine-office\ wine \C:\\windows\\command\\start.exe\ /Unix \/home/AW/.wine-office/dosdevices/c:/users/AW/Start Menu/Programs/Microsoft

[O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-04 Thread AW
Hi! I'm using orgmode as a replacement for folders, you know, real folders, lots of paper inside. In my orgfiles I link to many other files, mostly *.tex and *.pdf, links look like [[./foo.pdf][About foo]] Sometimes I can't avoid to link to doc or docx files. So I need my linux pc to

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-04 Thread Nick Dokos
AW alexander.will...@t-online.de writes: Hi! I'm using orgmode as a replacement for folders, you know, real folders, lots of paper inside. In my orgfiles I link to many other files, mostly *.tex and *.pdf, links look like [[./foo.pdf][About foo]] Sometimes I can't avoid to link to

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-04 Thread Jambunathan K
Nick Dokos ndo...@gmail.com writes: Off the top of my head, I would say (add-to-list 'org-file-apps '(\\.doc . env WINEPREFIX=\/home/AW/.wine-office\ wine \C:\\windows\\command\\start.exe\ /Unix \/home/AW/.wine-office/dosdevices/c:/users/AW/Start Menu/Programs/Microsoft