From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: doc-view.el: about cursor and filename display Date: Wed, 17 Oct 2007 16:29:23 -0700 Message-ID: <200710172329.l9HNTO4F010666@oogie-boogie.ics.uci.edu> References: <87r6jw20p3.fsf@baldur.tsdh.de> <87przfbm9t.fsf@baldur.tsdh.de> <876416qgnr.fsf@baldur.tsdh.de> <876415a55w.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192663967 7736 80.91.229.12 (17 Oct 2007 23:32:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Oct 2007 23:32:47 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 18 01:32:47 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IiINY-00060f-3Z for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2007 01:32:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiINQ-00082J-RX for ged-emacs-devel@m.gmane.org; Wed, 17 Oct 2007 19:32:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IiINH-0007xB-2a for emacs-devel@gnu.org; Wed, 17 Oct 2007 19:32:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IiINE-0007uj-CP for emacs-devel@gnu.org; Wed, 17 Oct 2007 19:32:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiINE-0007uT-2L for emacs-devel@gnu.org; Wed, 17 Oct 2007 19:32:24 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IiIN9-0006cT-Mm; Wed, 17 Oct 2007 19:32:19 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l9HNTO4F010666; Wed, 17 Oct 2007 16:29:24 -0700 (PDT) In-Reply-To: <876415a55w.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Wed\, 17 Oct 2007 21\:54\:03 +0200") Original-Lines: 23 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.84, required 5, autolearn=disabled, ALL_TRUSTED -1.44, J_CHICKENPOX_52 0.60) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81106 Archived-At: Tassilo Horn writes: > Index: lisp/files.el > =================================================================== > RCS file: /sources/emacs/emacs/lisp/files.el,v > retrieving revision 1.932 > diff -u -r1.932 files.el > --- lisp/files.el 15 Oct 2007 02:07:46 -0000 1.932 > +++ lisp/files.el 17 Oct 2007 19:51:46 -0000 > @@ -2059,7 +2059,7 @@ > ("\\.\\(as\\|mi\\|sm\\)2\\'" . snmpv2-mode) > ("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode) > ("\\.\\(dif\\|pat\\)\\'" . diff-mode) ; for MSDOG > - ("\\.[eE]?[pP][sS]\\'" . ps-mode) > + ("\\(?:DVI\\|EPS\\|P\\(?:DF\\|S\\)\\|dvi\\|eps\\|p\\(?:df\\|s\\)\\)" . doc-view-mode) Is this a good idea? PostScript is not only used for documents, but it is also a programming language. How likely is it that someone that does a C-x C-f for a ps file does it in order to view it, not to edit it? I haven't done it in a long time, but I used to regularly have to tweak ps files generated by various utilities...