From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Roland Winkler Newsgroups: gmane.emacs.help Subject: emacs interface for the unix file(1) command Date: 09 Oct 2003 16:17:24 +0200 Organization: FAU Erlangen-Nuernberg Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1065710081 15249 80.91.224.253 (9 Oct 2003 14:34:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2003 14:34:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 16:34:39 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A7bsE-0004K4-00 for ; Thu, 09 Oct 2003 16:34:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A7bqq-0002iQ-Nh for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2003 10:33:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!newsfeed.r-kom.de!news-nue1.dfn.de!uni-erlangen.de!news.uni-erlangen.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: tfkp07.physik.uni-erlangen.de Original-X-Trace: rznews2.rrze.uni-erlangen.de 1065709044 19522 131.188.164.207 (9 Oct 2003 14:17:24 GMT) Original-X-Complaints-To: news@uni-erlangen.de Original-NNTP-Posting-Date: 9 Oct 2003 14:17:24 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:117160 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13088 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13088 Is there an emacs interface for the unix file(1) command? What I have in mind is that I am using dired mode to clean my tmp and scratch directories. Often there are files with some strange names like XFdg34D678 that contain, maybe postscript files, maybe pdf or dvi files or whatever. Before deleting these files I'd like to view them either with an appropriate viewer or I'd like to visit them in an emacs buffer that uses the appropriate mode even though auto-mode-alist might be of little help. That's why I thought about an emacs interface for the file(1) command. Thanks a lot, Roland