all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ryan Twitchell <metatheorem@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 7292@debbugs.gnu.org
Subject: bug#7292: view-mode clobbers speedbar bindings
Date: Wed, 27 Oct 2010 23:11:37 -0400	[thread overview]
Message-ID: <4CC8E9E9.8080104@gmail.com> (raw)
In-Reply-To: <7lr5fbuiji.fsf@fencepost.gnu.org>

On 10/27/2010 11:01 PM, Glenn Morris wrote:
> Ryan Twitchell wrote:
>
>> speedbar-mode calls toggle-read-only;
> Why does it do this, as opposed to `(setq buffer-read-only t)'?
>
> (I notice a few other files call toggle-read-only as well. Seems odd.)

A fair question.  I suppose this is just caution: toggle-read-only will
always "do the right thing" to make sure the buffer is read-only, though
setting buffer-read-only should be sufficient.

Ryan Twitchell






  reply	other threads:[~2010-10-28  3:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28  0:03 bug#7292: view-mode clobbers speedbar bindings Ryan Twitchell
2010-10-28  3:01 ` Glenn Morris
2010-10-28  3:11   ` Ryan Twitchell [this message]
2010-10-29  7:49     ` Glenn Morris
2010-10-29 16:00       ` Stefan Monnier
2011-11-10  2:19         ` Glenn Morris

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=4CC8E9E9.8080104@gmail.com \
    --to=metatheorem@gmail.com \
    --cc=7292@debbugs.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 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.