emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] (org-table-next-row) and # - bug or feature?


From: Thorsten Jolitz
Subject: [O] (org-table-next-row) and # - bug or feature?
Date: Fri, 22 Mar 2013 02:08:34 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.2 (gnu/linux)

Hi List, 

is this a bug or a feature:

in all 4 following examples point is in cell 1x1 when calling 

,-----------------------
| M-x org-table-next-row
`-----------------------

| A | B |
|   |   |

| 1 | 2 |
|   |   |

| \ | / |
|   |   |

but 

| # | b |
| # |   |


For me at least it breaks a program that looks if e.g. cell 1x1 is
empty, and if it isn't, calls 'org-table-next-row' and then inserts in
new empty cell 2x1.

As it happens, # is among the characters my program tries to insert and
thus it enters an endless loop, since everytime it calls
'org-table-next-row', the new cell in the next-row/same-column will be
filled with # too, and never be empty.

I can't think of a situation where this behaviour could be useful. Its
probably a bug related to the use of '#' as 'comment-start' char in
Org-mode. 

-- 
cheers,
Thorsten





reply via email to

[Prev in Thread] Current Thread [Next in Thread]