unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>,
	rms@gnu.org
Subject: Re: doc-view.el: about cursor and filename display
Date: Thu, 18 Oct 2007 08:56:38 +0200	[thread overview]
Message-ID: <87r6jsykpl.fsf@baldur.tsdh.de> (raw)
In-Reply-To: <200710172329.l9HNTO4F010666@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 17 Oct 2007 16:29:23 -0700")

Dan Nicolaescu <dann@ics.uci.edu> writes:

> Tassilo Horn <tassilo@member.fsf.org> 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?

When people know doc-view it's very likely.  To open a PS file for
editing you can do C-c C-e in doc-view-mode.  To view the file after you
made some changes M-x revert-buffer should do the trick.

Bye,
Tassilo

  parent reply	other threads:[~2007-10-18  6:56 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15  8:27 doc-view.el: about cursor and filename display William Xu
2007-10-15  9:20 ` Tassilo Horn
2007-10-15 11:15   ` William Xu
2007-10-15 15:13     ` Tassilo Horn
2007-10-16  4:10       ` Richard Stallman
2007-10-15 14:00   ` Stefan Monnier
2007-10-15 14:20     ` Tassilo Horn
2007-10-16  4:10     ` Richard Stallman
2007-10-16  6:34       ` Tassilo Horn
2007-10-17  5:02         ` Richard Stallman
2007-10-17  8:39           ` Tassilo Horn
2007-10-17 13:57             ` Stefan Monnier
2007-10-17 16:19               ` Tassilo Horn
2007-10-18  5:02                 ` Richard Stallman
2007-10-18  6:50                   ` Tassilo Horn
2007-10-17 19:54               ` Tassilo Horn
2007-10-17 23:29                 ` Dan Nicolaescu
2007-10-18  1:47                   ` Miles Bader
2007-10-19  5:40                     ` Richard Stallman
2007-10-19  7:50                       ` David Kastrup
2007-10-20  1:31                         ` Miles Bader
2007-10-21 14:56                           ` David Kastrup
2007-10-21 19:23                             ` Stefan Monnier
2007-10-21 20:26                               ` David Kastrup
2007-10-22  0:48                                 ` Stefan Monnier
2007-10-20  3:29                         ` Richard Stallman
2007-10-18  6:56                   ` Tassilo Horn [this message]
2007-10-18  8:10                     ` David Kastrup
2007-10-18  8:19                       ` Tassilo Horn
2007-10-18  8:33                         ` David Kastrup
2007-10-19  0:45                           ` Juri Linkov
2007-10-18 20:37                         ` Reiner Steib
2007-10-17 20:49             ` Richard Stallman
2007-10-17 20:54               ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r6jsykpl.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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