emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Bill White <billw@wolfram.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: newbie - gnus links/split windows/breadcrumbs
Date: Tue, 10 Feb 2009 23:36:28 +0100	[thread overview]
Message-ID: <D4D97814-7488-4A3A-BC04-CA3A09A2CDB7@uva.nl> (raw)
In-Reply-To: <87skmmgws7.fsf@wolfram.com>


On Feb 10, 2009, at 4:02 PM, Bill White wrote:

> Howdy -
>
> I've finally taken the plunge into org-mode - I'm transferring my  
> last 3
> years of old planner/muse notes to org for its better html export and
> its astounding rate of development.
>
> So naturally I've found a few little things that bug me:
>
> - gnus hyperlinks open a new frame, rather than teleporting me to my
>   running instance of gnus in the current frame.  Is it possible to
>   keep things in one frame?  My gnus links are of the form
>
>
> [[gnus:nnml:wri.d-wpt#<87y719beqv.fsf@wolfram.com][E-Mail to Joe  
> Schmoe]]

http://thread.gmane.org/gmane.emacs.orgmode/2721/focus=2742

> - C-o on an "external link" to another file in my ~/org results in a
>   split window with the target file at the bottom.  Is it possible to
>   open targets in the same window?  When I follow a trail of links to
>   separate files (homepage -> project homepage with hundreds of
>   projects for my manager to read -> details of a single project) I'm
>   left with a tiny window and have to do C-x 1 to clean things up.

Again, customize org-link-frame-setup, and set
the `file' entry to `find-file'.

> - breadcrumbs: http://en.wikipedia.org/wiki/ 
> Breadcrumb_(navigation).  A
>   link from, say, ~/org/projects.org, to a nonexistent file,
>   [[file:blargh.org][blargh]], opens a buffer named blargh.org.
>   Immediately after creating the new buffer, would it be possible to
>   insert a link that points back to the calling page?  In this  
> example,
>   the following link would appear at the top of blargh.org:
>   [[file:projects.org][projects.org]].

There is nothing for this.  I guess you could insert a
function in change-major-mode-hook or so, when you get
there through linking, `old-buffer' will contain the
buffer where the link was called.  However, you need to
be careful here because this function will be called
in many other occasions as well.
So something like

(when (and (eq this-command 'org-open-at-point)
            (boundp 'old-buffer)
            (equal (point-min) (point-max))
           ......

... and maybe even more precautions...


HTH

- Carsten

  reply	other threads:[~2009-02-10 22:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-10 15:02 newbie - gnus links/split windows/breadcrumbs Bill White
2009-02-10 22:36 ` Carsten Dominik [this message]
2009-02-10 22:40 ` Samuel Wales

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=D4D97814-7488-4A3A-BC04-CA3A09A2CDB7@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=billw@wolfram.com \
    --cc=emacs-orgmode@gnu.org \
    /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).