From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [bug] org-insert-link in different frame Date: Tue, 6 Apr 2010 12:10:23 +0200 Message-ID: <0469E0FC-C43F-4FDD-A3C6-C700029D7DA7@gmail.com> References: <86k4stzq2h.wl%lluis@ginnungagap.pc.ac.upc.edu> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nz5ju-00072l-Fu for emacs-orgmode@gnu.org; Tue, 06 Apr 2010 06:10:34 -0400 Received: from [140.186.70.92] (port=55306 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nz5jr-00070S-Tu for emacs-orgmode@gnu.org; Tue, 06 Apr 2010 06:10:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nz5jl-0003rp-VR for emacs-orgmode@gnu.org; Tue, 06 Apr 2010 06:10:31 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:40382) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nz5jl-0003r9-Pt for emacs-orgmode@gnu.org; Tue, 06 Apr 2010 06:10:25 -0400 Received: by ewy6 with SMTP id 6so42784ewy.32 for ; Tue, 06 Apr 2010 03:10:25 -0700 (PDT) In-Reply-To: <86k4stzq2h.wl%lluis@ginnungagap.pc.ac.upc.edu> 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: =?ISO-8859-1?Q?Llu=EDs?= Cc: emacs-orgmode@gnu.org Hi Lluis, would you like to make a patch for me to fix this? - Carsten On Mar 30, 2010, at 7:17 PM, Llu=EDs wrote: > I tried to insert a previously stored link in an org-mode buffer =20 > that was in a > `framepop' buffer (framepop "pins" a buffer in a separate frame, and =20= > all > interactions are redirected to the non-framepop frame). > > The result is that '(get-buffer-window "*Org Links*")' returns 'nil' =20= > and thus > the function throws an exception. > > This could be easily fixed by using the second argument FRAME in > `get-buffer-window'. In any case, which would be the best value for =20= > that > argument still escapes my knowledge (I supose `t' would be safe and =20= > work in all > cases). > > I'm using version 6.34c. > > > In an unrelated note, I'm using an approach similar to that of > > http://tsdh.wordpress.com/2009/03/ > > and when saving an org-mode file in the framepop frame, the hook is =20= > somehow > unable to prevent the excursion, thus showing me the agenda buffer =20 > on my main > working frame. > > I tried a `framepop-toggle-frame' before and after the `save-=20 > excursion' code if > `selected-frame' is `framepop-frame' (which should get back to the =20 > "working" > frame and thus save excursions in there). Even if the framepop-frame =20= > is visibly > toggled, it still shows the same undesired behaviour. > > Thanks, > Lluis > > -- > "And it's much the same thing with knowledge, for whenever you learn > something new, the whole world becomes that much richer." > -- The Princess of Pure Reason, as told by Norton Juster in The =20 > Phantom > Tollbooth > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten