[Orgmode] Strange behavior of C-RET and C-S-RET

2008-10-27 Thread Sergey A.
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-.

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- instead of C-.

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.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Strange behavior of C-RET and C-S-RET

2008-10-31 Thread Sergey A.
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.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Strange behavior of C-RET and C-S-RET

2008-11-03 Thread Sergey A.
Hello.

I verified. The latest org-mode from git doesn't contain this bug. Thanks a lot!

2008/11/2 Carsten Dominik <[EMAIL PROTECTED]>:
> I believe this is fixed now, please verify.
>
> - Carsten
>
> On Nov 1, 2008, at 2:22 AM, Sergey A. wrote:
>
>> 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.
>>
>>
>> ___
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] An another small bug with C-

2008-11-03 Thread Sergey A.
Hello.

This bug isn't so significant, but maybe the following steps to
reproduce will help to identify more complex bugs (if those exist)
based on this.

Suppose we have the following file opened in your emacs:

*** foo
* bar

1. Move the cursor to the end of the last line (here [] represents the cursor):

*** foo
* bar[]

and type some C-k to delete all the possible spaces and newline
symbols. Don't save file after this.

2. Then type C-. Here is what you'll see:

*** foo
* bar* []

Here is what I expected to see:

*** foo
* bar
* []

I use the latest emacs from CVS and the latest org-mode from git.

Thanks.

--
Sergey


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode