From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yasushi SHOJI Subject: Bug: org-meta-return in narrowed buffer makes the last line invisible Date: Sat, 25 May 2013 18:02:05 +0900 Message-ID: <87hahr1lgy.wl@dns1.atmark-techno.com> Mime-Version: 1.0 (generated by SEMI 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgAMq-00054c-G4 for emacs-orgmode@gnu.org; Sat, 25 May 2013 05:02:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgAMn-0004wp-Qw for emacs-orgmode@gnu.org; Sat, 25 May 2013 05:02:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:45667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgAMn-0004wf-KL for emacs-orgmode@gnu.org; Sat, 25 May 2013 05:02:21 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UgAMl-0000jM-E7 for emacs-orgmode@gnu.org; Sat, 25 May 2013 11:02:19 +0200 Received: from p654785.hkidff01.ap.so-net.ne.jp ([121.101.71.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 May 2013 11:02:19 +0200 Received: from yashi by p654785.hkidff01.ap.so-net.ne.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 May 2013 11:02:19 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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