emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Lluís <xscript@gmx.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [bug] org-insert-link in different frame
Date: Tue, 6 Apr 2010 12:10:23 +0200	[thread overview]
Message-ID: <0469E0FC-C43F-4FDD-A3C6-C700029D7DA7@gmail.com> (raw)
In-Reply-To: <86k4stzq2h.wl%lluis@ginnungagap.pc.ac.upc.edu>

Hi Lluis, would you like to make a patch for me to fix this?

- Carsten

On Mar 30, 2010, at 7:17 PM, Lluís wrote:

> I tried to insert a previously stored link in an org-mode buffer  
> that was in a
> `framepop' buffer (framepop "pins" a buffer in a separate frame, and  
> all
> interactions are redirected to the non-framepop frame).
>
> The result is that '(get-buffer-window "*Org Links*")' returns 'nil'  
> 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  
> that
> argument still escapes my knowledge (I supose `t' would be safe and  
> 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  
> somehow
> unable to prevent the excursion, thus showing me the agenda buffer  
> on my main
> working frame.
>
> I tried a `framepop-toggle-frame' before and after the `save- 
> excursion' code if
> `selected-frame' is `framepop-frame' (which should get back to the  
> "working"
> frame and thus save excursions in there). Even if the framepop-frame  
> 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  
> 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

  reply	other threads:[~2010-04-06 10:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-30 17:17 [bug] org-insert-link in different frame Lluís
2010-04-06 10:10 ` Carsten Dominik [this message]
2010-04-07 16:16   ` Lluís
2010-04-08  7:18     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0469E0FC-C43F-4FDD-A3C6-C700029D7DA7@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=xscript@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).