unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Glenn Morris <rgm@gnu.org>
Cc: Chong Yidong <cyd@gnu.org>, 10650@debbugs.gnu.org
Subject: bug#10650: view-mode inconsistencies wrt special mode-class
Date: Thu, 02 Feb 2012 23:11:31 +0200	[thread overview]
Message-ID: <8762fpvvec.fsf@mail.jurta.org> (raw)
In-Reply-To: <7xliol80lk.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 02 Feb 2012 15:03:03 -0500")

> Why do we even care about not entering view-mode in special mode buffers
> anyway? If you don't want view-mode, don't ask for it.
> Is there any motivation for this feature beyond "some guy likes to press
> v on everything in dired, then complain when he gets what he asked for"?

Not just pressing v in dired, but also other cases like visiting a read-only
"special" file when `view-read-only' is non-nil, or typing `C-x C-q C-x C-q'
(both cases are handled in files.el)

Such special modes as image-mode and archive-mode don't need to activate
`view-mode' because in fact they are already "view" modes (as opposed to
"edit" modes with enabled self-inserting commands) and they bind own
keys to "view" their special (i.e. not plain text) content.





      reply	other threads:[~2012-02-02 21:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-30  9:05 bug#10650: view-mode inconsistencies wrt special mode-class Glenn Morris
2012-01-30 20:10 ` Glenn Morris
2012-01-30 23:29   ` Juri Linkov
2012-01-31  0:38     ` Glenn Morris
2012-01-31  1:49 ` Stefan Monnier
2012-01-31  2:50   ` Glenn Morris
2012-01-31  6:17     ` Chong Yidong
2012-01-31 17:37       ` Stefan Monnier
2012-02-01  7:38         ` Glenn Morris
2012-02-01  8:32           ` Chong Yidong
2012-02-01 17:15             ` Glenn Morris
2012-02-01 14:31           ` Stefan Monnier
2012-02-01 17:12             ` Glenn Morris
2012-02-02  0:40             ` Juri Linkov
2012-02-02 18:49               ` Stefan Monnier
2012-02-02 20:03                 ` Glenn Morris
2012-02-02 21:11                   ` Juri Linkov [this message]

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=8762fpvvec.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=10650@debbugs.gnu.org \
    --cc=cyd@gnu.org \
    --cc=rgm@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).