emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* newbie - gnus links/split windows/breadcrumbs
@ 2009-02-10 15:02 Bill White
  2009-02-10 22:36 ` Carsten Dominik
  2009-02-10 22:40 ` Samuel Wales
  0 siblings, 2 replies; 3+ messages in thread
From: Bill White @ 2009-02-10 15:02 UTC (permalink / raw)
  To: emacs-orgmode

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]]

 - 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.

 - 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]].

Thanks -

bw
-- 
Bill White . billw@wolfram.com . http://members.wolfram.com/billw
"No ma'am, we're musicians."

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: newbie - gnus links/split windows/breadcrumbs
  2009-02-10 15:02 newbie - gnus links/split windows/breadcrumbs Bill White
@ 2009-02-10 22:36 ` Carsten Dominik
  2009-02-10 22:40 ` Samuel Wales
  1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2009-02-10 22:36 UTC (permalink / raw)
  To: Bill White; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: newbie - gnus links/split windows/breadcrumbs
  2009-02-10 15:02 newbie - gnus links/split windows/breadcrumbs Bill White
  2009-02-10 22:36 ` Carsten Dominik
@ 2009-02-10 22:40 ` Samuel Wales
  1 sibling, 0 replies; 3+ messages in thread
From: Samuel Wales @ 2009-02-10 22:40 UTC (permalink / raw)
  To: Bill White; +Cc: emacs-orgmode

On Tue, Feb 10, 2009 at 08:02, Bill White <billw@wolfram.com> wrote:
>  - 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.

It should respect pop-up-windows.

-- 
Myalgic encephalomyelitis denialists are causing massive suffering and
25-years-early death by grossly corrupting science.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-10 22:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-10 15:02 newbie - gnus links/split windows/breadcrumbs Bill White
2009-02-10 22:36 ` Carsten Dominik
2009-02-10 22:40 ` Samuel Wales

Code repositories for project(s) associated with this 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).