From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#7292: view-mode clobbers speedbar bindings Date: Fri, 29 Oct 2010 03:49:29 -0400 Message-ID: References: <4CC8BDBE.4090709@gmail.com> <7lr5fbuiji.fsf@fencepost.gnu.org> <4CC8E9E9.8080104@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1288340027 18154 80.91.229.12 (29 Oct 2010 08:13:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Oct 2010 08:13:47 +0000 (UTC) Cc: 7292@debbugs.gnu.org To: Ryan Twitchell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 29 10:13:46 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PBk5l-000630-L6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Oct 2010 10:13:41 +0200 Original-Received: from localhost ([127.0.0.1]:43768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBk5k-0001ku-Pw for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Oct 2010 04:13:40 -0400 Original-Received: from [140.186.70.92] (port=45367 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBk5H-0001ej-KT for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2010 04:13:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBk5E-00033z-CS for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2010 04:13:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBk5E-00033v-9e for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2010 04:13:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PBjf0-0000NQ-8Z; Fri, 29 Oct 2010 03:46:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <4CC8BDBE.4090709@gmail.com> Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Oct 2010 07:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7292 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7292-submit@debbugs.gnu.org id=B7292.12883383241440 (code B ref 7292); Fri, 29 Oct 2010 07:46:02 +0000 Original-Received: (at 7292) by debbugs.gnu.org; 29 Oct 2010 07:45:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PBjeN-0000NB-VK for submit@debbugs.gnu.org; Fri, 29 Oct 2010 03:45:24 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PBjeL-0000N6-UR for 7292@debbugs.gnu.org; Fri, 29 Oct 2010 03:45:22 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PBjiM-0002Yh-8Z; Fri, 29 Oct 2010 03:49:30 -0400 X-Spook: class struggle subversive STARLAN Ft. Bragg Soviet John X-Ran: #5J-T+*fL=y;l@~3ZYYGn4Pl)z)I8fN:B.Y+'B:T8Fe7X5w1B8sE`Qt>VNR:d2}wa=QOH. X-Hue: yellow X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 29 Oct 2010 03:46:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41214 Archived-At: Ryan Twitchell wrote: >> (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. That doesn't make sense to me. I replace several inappropriate uses, including the speedbar one. I wonder if toggle-read-only should even be added to byte-compile-interactive-only-functions.