emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James K. Lin <james2k2lin@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: Small bug? org-narrow-to-subtree and open file link
Date: Fri, 6 Mar 2015 16:59:25 +0000 (UTC)	[thread overview]
Message-ID: <loom.20150306T174914-896@post.gmane.org> (raw)
In-Reply-To: 874mpydt3g.fsf@gmail.com

Igor Sosa Mayor <joseleopoldo1792 <at> gmail.com> writes:

> 
> Hi,
> 
> maybe this is a small bug or something wrong in my config...
> 
> But: if I use org-narrow-to-subtree and then use org-return to open a
> file link the narrowed function get lost and I get the whole buffer
> again. This happens at least if I get a question because the file is too
> big and I have to decide whether I want to open it (this by the way
> divides the window very unexpectedly...).
> 
> I'm using Org-mode version 8.2.10.
> 
> Any hint?
> 
> Many thanks in advance!
> 
> 

Igor,

org-narrow-to-subtree creates a subtree buffer. Your org-return call within
that new subtree buffer command operates on the base buffer. Many of Org's
link navigation commands operate this way because they use the base buffer
as their context.

  reply	other threads:[~2015-03-06 17:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 15:49 Small bug? org-narrow-to-subtree and open file link Igor Sosa Mayor
2015-03-06 16:59 ` James K. Lin [this message]
2015-03-06 18:52   ` Igor Sosa Mayor
2015-03-07  0:22     ` James K. Lin
2015-03-08  9:34       ` Igor Sosa Mayor

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=loom.20150306T174914-896@post.gmane.org \
    --to=james2k2lin@yahoo.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).