From: Dan Nicolaescu <dann@ics.uci.edu>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 3973@emacsbugs.donarmstrong.com
Subject: bug#3973: cleanup view-mode usage in vc-resynch-window
Date: Thu, 30 Jul 2009 20:22:50 -0700 (PDT) [thread overview]
Message-ID: <200907310322.n6V3Mo26012548@godzilla.ics.uci.edu> (raw)
In-Reply-To: <jwv1vnxbowd.fsf-monnier+emacsbugreports@gnu.org> (Stefan Monnier's message of "Thu, 30 Jul 2009 21:54:38 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> > I have removed that code locally for a while and didn't see any
> > problem. But I don't explicitly use view-mode, so...
>
> Obiously the code only makes a difference when you use view-read-only,
> so you'll need to set it to a non-nil value before doing any test.
[I've never done anything with view-read-only before...]
I set view-read-only to t, then played with a file under RCS.
When the files is checked in view-mode is turned on, when checking it
out it's turned off.
If the code in question is eliminated, view-mode stays turned on after
checking out.
There's some code in `after-find-file' (that gets called from
`revert-buffer') that looks like it does something very similar to the
code in question here, but `after-find-file' is called with `nomodes' t,
so that code does not trigger.
next prev parent reply other threads:[~2009-07-31 3:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 7:44 bug#3973: cleanup view-mode usage in vc-resynch-window Dan Nicolaescu
2009-07-30 21:14 ` Stefan Monnier
2009-07-30 22:06 ` Dan Nicolaescu
[not found] ` <jwv1vnxbowd.fsf-monnier+emacsbugreports@gnu.org>
2009-07-31 3:22 ` Dan Nicolaescu [this message]
2009-07-31 3:43 ` Stefan Monnier
2009-07-31 6:28 ` Dan Nicolaescu
2009-07-31 19:19 ` Stefan Monnier
2011-07-12 20:17 ` Lars Magne Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200907310322.n6V3Mo26012548@godzilla.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=3973@emacsbugs.donarmstrong.com \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.