[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doc-view.el: about cursor and filename display
From: |
David Kastrup |
Subject: |
Re: doc-view.el: about cursor and filename display |
Date: |
Thu, 18 Oct 2007 10:33:52 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
Tassilo Horn <address@hidden> writes:
> David Kastrup <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.
>>
>> No, it isn't. We can do a poll if you think otherwise.
>
> Ok, ok. On my todo list is an entry that inside doc-view-mode `C-c C-c'
> should toggle between "a real editing major mode" (e.g. ps-mode) and
> doc-view-mode.
I think for our various image view modes, C-x C-r should preferably
start the viewer, but C-x C-f should possibly start the editor. At
the very least, C-u C-x C-f should start the editor, "I mean it!".
--
David Kastrup
- Re: doc-view.el: about cursor and filename display, (continued)
- Re: doc-view.el: about cursor and filename display, David Kastrup, 2007/10/19
- Re: doc-view.el: about cursor and filename display, Miles Bader, 2007/10/19
- Re: doc-view.el: about cursor and filename display, David Kastrup, 2007/10/21
- Re: doc-view.el: about cursor and filename display, Stefan Monnier, 2007/10/21
- Re: doc-view.el: about cursor and filename display, David Kastrup, 2007/10/21
- Re: doc-view.el: about cursor and filename display, Stefan Monnier, 2007/10/21
- Re: doc-view.el: about cursor and filename display, Richard Stallman, 2007/10/19
- Re: doc-view.el: about cursor and filename display, Tassilo Horn, 2007/10/18
- Re: doc-view.el: about cursor and filename display, David Kastrup, 2007/10/18
- Re: doc-view.el: about cursor and filename display, Tassilo Horn, 2007/10/18
- Re: doc-view.el: about cursor and filename display,
David Kastrup <=
- Re: doc-view.el: about cursor and filename display, Juri Linkov, 2007/10/18
- Re: doc-view.el: about cursor and filename display, Reiner Steib, 2007/10/18
- Re: doc-view.el: about cursor and filename display, Richard Stallman, 2007/10/17
- Re: doc-view.el: about cursor and filename display, Tassilo Horn, 2007/10/17