Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!decwrl!ads.com!saturn!stuart From: stuart@previous.ADS.COM (Stuart Crawford) Newsgroups: comp.sys.next Subject: making emacs the default instead of edit? Message-ID: Date: 19 Jul 90 17:56:52 GMT Sender: usenet@ads.com (USENET News) Distribution: comp Organization: Advanced Decision Systems Lines: 29 I have the line (server-start) in my .emacs file, and have aliased the command "emacs" to "/usr/lib/emacs/etc/emacsclient". In this way, I can type "emacs filename" in any shell or terminal window and have an emacs buffer appear that contains filename. Now this all works nicely and is, in fact, quite handy. What I would really love, though, is to double click on a text file in the directory browser and have the file appear as an emacs buffer instead of as a window for the Edit application. I can do this for *many* (not all) files by using the Unknown application. For example, I replace lines like this: h:Edit: with the corresponding line: h:Unknown:/usr/lib/emacs/etc/emacsclient %s I do 'dwrite Unknown Verify No' to suppress the display of the usual alert box. Everything works as you would expect. How, though, can I get files *without* a suffix to appear in the Emacs buffer? Stuart --