all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Parham Doustdar <parham90@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Using org-table-next-line creates a new row when used on the header row [9.6.21 ( @ /Users/parhamdoustdar/.emacs.d/elpa/org-9.6.21/)]
Date: Wed, 13 Mar 2024 14:18:24 +0000	[thread overview]
Message-ID: <87y1amusen.fsf@localhost> (raw)
In-Reply-To: <B35D543F-6A6C-4F7D-913F-E8CBB6B9BC1B@gmail.com>

Parham Doustdar <parham90@gmail.com> writes:

> If you run org-table-next-row on the very first line of a table that has a “horizontal rule”, it inserts a row above the horizontal rule, instead of skipping over it.

This is expected.
`org-table-next-row' is, by default, bound to <RET>.
When current row is the last row in the table <RET> will create a new
empty row.
When current row is before hline, <RET> again creates a new empty row -
useful when editing tables separated into several parts by hlines:

| a | b |
|---+---|
| 1 | 2 |
| 3 | 4<point> |
|---+---|
| X | Y |

In the above, <RET> conveniently extends the current table span between
hline separators.

Not a bug.
Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


      reply	other threads:[~2024-03-13 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-13 13:54 [BUG] Using org-table-next-line creates a new row when used on the header row [9.6.21 ( @ /Users/parhamdoustdar/.emacs.d/elpa/org-9.6.21/)] Parham Doustdar
2024-03-13 14:18 ` Ihor Radchenko [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1amusen.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=parham90@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.