emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc-view.el: about cursor and filename display


From: Tassilo Horn
Subject: Re: doc-view.el: about cursor and filename display
Date: Thu, 18 Oct 2007 08:56:38 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Dan Nicolaescu <address@hidden> writes:

> Tassilo Horn <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]