unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* 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

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).