emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Puneeth <punchagan@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: bug: org-narrow-to-subtree
Date: Mon, 1 Nov 2010 20:52:04 +0100	[thread overview]
Message-ID: <0FCA5AA0-FAF6-4129-80B3-8E2B3BF85580@gmail.com> (raw)
In-Reply-To: <AANLkTi=TYXMKAPoNs5_j24VSW0xoQwQQ+0kJbOxGvQWJ@mail.gmail.com>

Hi Puneeth,

I am unable to reproduce this problem....

Greetings

- Carsten

On Nov 1, 2010, at 2:32 PM, Puneeth wrote:

> Hi,
>
> I hit a minor bug with the function org-narrow-to-subtree.
>
> When I narrow to a headline (subtree with just the headline) present
> at the end of a file, the last character of the headline isn't present
> in the narrowed region. [file1.org and file2.org shown at the end of
> the message are examples]
>
> I am attaching a possible patch for the same, but I don't think that
> is the "cleanest" way to handle it. Hope it'll help some one else to
> fix it in a better way.
>
> Thanks,
> Puneeth
>
> file1.org
> -----------------
> * Hello
> * World
> * TestEOF
> -----------------
>
> file2.org
> ------------------
> * Test
> *** World
> *** Hello 1EOF
> ------------------
> <org-narrow.patch.txt>_______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2010-11-01 20:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-01 13:32 bug: org-narrow-to-subtree Puneeth
2010-11-01 18:30 ` David Maus
2010-11-01 19:52 ` Carsten Dominik [this message]
2010-11-02  3:28   ` Puneeth

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=0FCA5AA0-FAF6-4129-80B3-8E2B3BF85580@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=punchagan@gmail.com \
    /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).