From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: newbie - gnus links/split windows/breadcrumbs Date: Tue, 10 Feb 2009 23:36:28 +0100 Message-ID: References: <87skmmgws7.fsf@wolfram.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LX1DX-00065m-Tx for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 17:36:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LX1DW-00065S-Kp for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 17:36:35 -0500 Received: from [199.232.76.173] (port=48075 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LX1DW-00065P-G3 for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 17:36:34 -0500 Received: from mail-ew0-f20.google.com ([209.85.219.20]:44764) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LX1DV-0003sb-Vp for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 17:36:34 -0500 Received: by ewy13 with SMTP id 13so202656ewy.18 for ; Tue, 10 Feb 2009 14:36:32 -0800 (PST) In-Reply-To: <87skmmgws7.fsf@wolfram.com> 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: Bill White Cc: emacs-orgmode@gnu.org 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