* emacs cygwin external link file+sys:
@ 2013-05-26 23:31 Aaron Siegel
2013-05-27 2:55 ` Aaron Siegel
0 siblings, 1 reply; 3+ messages in thread
From: Aaron Siegel @ 2013-05-26 23:31 UTC (permalink / raw)
To: emacs-orgmode
Hello
I would like to use org-mode to manage my documents. I would like to be able
to click on a like and have the document open in the operate program for the
OS; example a pdf file will open in Adobe Acrobat Reader in windows and Okular
in my linux system.
I am trying to migrate to emacs bundle with cygwin in hopes I can create a
configuration that is portable between the two systems. I have been using the
portableApplication emacs and it does work. I am able to click on a link and
open a document in a Window's application. Can I get this to work with the
cygwin version?
Any recommendation on a emacs for Windows?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: emacs cygwin external link file+sys:
2013-05-26 23:31 emacs cygwin external link file+sys: Aaron Siegel
@ 2013-05-27 2:55 ` Aaron Siegel
2013-05-27 7:24 ` Sebastien Vauban
0 siblings, 1 reply; 3+ messages in thread
From: Aaron Siegel @ 2013-05-27 2:55 UTC (permalink / raw)
To: emacs-orgmode
On Sunday, May 26, 2013 05:31:41 PM Aaron Siegel wrote:
> Hello
>
> I would like to use org-mode to manage my documents. I would like to be able
> to click on a like and have the document open in the operate program for
> the OS; example a pdf file will open in Adobe Acrobat Reader in windows
> and Okular in my linux system.
>
> I am trying to migrate to emacs bundle with cygwin in hopes I can create a
> configuration that is portable between the two systems. I have been using
> the portableApplication emacs and it does work. I am able to click on a
> link and open a document in a Window's application. Can I get this to work
> with the cygwin version?
>
> Any recommendation on a emacs for Windows?
I installed the Windows binarys distrubied by the emacs project, it works
everything. I set the enviromental variables ~ and HOME to point to my home
directory where my .emacs files are stored.
That was it. I spent months fighting with PortableApps and the emacs bundle
with cygwin.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: emacs cygwin external link file+sys:
2013-05-27 2:55 ` Aaron Siegel
@ 2013-05-27 7:24 ` Sebastien Vauban
0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Vauban @ 2013-05-27 7:24 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hi Aaron,
Aaron Siegel wrote:
> On Sunday, May 26, 2013 05:31:41 PM Aaron Siegel wrote:
>> I would like to use org-mode to manage my documents. I would like to be
>> able to click on a like and have the document open in the operate program
>> for the OS; example a pdf file will open in Adobe Acrobat Reader in windows
>> and Okular in my linux system.
>>
>> I am trying to migrate to emacs bundle with cygwin in hopes I can create a
>> configuration that is portable between the two systems. I have been using
>> the portableApplication emacs and it does work. I am able to click on a
>> link and open a document in a Window's application. Can I get this to work
>> with the cygwin version?
>>
>> Any recommendation on a emacs for Windows?
>
> I installed the Windows binarys distrubied by the emacs project, it works
> everything. I set the enviromental variables ~ and HOME to point to my home
> directory where my .emacs files are stored.
>
> That was it. I spent months fighting with PortableApps and the emacs bundle
> with cygwin.
And, for opening the right apps, using a .mailcap file can help [1] (where you
can specify apps to use when in Windows, or when in Linux, all in the same
file).
--8<---------------cut here---------------start------------->8---
## .mailcap -- MIME Viewer configuration file
#* Commentary:
# `%s' means "put the datafile name here when the viewer is executed"
#
# `test=test -n "$DISPLAY"' is used to determine if the current session is
# X-capable (by checking for the existence of a DISPLAY environment
# variable)
#* Code:
#...
application/pdf; "C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe" "%s"
application/pdf; evince "%s"; test=sh -c 'test $DISPLAY'
application/pdf; pdftotext "%s" -; copiousoutput
#...
--8<---------------cut here---------------end--------------->8---
Best regards,
Seb
[1] At least, for opening Gnus attachments.
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-27 7:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-26 23:31 emacs cygwin external link file+sys: Aaron Siegel
2013-05-27 2:55 ` Aaron Siegel
2013-05-27 7:24 ` Sebastien Vauban
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).