emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] newbie - gnus links/split windows/breadcrumbs


From: Carsten Dominik
Subject: Re: [Orgmode] newbie - gnus links/split windows/breadcrumbs
Date: Tue, 10 Feb 2009 23:36:28 +0100


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#<address@hidden 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 via email to

[Prev in Thread] Current Thread [Next in Thread]