From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Infinite Loop with org-mode and speedbar with cc-mode Date: Tue, 18 Nov 2008 16:09:44 +0100 Message-ID: <008DBB59-C798-4E33-84B4-10FAB5C1AF31@uva.nl> References: <4922B863.7000105@ctilabs.de> <4237CB01-1702-41FE-B519-170B032F1B53@uva.nl> <4922D55C.9030700@ctilabs.de> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2SD8-0006HX-Sl for emacs-orgmode@gnu.org; Tue, 18 Nov 2008 10:09:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2SD7-0006HF-DS for emacs-orgmode@gnu.org; Tue, 18 Nov 2008 10:09:50 -0500 Received: from [199.232.76.173] (port=47331 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2SD7-0006HC-A4 for emacs-orgmode@gnu.org; Tue, 18 Nov 2008 10:09:49 -0500 Received: from ug-out-1314.google.com ([66.249.92.171]:65057) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L2SD7-000318-CN for emacs-orgmode@gnu.org; Tue, 18 Nov 2008 10:09:49 -0500 Received: by ug-out-1314.google.com with SMTP id 36so273451uga.17 for ; Tue, 18 Nov 2008 07:09:47 -0800 (PST) In-Reply-To: <4922D55C.9030700@ctilabs.de> 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: Rolf Unger Cc: emacs-orgmode@gnu.org I have fixed this in our git repository, and also in CVS emacs. - Carsten On Nov 18, 2008, at 3:46 PM, Rolf Unger wrote: > 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 >> ----------------------------------------------------------------------------------- >>