emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: (org-table-next-row) and # - bug or feature?
Date: Fri, 22 Mar 2013 02:08:34 +0100	[thread overview]
Message-ID: <87r4j8kzql.fsf@gmail.com> (raw)


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	other threads:[~2013-03-22  1:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-22  1:08 Thorsten Jolitz [this message]
2013-03-22  1:36 ` (org-table-next-row) and # - bug or feature? Thorsten Jolitz
2013-04-06  0:42   ` Bastien

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=87r4j8kzql.fsf@gmail.com \
    --to=tjolitz@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).