From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sergey A." Subject: Re: Strange behavior of C-RET and C-S-RET Date: Fri, 31 Oct 2008 18:22:53 -0700 Message-ID: <3bff71aa0810311822l1cda26d4ybce08054cccdf96b@mail.gmail.com> References: <3bff71aa0810271050u4274ba6fh45c88e477269e6b5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kw5Cc-0007z8-Jp for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 21:22:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw5Cb-0007xC-IS for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 21:22:57 -0400 Received: from [199.232.76.173] (port=35469 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw5Cb-0007wz-89 for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 21:22:57 -0400 Received: from fg-out-1718.google.com ([72.14.220.154]:26991) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kw5Ca-0001Y7-7x for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 21:22:56 -0400 Received: by fg-out-1718.google.com with SMTP id l26so1301524fgb.30 for ; Fri, 31 Oct 2008 18:22:53 -0700 (PDT) In-Reply-To: <3bff71aa0810271050u4274ba6fh45c88e477269e6b5@mail.gmail.com> Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello. I didn't think that the bug will be so difficult to reproduce. In my case, the bug always happens with the following file: *** foo ***** bar Below is the steps to reproduce that 100% works to me: 1) File is opened, headline is folded, cursor is on the second asterisk: *[*]* foo... 2) After pressing C-, I see the following: *** foo ... *** If instead of "***** bar" there is " bar", then the bug doesn't happen. I've deleted some tweaks to orgmode, so my config now is: (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (global-set-key "\C-cb" 'org-iswitchb) (add-hook 'org-mode-hook 'turn-on-font-lock) I've rebuild my emacs from CVS before testing. P.S. I use Archlinux. -- Sergey.