From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AOTfE1+w8WXK1wAAe85BDQ:P1 (envelope-from ) for ; Wed, 13 Mar 2024 14:55:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AOTfE1+w8WXK1wAAe85BDQ (envelope-from ) for ; Wed, 13 Mar 2024 14:55:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=P3pCWmG2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710338143; a=rsa-sha256; cv=none; b=f4Jmqg0Ot/iUhV+rL0xxsVtvYU0RLA21Q3DxsjmGZ2wO7fqSYwzpI4BQ8WgRyT0ofxMIUq ty0NKf+iqP3zPglQuWxzd05eG8Q088PBMoQq+yyvEHDAuGt4Vw+6T8ivQ44KMJ0tPbshvY +4Can2vF3VyqycUs6sgifowVo9hz1SVdTeAYuboFG5nbAvepPWyZ5R0UQR7v4dMjoCFnzV lbET5xLQaCO1YJqHS95qE5O3RQtspmZLZ8tZVYpQBZNw54btChx5as9kF0I3mHfgH0eibW FXbisoFMPlTovWYqgCNTPuREU8tt6E7IsRo6sUxl2jsfcGNBEx0nODc7De5S7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=P3pCWmG2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710338143; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=xWSISNTDiXY+9SlhKPZi+efCHQIH6bc/0DX0U7RLDXA=; b=qTwEYMTb7LdfYgPV00vdSXa1HQrNsAKBk2EFOXZQQn1qqGl+39kL4nieNOtjJeh9oybm+7 udZNmN+CG0JalZ/CqUblJILnEqTLx+TYLZ7F7OBiwUIo4uAqPTjJDso8fis+EfyB04Zf7T Xch9+hnbuuTU0IfdVban08f+efUFhMef9af4KM5Wgs7ADDq2tqMNBUNlKQL7YzFFT7WJTy J7k4Z4QgMEeOs6ly4h9i4lIH6/GV0qcJUQjaHSB11Qt8eGlyRzMVlk16dT7uOzFYM1XNXo t3vYSr+oYjOGQ45lTJbDQniMBRr1jJcump4LzLGtvrkJiam3Njn/2OlTUsjyMA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1003D6A215 for ; Wed, 13 Mar 2024 14:55:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkP46-0001Ka-BD; Wed, 13 Mar 2024 09:54:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkP40-0001KE-Mh for emacs-orgmode@gnu.org; Wed, 13 Mar 2024 09:54:37 -0400 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rkP3x-0002t6-5B for emacs-orgmode@gnu.org; Wed, 13 Mar 2024 09:54:35 -0400 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5685d46b199so1524254a12.3 for ; Wed, 13 Mar 2024 06:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710338070; x=1710942870; darn=gnu.org; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=xWSISNTDiXY+9SlhKPZi+efCHQIH6bc/0DX0U7RLDXA=; b=P3pCWmG2tgocJKOvldN1YfWOUOKfGUSA6KUudeGHiYHTvXZRhIBIW9VPkh3y/QTs2D 0cDpC0H4CjzDIMy6ClCM5LZ6rliM5ZU4WqIvV6kyxNcSlU/KefhryKD2KYMH1WkKsZAp LjcubDn7lD5/4J6+en7dyk8Y+8PdxWTEly+ji2OSo88uPF8Ae+M+wzYDR05rq0lLwWiE RpHjXLbQJ1xoMyz1Y35FYR7KVUpAbuI/RKHceZp88sdxjKKrKIwX90fFR0zramjg0Llc eaA1mOqIh4+llgUXUQ4UgWLsVKey1pXssGY/zVofKl6m4pE3Y0sljQltr8BUI6AsGsCv WNCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710338070; x=1710942870; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xWSISNTDiXY+9SlhKPZi+efCHQIH6bc/0DX0U7RLDXA=; b=JgPd5ybAI2TqN3U1sBw4xH4F3/SgIpEdyF2VYYhIGCvjpK8wjhb5+Weej6tW8yCbsA ZfNPYJcnyla88+RMSfzHF6pfoH9ijcN44ldtUUeY4GUw2bZ13kPgKWW2UVewUwXtwVnl iZMbWWv1YVeeAj6NlB6Revo+otUshLIirBcE1ILWviQyu9KccQXP9Dauxh8+niSh4DXK Yt1KorVLoScqZiX6RPOHDb3F1yYXCqy8wwfE6yis5SGz0XuFMZNSHKyq0e8AyUYsg8PI 1D/sd1uZBzZl4VkLYq0jCGYt7hnwwksCdTpKlRYKx2p9oTCXYy6VYsWqSE8tOS3e43jX YuuA== X-Gm-Message-State: AOJu0YxRyVMM/syAnWjhqI2k3Y6z82318HJhZeaOkWIPLTtgZ64JJCWJ khIPf9F6reiqVLBdrvNO8hJiiVSLZuuJcmlT7mnjzZ80svFxSfyC7WSxf7th6Mc= X-Google-Smtp-Source: AGHT+IEjtk4Qwi3nNUKUOdvWkHCEgto/Uv2F2mEmD4wMJWuIplno5PXNKvqPdcZeSOdTEsq+/pn9Zw== X-Received: by 2002:a17:907:c286:b0:a46:4c8e:1afd with SMTP id tk6-20020a170907c28600b00a464c8e1afdmr2809008ejc.6.1710338070208; Wed, 13 Mar 2024 06:54:30 -0700 (PDT) Received: from smtpclient.apple (47-130-98-95.ftth.glasoperator.nl. [95.98.130.47]) by smtp.gmail.com with ESMTPSA id l20-20020a1709067d5400b00a46224d4442sm3329785ejp.212.2024.03.13.06.54.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Mar 2024 06:54:29 -0700 (PDT) From: Parham Doustdar Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: [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/)] Message-Id: Date: Wed, 13 Mar 2024 14:54:18 +0100 To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3774.500.171.1.1) Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=parham90@gmail.com; helo=mail-ed1-x52b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.07 X-Spam-Score: -9.07 X-Migadu-Queue-Id: 1003D6A215 X-TUID: yKSlUP5gjBKz Hi, I=E2=80=99m facing an issue, and I=E2=80=99m not sure if it=E2=80=99s a = bug, or a feature I don=E2=80=99t understand. I looked at the = documentation for org tables, but couldn=E2=80=99t find anything that = explicitly says I=E2=80=99m right or wrong. If you run org-table-next-row on the very first line of a table that has = a =E2=80=9Chorizontal rule=E2=80=9D, it inserts a row above the = horizontal rule, instead of skipping over it. Steps to reproduce: 1. Open a buffer and turn on org-mode 2. Create a test table like this: `| First column | Second column | C-c =E2=80=99 3. Move to the header line, that is, the very first line of the table = and do `M-x org-table-next-row =E2=80=99 Note that a new line gets created under the very first line, and now the = horizontal rule has moved to line number 3 of the table. What I expect to happen is for point to move to line 3 of the table, = that is, the very first line under the horizontal rule. Emacs : GNU Emacs 29.1 (build 1, aarch64-apple-darwin23.1.0, Carbon = Version 170 AppKit 2487.2) of 2023-11-20 Package: Org mode version 9.6.21 ( @ = /Users/parhamdoustdar/.emacs.d/elpa/org-9.6.21/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-agenda-prefix-format '((agenda . "%?-12t% s %? b") (todo . "%?-12t% s %? b") (tags . " % b") (search . "")) org-link-elisp-confirm-function 'yes-or-no-p org-directory "~/org/" org-log-done 'time org-agenda-tags-todo-honor-ignore-options t org-agenda-custom-commands '(("i" "In-tray" tags "+intray/TODO" ((org-agenda-overriding-header = "In-tray"))) ("n" "Show what I should do now" tags = "SCHEDULED>\"\"+SCHEDULED<\"\"/TODO" ((org-agenda-prefix-format =20 = (list = =20 = =20 = (cons 'tags "%t") = =20 = =20 = ) =20 = ) =20 = (org-agenda-overriding-header "Scheduled for the rest of the = day") =20 = ) ) ("o" "Someday/maybe" tags "someday" ((org-agenda-overriding-header = "Someday/Maybe")) ) ) org-agenda-skip-scheduled-if-done t org-agenda-files '("~/org/projects/") org-persist-after-read-hook '(org-element--cache-persist-after-read) org-refile-targets '((org-agenda-files :tag . "tasklist") ("~/org/someday.org" :level . 1)) org-export-before-parsing-hook '(org-attach-expand-links) org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-archive-hook '(org-attach-archive-delete-maybe) org-odt-format-inlinetask-function = 'org-odt-format-inlinetask-default-function org-ascii-format-drawer-function #[771 "=01\207" [] 4 "\n\n(fn NAME = CONTENTS WIDTH)"] org-cycle-hook '(org-cycle-hide-archived-subtrees = org-cycle-show-empty-lines org-cycle-optimize-window-after-visibility-change org-cycle-display-inline-images) org-persist-before-read-hook '(org-element--cache-persist-before-read) org-modules '(org-bbdb org-bibtex org-docview org-gnus org-info org-irc org-mhe org-rmail org-w3m org-drill) org-link-from-user-regexp = "\\\\|\\" org-mode-hook '((closure (org--rds reftex-docstruct-symbol = org-agenda-restrict-end org-agenda-restrict-begin org-agenda-restrict visual-fill-column-width org-clock-history org-agenda-current-date org-with-time org-defdecode = org-def org-read-date-inactive org-ans1 org-columns-current-fmt-compiled = org-clock-current-task org-clock-effort org-agenda-skip-function org-agenda-skip-comment-trees = org-agenda-archives-mode org-end-time-was-given org-time-was-given org-state org-agenda-headline-snapshot-before-repeat org-agenda-buffer-name org-agenda-start-on-weekday org-agenda-buffer-tmp-name org-struct-menu = org-last-state org-clock-start-time texmathp-why remember-data-file org-agenda-tags-todo-honor-ignore-options calc-embedded-open-mode calc-embedded-open-formula calc-embedded-close-formula align-mode-rules-list org-indent-indentation-per-level = org-agenda-buffer-name org-inlinetask-min-level t) nil (add-hook 'change-major-mode-hook 'org-fold-show-all = 'append 'local) ) (closure (*this* org-babel-confirm-evaluate-answer-no = t) nil (add-hook 'change-major-mode-hook #'org-babel-show-result-all 'append 'local) ) (closure (org-agenda-skip-regexp = org-table-tab-recognizes-table.el org-agenda-restriction-lock-overlay org-agenda-overriding-restriction = org-agenda-diary-file t) nil (setq imenu-create-index-function = 'org-imenu-get-tree)) #[0 "\301\211=10\207" [imenu-create-index-function org-imenu-get-tree] 2] emacspeak-org-mode-setup #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-fold-show-all = append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook = org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) outline-minor-mode-hook '(emacspeak-outline-setup-keys) org-archive-subtree-add-inherited-tags t outline-mode-hook '(emacspeak-outline-setup-keys) org-agenda-time-grid '(nil (800 1000 1200 1400 1600 1800 2000) "......" "----------------") org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ = CONTENTS)"] org-latex-format-headline-function = 'org-latex-format-headline-default-function org-confirm-shell-link-function 'yes-or-no-p org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME = CONTENTS)"] outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-stuck-projects '("+tasklist" ("TODO" "WAITING") ("complete" = "onhold") "") org-odt-format-headline-function = 'org-odt-format-headline-default-function org-html-creator-string "Emacs 29.1 (Org mode 9.6.20)" org-agenda-before-write-hook '(org-agenda-add-entry-text) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-elisp-link-function 'yes-or-no-p org-tags-exclude-from-inheritance '("tasklist") org-todo-keywords '((type "TODO" "WAITING" "DONE")) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-html-format-inlinetask-function = 'org-html-format-inlinetask-default-function org-ascii-format-inlinetask-function = 'org-ascii-format-inlinetask-default org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME = CONTENTS)"] org-export-backends '(ascii html latex odt) org-confirm-babel-evaluate nil org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal org-latex-format-inlinetask-function = 'org-latex-format-inlinetask-default-function org-persist-before-write-hook = '(org-element--cache-persist-before-write) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-agenda-todo-ignore-scheduled 'all org-link-shell-confirm-function 'yes-or-no-p org-babel-pre-tangle-hook '(save-buffer) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("nov" :follow nov-org-link-follow :store nov-org-link-store) ("e-media" :follow = emacspeak-org-e-media-follow-url) ("ebook" :follow emacspeak-eww-open-mark :store org-ebook-store-link :display org-link) ("amark" :follow org-amark-follow-link :store org-amark-store-link :display org-link) ("id" :follow org-id-open) ("file+sys") = ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302=04Q=02\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("mailto" :follow #[514 "\301\300\302=04Q=02\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL = ARG)"] ) ("https" :follow #[514 "\301\300\302=04Q=02\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("http" :follow #[514 "\301\300\302=04Q=02\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("ftp" :follow #[514 "\301\300\302=04Q=02\"\207" ["ftp" = browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("help" :follow org-link--open-help :store org-link--store-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp)) org-html-format-headline-function = 'org-html-format-headline-default-function org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-include-diary t org-export-creator-string "Emacs 29.1 (Org mode 9.6.20)" org-outline-path-complete-in-steps nil org-agenda-use-time-grid nil org-agenda-show-outline-path nil )