unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	rms@gnu.org, emacs-devel@gnu.org
Subject: Re: doc-view.el: about cursor and filename display
Date: Thu, 18 Oct 2007 10:33:52 +0200	[thread overview]
Message-ID: <86r6jses9b.fsf@lola.quinscape.zz> (raw)
In-Reply-To: <878x60u96q.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Thu\, 18 Oct 2007 10\:19\:09 +0200")

Tassilo Horn <tassilo@member.fsf.org> writes:

> David Kastrup <dak@gnu.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.
>>
>> 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

  reply	other threads:[~2007-10-18  8:33 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
2007-10-18  8:10                     ` David Kastrup
2007-10-18  8:19                       ` Tassilo Horn
2007-10-18  8:33                         ` David Kastrup [this message]
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=86r6jses9b.fsf@lola.quinscape.zz \
    --to=dak@gnu.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).