Hello,

Nick Helm <n...@tenpoint.co.nz> writes:

> Deleting a region within an org table causes point to jump.
>
> Recipe:
>
>   Emacs -Q
>   org-mode
>
>   ;make a table
>   | this is a simple | table |
>
>   double-click "simple" ;place region over a word
>   <backspace>
>
> With the last command, I expect the word "simple" to be deleted, the
> right-hand "|" separator (and following column) to close up six chars,
> and point to end up to the right of "a ".
>
> Note however that point winds up in the middle of the next column over
> the word "table". Or, more precisely, one screen column to the left of
> where it started. An additional space is also inserted in the first
> column.
>
> I had a look at org.el and I think this occurs because the function
> `org-delete-backward-char' (which my system calls by default to delete
> text in a table) is unaware of the region and treats the case above as a
> single char backwards delete.

Good catch!

Fixed. Thank you for the report and the analysis.

Regards,

-- 
Nicolas Goaziou

Reply via email to