From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Burtzlaff Subject: Re: [ANN] org-fstree 0.2 Date: Sat, 4 Apr 2009 05:01:03 +0200 Message-ID: <20090404050103.2fab2918.andy13@gmx.net> References: <20090321041113.686f8bba.andy13@gmx.net> <878wmz4nwq.fsf@kassiopeya.MSHEIMNETZ> <20090321061235.f08ba725.andy13@gmx.net> <87ab7cxw3j.fsf@kassiopeya.MSHEIMNETZ> <20090329005415.014ca2c3.andy13@gmx.net> <87ab756qgf.fsf@kassiopeya.MSHEIMNETZ> <20090329144140.d331b306.andy13@gmx.net> <87ocvks19z.fsf@kassiopeya.MSHEIMNETZ> <7bef1f890903310248h3b102589s4257a167c2f6cc73@mail.gmail.com> <20090401031236.ebdc956a.andy13@gmx.net> <20090402015038.5be34e5a.andy13@gmx.net> <1DDCDC20-A5FA-4161-A21C-609B36E37BB4@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sat__4_Apr_2009_05_01_03_+0200_tYANnSU3Cn8XLfoE" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LpuBt-0006Bs-PY for emacs-orgmode@gnu.org; Fri, 03 Apr 2009 20:56:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LpuBo-00062a-Aw for emacs-orgmode@gnu.org; Fri, 03 Apr 2009 20:56:56 -0400 Received: from [199.232.76.173] (port=37297 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LpuBo-00062Q-3l for emacs-orgmode@gnu.org; Fri, 03 Apr 2009 20:56:52 -0400 Received: from mail.gmx.net ([213.165.64.20]:49051) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LpuBn-0006g4-H6 for emacs-orgmode@gnu.org; Fri, 03 Apr 2009 20:56:51 -0400 In-Reply-To: <1DDCDC20-A5FA-4161-A21C-609B36E37BB4@gmail.com> 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 This is a multi-part message in MIME format. --Multipart=_Sat__4_Apr_2009_05_01_03_+0200_tYANnSU3Cn8XLfoE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Carsten, On Fri, 3 Apr 2009 11:45:44 +0200 Carsten Dominik wrote: > > Hm, that works for links to files, but strangely it doesn't for > > links to headings in 6.25: > > True, > > and I have no idea why that is so. Very strange bug, one > of those only Nick Dokos can find :-) you didn't count me in :-). Attached is the patch against org.el (from 6.25b) Andreas --Multipart=_Sat__4_Apr_2009_05_01_03_+0200_tYANnSU3Cn8XLfoE Content-Type: text/x-patch; name="org.el.diff" Content-Disposition: attachment; filename="org.el.diff" Content-Transfer-Encoding: 7bit 7445,7450c7445,7451 < (with-temp-buffer < (let ((org-inhibit-startup t)) < (org-mode) < (insert s) < (goto-char (point-min)) < (org-open-at-point arg)))) --- > (let ((reference-buffer (current-buffer))) > (with-temp-buffer > (let ((org-inhibit-startup t)) > (org-mode) > (insert s) > (goto-char (point-min)) > (org-open-at-point arg reference-buffer))))) 7452c7453 < (defun org-open-at-point (&optional in-emacs) --- > (defun org-open-at-point (&optional in-emacs reference-buffer) 7515a7517,7518 > ;; if called in a temporary buffer (from org-open-link-from-string), switch back to original buffer > (cond (reference-buffer (switch-to-buffer reference-buffer))) --Multipart=_Sat__4_Apr_2009_05_01_03_+0200_tYANnSU3Cn8XLfoE Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Multipart=_Sat__4_Apr_2009_05_01_03_+0200_tYANnSU3Cn8XLfoE--