emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yasushi SHOJI <yashi@atmark-techno.com>
To: emacs-orgmode@gnu.org
Subject: Bug: org-meta-return in narrowed buffer makes the last line invisible
Date: Sat, 25 May 2013 18:02:05 +0900	[thread overview]
Message-ID: <87hahr1lgy.wl@dns1.atmark-techno.com> (raw)

Hi,

In my current environment, org-meta-return seems to make the last line
of a buffer invisible if the buffer is narrowed.  At first I thought
the lines are gone but that was false.  All text are there but you
can't see it.

First, here is my environment:

 - Org-mode version 8.0.3 (release_8.0.3-150-g61d8eb @ /home/yashi/src/org-mode/lisp/)
 - "GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) of
   2013-04-14 on trouble, modified by Debian"
 - uname -a: Linux leno 3.8-2-amd64 #1 SMP Debian 3.8.13-1 x86_64 GNU/Linux
 - Debian Sid


Second, here is my step to reproduce:

 1. create a file with the following lines:
     #+BEGIN_SRC org
       ,* head
       ,** the last line in the narrow
       ,* the last line
     #+END_SRC
 2. emacs -Q
 3. open the above file
 4. narrow the buffer at 'head' with org-narrow-to-subtree
    to make the contents as below:
     #+BEGIN_SRC org
       ,* head
       ,** the last line in the narrow
     #+END_SRC
 5. org-meta-enter at the end of the first line.
    this makes the visible contents to be
     #+BEGIN_SRC org
       ,* head
       ,** the last line in the nar
     #+END_SRC

     notice that "narrow" became "nar"


Is this reproducible?  Does anyone see this bug?

Thanks,
-- 
               yashi

                 reply	other threads:[~2013-05-25  9:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87hahr1lgy.wl@dns1.atmark-techno.com \
    --to=yashi@atmark-techno.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).