From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ryan Twitchell Newsgroups: gmane.emacs.bugs Subject: bug#7292: view-mode clobbers speedbar bindings Date: Wed, 27 Oct 2010 20:03:10 -0400 Message-ID: <4CC8BDBE.4090709@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288226598 14200 80.91.229.12 (28 Oct 2010 00:43:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2010 00:43:18 +0000 (UTC) To: 7292@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 28 02:43:17 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 1PBGaK-00068W-04 for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Oct 2010 02:43:16 +0200 Original-Received: from localhost ([127.0.0.1]:42144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBGaJ-0001TF-Bp for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Oct 2010 20:43:15 -0400 Original-Received: from [140.186.70.92] (port=57271 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBGaA-0001SW-Qe for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2010 20:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBGa9-0003mr-Gq for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2010 20:43:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBGa9-0003mn-Ei for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2010 20:43:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PBG65-0001Me-Sr; Wed, 27 Oct 2010 20:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ryan Twitchell Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Oct 2010 00:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7292 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12882246845226 (code B ref -1); Thu, 28 Oct 2010 00:12:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Oct 2010 00:11: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 1PBG5S-0001ME-FC for submit@debbugs.gnu.org; Wed, 27 Oct 2010 20:11:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PBFyJ-0001Iv-De for submit@debbugs.gnu.org; Wed, 27 Oct 2010 20:03:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBG2F-0004IO-7k for submit@debbugs.gnu.org; Wed, 27 Oct 2010 20:08:07 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:54272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBG2B-0004Gu-0Y for submit@debbugs.gnu.org; Wed, 27 Oct 2010 20:08:03 -0400 Original-Received: from [140.186.70.92] (port=48588 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBG20-0001pw-4Y for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2010 20:07:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBFxb-0003dl-EO for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2010 20:03:16 -0400 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:41028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBFxb-0003df-CF for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2010 20:03:15 -0400 Original-Received: by qwi2 with SMTP id 2so1297811qwi.0 for ; Wed, 27 Oct 2010 17:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=QC6ci21FNeUbr/4Xm2953DqDWhOe/ia2uUDtdgMhoDU=; b=b99pTe0S344Cjl1zBdxC8BqiMoHqKAlk1nBo/iX6ORk2fqde2XKnYYsVF+WEzRuhrd Loj1dTSUosbynFM77kD1cnQchoF9TjCTNWrmMnb1GJ6ZA9XpTQz2LM6xfPiqXJ5k5BIK hGRLvK+12kuWbdS0xz+COKwgYbQ57xLf/bM30= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=NGyvaaNPNK+kWoVlRxbwjGJIWzvDKJhoXzOnZCKKWpDrWeXfx+crna7oR+H4lGhSm2 nX1bkJKSkORx7VWa+A/LlTvCvqUMtuyKb+JzPQN3lCTt9lfvLW9OWdpe1Uyp8aK2EF1y GmcPQHoNvva8QyBInNj+IrpWZ2Jpkweuuolh0= Original-Received: by 10.224.128.147 with SMTP id k19mr2852183qas.23.1288224193895; Wed, 27 Oct 2010 17:03:13 -0700 (PDT) Original-Received: from [192.168.1.28] (cpe-74-74-249-54.rochester.res.rr.com [74.74.249.54]) by mx.google.com with ESMTPS id l9sm231295vbp.11.2010.10.27.17.03.12 (version=SSLv3 cipher=RC4-MD5); Wed, 27 Oct 2010 17:03:13 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.11) Gecko/20101025 Lightning/1.0b3pre Thunderbird/3.1.5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Wed, 27 Oct 2010 20:11:21 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 27 Oct 2010 20:12:01 -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:41173 Archived-At: Hi, A number of speedbar's bindings, such as 'n' and 'p', do not work with view-mode enabled in the speedbar buffer (which makes no sense anyway). This is relevant when view-read-only is set, causing speedbar-mode to implicitly enable view-mode. For my part, I have redefined speedbar-mode in my .emacs file as follows: (require 'speedbar) (defvar real-speedbar-mode #'speedbar-mode) (defun speedbar-mode () (let ((view-read-only nil)) (funcall #'real-speedbar-mode))) This appears to solve the problem. speedbar-mode calls toggle-read-only; binding view-read-only to nil around that call should be a more permanent fix. M-x emacs-version GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-09-26 on falconsrevenge Thanks, Ryan Twitchell