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

Hello.

Firstly, thanks for org-mode! This mode is awesome!

I think I've found a bug (but this bug is of little importance).

For example, I have the following folded headline:

*[*]* Read books...

where [] indicates where cursor is. In this case the cursor is over
the second asterisk (this note is important).

If I want to create another headline which is of the same level as the
current one I should press C-<RET>.

Here is what happens when I do that:

*** Read books
...
*** []

Content of the "Read books" headline isn't losed, but wrong position
of "..." confuses me (and maybe forces some users to think that the
content was losed).

The same happens when using C-S-<RET> instead of C-<RET>.

I use org-mode 6.10c, coming with the latest emacs from CVS.

Here is part of my config file related to org-mode:

;; The following lines are always needed.  Choose your own keys.
(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)  ; Org buffers only

(setq org-special-ctrl-a/e t)
(setq org-hide-leading-stars t)
(setq org-odd-levels-only t)
(setq org-cycle-separator-lines 1)
(setq org-goto-auto-isearch nil)

--
Sergey A.

             reply	other threads:[~2008-10-27 17:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-27 17:50 Sergey A. [this message]
2008-10-27 21:43 ` Strange behavior of C-RET and C-S-RET Carsten Dominik
2008-10-28  1:13   ` Bernt Hansen
2008-10-28 16:40   ` Peter Jones
2008-11-01  1:22 ` Sergey A.
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=3bff71aa0810271050u4274ba6fh45c88e477269e6b5@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).