* How to auto open excel/doc files
@ 2007-03-08 12:53 呂 克
2007-03-08 16:55 ` Drew Adams
0 siblings, 1 reply; 2+ messages in thread
From: 呂 克 @ 2007-03-08 12:53 UTC (permalink / raw)
To: help-gnu-emacs
Hi all!
I'd like to auto open files by system application in dired mode.
For example:
when I pressed enter at the point of files which is *.xls,it opened by
excel/openoffice.
when I pressed enter at the point of files which is *.pdf,it opened by
acrobat reader.
Have any advice?
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: How to auto open excel/doc files
2007-03-08 12:53 How to auto open excel/doc files 呂 克
@ 2007-03-08 16:55 ` Drew Adams
0 siblings, 0 replies; 2+ messages in thread
From: Drew Adams @ 2007-03-08 16:55 UTC (permalink / raw)
To: help-gnu-emacs
> I'd like to auto open files by system application in dired mode.
> For example:
> when I pressed enter at the point of files which is *.xls,it opened by
> excel/openoffice.
> when I pressed enter at the point of files which is *.pdf,it opened by
> acrobat reader.
> Have any advice?
If you are on MS Windows, then try library `w32-browser.el'. It lets you
open files in Dired using Windows file associations, so, for instance,
clicking `mouse-2' on a file foo.xls would open the file in Excel.
Code: http://www.emacswiki.org/cgi-bin/wiki/w32-browser.el
Description: http://www.emacswiki.org/cgi-bin/wiki/MsShellExecute and
http://www.emacswiki.org/cgi-bin/wiki/DiredPlus.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-08 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-08 12:53 How to auto open excel/doc files 呂 克
2007-03-08 16:55 ` Drew Adams
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.