emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sergey A." <n39052@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Strange behavior of C-RET and C-S-RET
Date: Fri, 31 Oct 2008 18:22:53 -0700	[thread overview]
Message-ID: <3bff71aa0810311822l1cda26d4ybce08054cccdf96b@mail.gmail.com> (raw)
In-Reply-To: <3bff71aa0810271050u4274ba6fh45c88e477269e6b5@mail.gmail.com>

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-<RET>, 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.

  parent reply	other threads:[~2008-11-01  1:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-27 17:50 Strange behavior of C-RET and C-S-RET Sergey A.
2008-10-27 21:43 ` Carsten Dominik
2008-10-28  1:13   ` Bernt Hansen
2008-10-28 16:40   ` Peter Jones
2008-11-01  1:22 ` Sergey A. [this message]
2008-11-02  7:43   ` Carsten Dominik
2008-11-03 12:09     ` Sergey A.

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=3bff71aa0810311822l1cda26d4ybce08054cccdf96b@mail.gmail.com \
    --to=n39052@gmail.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).