From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rolf Unger Subject: Re: Infinite Loop with org-mode and speedbar with cc-mode Date: Tue, 18 Nov 2008 15:46:52 +0100 Message-ID: <4922D55C.9030700@ctilabs.de> References: <4922B863.7000105@ctilabs.de> <4237CB01-1702-41FE-B519-170B032F1B53@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2RrP-00016t-7s for emacs-orgmode@gnu.org; Tue, 18 Nov 2008 09:47:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2RrN-00016d-G6 for emacs-orgmode@gnu.org; Tue, 18 Nov 2008 09:47:22 -0500 Received: from [199.232.76.173] (port=51931 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2RrN-00016T-75 for emacs-orgmode@gnu.org; Tue, 18 Nov 2008 09:47:21 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]:54897) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L2RrN-0000rK-1u for emacs-orgmode@gnu.org; Tue, 18 Nov 2008 09:47:21 -0500 In-Reply-To: <4237CB01-1702-41FE-B519-170B032F1B53@uva.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Okay Carsten, thank you, this modification makes it work again. I have posted this problem before to the gnu.emacs.help mailing list, because initially I had no clue that it could be related with org-mode. I will add a comment there refering to the patch. Thanks again especially for the impressive response time, Rolf. Carsten Dominik wrote: > Hi Rolf, > > does this patch help? > > > Best wishes. > > - Carsten Dominik > > ------------------------------------------------------------------------------------ > > diff -u org.el.orig org.el > --- org.el.orig 2008-11-18 14:54:12.000000000 +0100 > +++ org.el 2008-11-18 14:54:54.000000000 +0100 > @@ -14510,7 +14510,7 @@ > (define-key speedbar-file-key-map ">" > 'org-agenda-remove-restriction-lock) > (define-key speedbar-file-key-map "\C-c\C-x>" > 'org-agenda-remove-restriction-lock) > (add-hook 'speedbar-visiting-tag-hook > - (lambda () (org-show-context 'org-goto))))) > + (lambda () (and (org-mode-p) (org-show-context > 'org-goto)))))) > > > ;;; Fixes and Hacks for problems with other packages > ----------------------------------------------------------------------------------- >