From: Carsten Dominik <dominik@uva.nl>
To: Jeff Li <jeff.common@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug with inserting a heading in narrowed buffer ?
Date: Thu, 17 Jul 2008 09:58:04 -0700 [thread overview]
Message-ID: <07642543-7ADA-433E-B4AF-1D806C299AAC@uva.nl> (raw)
In-Reply-To: <50fed86f0807161906n4f22b65co7379dd870f5a0a34@mail.gmail.com>
Fixed, thanks.
- Carsten
On Jul 16, 2008, at 7:06 PM, Jeff Li wrote:
> Hi, Carsten and list,
>
> It seems there is a bug with inserting a new heading in a narrowed
> org-mode buffer. I am using version 6.05
>
> The bug can be reproduced with the following 2 lines test file:
>
> * heading A
> * heading B
>
> 1. narrow to "heading A" subtree. (C-x n s)
> 2. goto the end of the buffer
> 3. insert a new heading.
> 4. widen the buffer again
>
> Now one can see the "heading B" is folded into the newly created
> heading.
>
> The problem seems to stem from the fact that "org-insert-heading" is
> unaware it is at the beginning of a new heading, because the buffer
> is narrowed.
>
> Thanks,
>
> -Jeff
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2008-07-17 16:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-17 2:06 Bug with inserting a heading in narrowed buffer ? Jeff Li
2008-07-17 16:58 ` Carsten Dominik [this message]
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=07642543-7ADA-433E-B4AF-1D806C299AAC@uva.nl \
--to=dominik@uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=jeff.common@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).