From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: doc-view.el: about cursor and filename display Date: Thu, 18 Oct 2007 10:47:29 +0900 Message-ID: References: <87r6jw20p3.fsf@baldur.tsdh.de> <87przfbm9t.fsf@baldur.tsdh.de> <876416qgnr.fsf@baldur.tsdh.de> <876415a55w.fsf@baldur.tsdh.de> <200710172329.l9HNTO4F010666@oogie-boogie.ics.uci.edu> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192672078 25871 80.91.229.12 (18 Oct 2007 01:47:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Oct 2007 01:47:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 18 03:47:58 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 1IiKUQ-0001C6-DI for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2007 03:47:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiKUJ-0004WT-3T for ged-emacs-devel@m.gmane.org; Wed, 17 Oct 2007 21:47:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IiKU9-0004NQ-CH for emacs-devel@gnu.org; Wed, 17 Oct 2007 21:47:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IiKU7-0004KB-HH for emacs-devel@gnu.org; Wed, 17 Oct 2007 21:47:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiKU7-0004Jm-3z for emacs-devel@gnu.org; Wed, 17 Oct 2007 21:47:39 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IiKU3-0006vZ-Ix; Wed, 17 Oct 2007 21:47:36 -0400 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id l9I1lVEp025303; Thu, 18 Oct 2007 10:47:31 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay11.aps.necel.com with ESMTP; Thu, 18 Oct 2007 10:47:31 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay21.aps.necel.com with ESMTP; Thu, 18 Oct 2007 10:47:30 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id A98E05CB; Thu, 18 Oct 2007 10:47:30 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <200710172329.l9HNTO4F010666@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Wed\, 17 Oct 2007 16\:29\:23 -0700") Original-Lines: 24 X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) 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:81117 Archived-At: Dan Nicolaescu writes: > 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... Yeah, I agree -- it's a fine programming language in its own way, and quite reasonable as a real source language. I'd guess in such cases, given that Emacs is fundamentally a text-editor, it seems best to do something like Emacs already does for .xpm files: display as text (in postscript-mode or whatever) with a message saying "Type C-c C-c to view the printed form of this document." Indeed, for hacking on postscript, this would be great -- just make a change, then hit C-c C-c to see the effect in the same window! -Miles -- "Though they may have different meanings, the cries of 'Yeeeee-haw!' and 'Allahu akbar!' are, in spirit, not actually all that different."