emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* A bug in org-fix-bullet-type
@ 2010-03-17 12:52 Leo
  2010-03-17 14:37 ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Leo @ 2010-03-17 12:52 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

In an org buffer with the following:

1. one
   - another one|
2. two
3. tree

Place the point at | and M-left, the point will no longer at |.

I think this is due to org-fix-bullet-type which restores point position
by column. But org-fix-bullet-type could insert different length of text
depending on the list item type (ie - or 1. or 1)).

Cheers,
Leo

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: A bug in org-fix-bullet-type
  2010-03-17 12:52 A bug in org-fix-bullet-type Leo
@ 2010-03-17 14:37 ` Carsten Dominik
  2010-03-17 14:45   ` Emilio Jesús Gallego Arias
  2010-03-17 14:54   ` Leo
  0 siblings, 2 replies; 6+ messages in thread
From: Carsten Dominik @ 2010-03-17 14:37 UTC (permalink / raw)
  To: Leo; +Cc: emacs-orgmode

Hi Leo,

  am not able to reproduce this problem.

- Carsten

On Mar 17, 2010, at 1:52 PM, Leo wrote:

> Hello,
>
> In an org buffer with the following:
>
> 1. one
>   - another one|
> 2. two
> 3. tree
>
> Place the point at | and M-left, the point will no longer at |.
>
> I think this is due to org-fix-bullet-type which restores point  
> position
> by column. But org-fix-bullet-type could insert different length of  
> text
> depending on the list item type (ie - or 1. or 1)).
>
> Cheers,
> Leo
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: A bug in org-fix-bullet-type
  2010-03-17 14:37 ` Carsten Dominik
@ 2010-03-17 14:45   ` Emilio Jesús Gallego Arias
  2010-03-17 14:54   ` Leo
  1 sibling, 0 replies; 6+ messages in thread
From: Emilio Jesús Gallego Arias @ 2010-03-17 14:45 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <carsten.dominik@gmail.com> writes:

>  am not able to reproduce this problem.

I am, doing org-outdent-item replaces the "-" char for "2.", thus the
point is one char earlier.

Whether to call this behavior a bug I don't know.

Regards,
Emilio

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: A bug in org-fix-bullet-type
  2010-03-17 14:37 ` Carsten Dominik
  2010-03-17 14:45   ` Emilio Jesús Gallego Arias
@ 2010-03-17 14:54   ` Leo
  2010-03-17 15:11     ` Carsten Dominik
  1 sibling, 1 reply; 6+ messages in thread
From: Leo @ 2010-03-17 14:54 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

On 2010-03-17 14:37 +0000, Carsten Dominik wrote:
> Hi Leo,
>
>  am not able to reproduce this problem.
>
> - Carsten

Odd. I can reproduce it with org 6.34 trans from git repo. I attach two
screen shots to show the difference.


[-- Attachment #2: org-before.png --]
[-- Type: image/png, Size: 11059 bytes --]

[-- Attachment #3: org-after.png --]
[-- Type: image/png, Size: 11309 bytes --]

[-- Attachment #4: Type: text/plain, Size: 12 bytes --]


Best,

Leo

[-- Attachment #5: Type: text/plain, Size: 201 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: A bug in org-fix-bullet-type
  2010-03-17 14:54   ` Leo
@ 2010-03-17 15:11     ` Carsten Dominik
  2010-03-17 15:30       ` Leo
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2010-03-17 15:11 UTC (permalink / raw)
  To: Leo, Emilio Jesús Gallego Arias; +Cc: emacs-orgmode

Yes, I now see it as well.

Fixed, thanks.

- Carsten

On Mar 17, 2010, at 3:54 PM, Leo wrote:

> On 2010-03-17 14:37 +0000, Carsten Dominik wrote:
>> Hi Leo,
>>
>> am not able to reproduce this problem.
>>
>> - Carsten
>
> Odd. I can reproduce it with org 6.34 trans from git repo. I attach  
> two
> screen shots to show the difference.
>
> <org-before.png><org-after.png>
> Best,
>
> Leo
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: A bug in org-fix-bullet-type
  2010-03-17 15:11     ` Carsten Dominik
@ 2010-03-17 15:30       ` Leo
  0 siblings, 0 replies; 6+ messages in thread
From: Leo @ 2010-03-17 15:30 UTC (permalink / raw)
  To: emacs-orgmode

On 2010-03-17 15:11 +0000, Carsten Dominik wrote:
> Yes, I now see it as well.
>
> Fixed, thanks.
>
> - Carsten

Many thanks, Carsten.

Leo

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-17 15:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 12:52 A bug in org-fix-bullet-type Leo
2010-03-17 14:37 ` Carsten Dominik
2010-03-17 14:45   ` Emilio Jesús Gallego Arias
2010-03-17 14:54   ` Leo
2010-03-17 15:11     ` Carsten Dominik
2010-03-17 15:30       ` Leo

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).