From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wNKnFTJd0mD9CwAAgWs5BA (envelope-from ) for ; Tue, 22 Jun 2021 23:59:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CIRiETJd0mCNRwAA1q6Kng (envelope-from ) for ; Tue, 22 Jun 2021 21:59:14 +0000 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 5106826EF9 for ; Tue, 22 Jun 2021 23:59:13 +0200 (CEST) Received: from localhost ([::1]:52752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvoQJ-00086C-0V for larch@yhetil.org; Tue, 22 Jun 2021 17:59:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvoPu-000864-V5 for emacs-orgmode@gnu.org; Tue, 22 Jun 2021 17:58:46 -0400 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]:38409) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvoPs-0000BF-IE for emacs-orgmode@gnu.org; Tue, 22 Jun 2021 17:58:46 -0400 Received: by mail-io1-xd29.google.com with SMTP id k11so957508ioa.5 for ; Tue, 22 Jun 2021 14:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:date:subject:message-id:to; bh=07OYNmurrc/tRMj4W4IP5X6Bu+EThcPey6sSrU1AdGA=; b=AXad+Gf/oP9tpijj413XyCcBpNgE+5fR+hRhliRX5u1PNUeI08BZMsKIT6BNp9NAhy DZ/yHuNTnMpKN0ouuEVvWmnmuseKZpPoNHBmpEAKG/XCUskZOvPsGFg+sktdGR8eBwbt ULFB8Wq8ZuUiBTjwWKM74Se+I1Uh4JBm+3+hf0wkXV7z5ySoALMMSvMtK++9DQ+8f86d bJWnAF578cLoC9joVdOs3WZdCthGFzgG3heDB9zyGQQb7e+KrZGjAm5XHAgApEFL7kil OqB8bmO0vPux0hbZRCM01mBZPNEJjS+lffx1VS3SyTpMpAPWCEOpu9WjxiB4mn87Yj3W d1uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:subject:message-id:to; bh=07OYNmurrc/tRMj4W4IP5X6Bu+EThcPey6sSrU1AdGA=; b=DMmz3d6AGXXXQUGgAmd4/fyMsII6OmDfg44gR94EKacgsXvf3a85hEqzBoXbKzvxCm tcOug4zZi/SZWAkoIiUPx52dScnV2M9HoGhVd6h/hAWloVJUwhzpVYYxp8jpUWDzq3KI fOYuUWWKuM3nu2+hhLBXoT5s6vaYKF9JV4YSRnXI0Qui/L8D3xfUDHIym4sCjWt4wBgi 5WLkJ/UddueJU/5sf1vnrQf0NIDlvb17AT6xTBvj0jiQXUkklrPgYhKKwtXL0qIe4rdx y2VuD6aOAx6acunoppXMIF9dhmuKQ/NZlFyb2RxwKhps0hbRWLMqeYwnpHImwFUFeSKA EhBw== X-Gm-Message-State: AOAM532I3mqmlyBDaVwV0WGwav4QGkzMVLBL6LXSLw5enljqwjG/Z8U+ cptFU7I9qC91x7XtxlOCHjOyR193skA= X-Google-Smtp-Source: ABdhPJxEfAZezsGKrEz0EauSxribA6SG7mXokQcY487gWGUZwh61+75Q+i+im0JX8H24QrDVvI5hnA== X-Received: by 2002:a02:c906:: with SMTP id t6mr5991202jao.117.1624399122936; Tue, 22 Jun 2021 14:58:42 -0700 (PDT) Received: from ?IPv6:2601:249:167e:4ad0:c5cf:f67c:83fa:de48? ([2601:249:167e:4ad0:c5cf:f67c:83fa:de48]) by smtp.gmail.com with ESMTPSA id g14sm12502384ioo.19.2021.06.22.14.58.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Jun 2021 14:58:42 -0700 (PDT) From: Alan Wehmann Content-Type: multipart/alternative; boundary="Apple-Mail=_9831C108-56C7-4568-A8F8-1D9FC7FE90D2" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Date: Tue, 22 Jun 2021 16:58:41 -0500 Subject: Bug: table editor documentation [9.4.6 (9.4.6-7-gc09356-elpa @ /Users/alanwehmann/.emacs.d/elpa/org-20210621/)] Message-Id: <038AA0DA-F0CF-4961-A7B8-24C19B441CC8@gmail.com> To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3608.120.23.2.4) Received-SPF: pass client-ip=2607:f8b0:4864:20::d29; envelope-from=alan.wehmann@gmail.com; helo=mail-io1-xd29.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624399153; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=07OYNmurrc/tRMj4W4IP5X6Bu+EThcPey6sSrU1AdGA=; b=n+aswkrCyWHl+h0QGT72mivrpoOOzUjc7LJaEeFOzFR8aMtrO26xcGOjaNExtA9wO0Dyr8 fIvWWISqXBAIp02D2PcTxVzSspkDvDU/d5VNmJ6Qa4oT7guAvgEDcG8Dxgjl7XMV9itKc3 q7yVyOS8x999nAfFe4ARhGSNv8szSAPevoitLXj9hwewGbqP8s1kzEXG7h3/m059JL/tej /XMOumKFvK2SIXq3MZzLrhBIppUEdF5YZuhz0zbXseZUyPlMN4k8WuM7q4Qj1GQCpI5Q0s d3P5E5pBwIb/TQkIoaGXgD0aAoop1rae2LtEvFUuekg2bpZXp/bhU+BfW+ethA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624399153; a=rsa-sha256; cv=none; b=AxLX4SMYdkedkrFUWQcECOojf8LbGzMJyF2IxjGi2TgzkeDbXcZmaYkxFpSHVNaDceUCEP GX1Jjqelkn8gFGXLYBYsR7OgU6gL1XADq24vKnJZORHOmRRONsXSix5dP71ThKgW5Ibor9 LgBT30A9yLA0sv2groW+9UBnDiuaX0CgYiT/+6yBNcTyZ2YK4i8Uq+BiTu3sjtF5YzL0Gb xFIR94Ax+XoQ7kOcHooRaGDq9zoInfhBE19WpEPfZupwnyczyVRkGOeQDhdTv3NU7PlxFM cLfpJlZoCbr/pL/E91f+MityhtxsrUJ8ft0F46AuGGIb3yqGAaVcfH5w/fWH6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="AXad+Gf/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="AXad+Gf/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 5106826EF9 X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: +7NYUAglwiw7 --Apple-Mail=_9831C108-56C7-4568-A8F8-1D9FC7FE90D2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 --text follows this line-- Info node "(org) Built-in Table Editor" says: > =E2=80=98M-=E2=80=99 (=E2=80=98org-table-wrap-region=E2=80=99) > Split the current field at point position and move the rest to = the > line below. If there is an active region, and both point and = mark > are in the same column, the text in the column is wrapped to > minimum width for the given number of lines. A numeric prefix > argument may be used to change the number of desired lines. If > there is no region, but you specify a prefix argument, the = current > field is made blank, and the content is appended to the field > above. But M- is mapped to "org-meta-return". That function's = documentation says: > When called with > an argument, unconditionally call =E2=80=98org-insert-heading=E2=80=99. > = ------------------------------------------------------------------------ which conflicts with what the Info node says. Using M- with a = prefix argument and no region does not work as described by the Info = node. Instead of using the key mapping, one can evaluate = (org-table-wrap-region '(4)) and that will work as described. My setup: Emacs : GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS = appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2020-08-12 Package: Org mode version 9.4.6 (9.4.6-7-gc09356-elpa @ = /Users/alanwehmann/.emacs.d/elpa/org-20210621/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-modules '(ol-bbdb ol-bibtex ol-docview ol-eww ol-gnus ol-info = ol-irc ol-mhe ol-rmail ol-w3m ol-vm) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-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) org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300=01\236A\207" [:title] 3 = "\n\n(fn ENTRY)"] org-adapt-indentation nil org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-load-hook '((lambda nil (define-key org-mode-map (kbd "M-q") = #'fill-region))) org-agenda-loop-over-headlines-in-active-region nil org-src-lang-modes '(("redis" . redis) ("php" . php) ("arduino" . = arduino) ("C" . c) ("C++" . c++) ("asymptote" . asy) = ("bash" . sh) ("beamer" . latex) ("calc" . fundamental) ("cpp" . = c++) ("ditaa" . artist) ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" . tuareg) ("screen" . shell-script) ("shell" . sh) ("sqlite" = . sql)) org-catch-invisible-edits 'show-and-error org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees = org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-export-before-parsing-hook '(org-attach-expand-links) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("vm-imap" :follow org-vm-imap-open) ("vm" :follow org-vm-open :store = org-vm-store-link) ("w3m" :store org-w3m-store-link) ("rmail" :follow org-rmail-open :store = org-rmail-store-link) ("mhe" :follow org-mhe-open :store = org-mhe-store-link) ("irc" :follow org-irc-visit :store = org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export = org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store = org-gnus-store-link) ("eww" :follow org-eww-open :store = org-eww-store-link) ("docview" :follow org-docview-open :export org-docview-export :store = org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export = org-bbdb-export :complete org-bbdb-complete-link :store = org-bbdb-store-link) ("bookmark-other-win" :follow = bookmark-jump-other-window :export nil) ("bookmark" :follow bookmark-jump :export nil) = ("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) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-link-elisp-confirm-function 'yes-or-no-p outline-minor-mode-prefix "=03=0F" ) --=20 Alan Wehmann Alan.Wehmann@gmail.com Alan Wehmann alan.wehmann@gmail.com --Apple-Mail=_9831C108-56C7-4568-A8F8-1D9FC7FE90D2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 --text follows this line--

Info = node "(org) Built-in Table Editor"

says:

=E2=80=98M-<RET>=E2=80=99 = (=E2=80=98org-table-wrap-region=E2=80=99)
  =    Split the current field at point position and move the rest = to the
     line below.  If = there is an active region, and both point and mark
     are in the same column, the text in the = column is wrapped to
     minimum = width for the given number of lines.  A numeric prefix
     argument may be used to change the number = of desired lines.  If
    =  there is no region, but you specify a prefix argument, the = current
     field is made blank, = and the content is appended to the field
  =    above.

But M-<RET> is mapped to = "org-meta-return".  That function's documentation says:

When called with
an = argument, unconditionally call = =E2=80=98org-insert-heading=E2=80=99.
-------------------------= -----------------------------------------------

which conflicts with what the = Info node says.  Using M-<RET> with a prefix argument and no = region does not work as described by the Info node.  Instead of = using the key mapping, one can evaluate (org-table-wrap-region '(4)) and = that will work as described.

My setup:

Emacs  : GNU Emacs 27.1 (build 1, = x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build = 18G95))
 of 2020-08-12
Package: Org = mode version 9.4.6 (9.4.6-7-gc09356-elpa @ = /Users/alanwehmann/.emacs.d/elpa/org-20210621/)

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
(setq
 org-src-mode-hook = '(org-src-babel-configure-edit-buffer
=      org-src-mode-configure-edit-buffer)
 org-link-shell-confirm-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-clock-out-hook = '(org-clock-remove-empty-clock-drawer)
 org-modules = '(ol-bbdb ol-bibtex ol-docview ol-eww ol-gnus ol-info ol-irc ol-mhe
=        ol-rmail ol-w3m ol-vm)
 org-mode-hook '(#[0 "\300\301\302\303\304$\207"
=    [add-hook change-major-mode-hook org-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)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-agenda-before-write-hook = '(org-agenda-add-entry-text)
 org-metaup-hook = '(org-babel-load-in-session-maybe)
 org-bibtex-headline-format-function #[257 = "\300=01\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
 org-adapt-indentation nil
 org-babel-pre-tangle-hook '(save-buffer)
 org-tab-first-hook = '(org-babel-hide-result-toggle-maybe
=       org-babel-header-arg-expand)
 org-load-hook '((lambda nil (define-key org-mode-map = (kbd "M-q") #'fill-region)))
 org-agenda-loop-over-headlines-in-active-region nil
 org-src-lang-modes '(("redis" . redis) ("php" . php) = ("arduino" . arduino)
      ("C" = . c) ("C++" . c++) ("asymptote" . asy) ("bash" . sh)
=       ("beamer" . latex) ("calc" . fundamental) = ("cpp" . c++)
      = ("ditaa" . artist) ("dot" . fundamental)
=       ("elisp" . emacs-lisp) ("ocaml" . tuareg)
=       ("screen" . shell-script) ("shell" . sh) = ("sqlite" . sql))
 org-catch-invisible-edits = 'show-and-error
 org-occur-hook = '(org-first-headline-recenter)
 org-cycle-hook = '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
=   org-cycle-show-empty-lines
=   org-optimize-window-after-visibility-change)
 org-speed-command-hook '(org-speed-command-activate
=   org-babel-speed-command-activate)
 org-export-before-parsing-hook = '(org-attach-expand-links)
 org-confirm-shell-link-function 'yes-or-no-p
 org-link-parameters '(("attachment" :follow = org-attach-follow :complete
= org-attach-complete-link)
=        ("id" :follow org-id-open)
=        ("vm-imap" :follow = org-vm-imap-open)
      =  ("vm" :follow org-vm-open :store org-vm-store-link)
=        ("w3m" :store org-w3m-store-link)
=        ("rmail" :follow org-rmail-open :store = org-rmail-store-link)
      =  ("mhe" :follow org-mhe-open :store org-mhe-store-link)
=        ("irc" :follow org-irc-visit :store = org-irc-store-link
:export = org-irc-export)
      =  ("info" :follow org-info-open :export org-info-export :store
= org-info-store-link)
=        ("gnus" :follow org-gnus-open :store = org-gnus-store-link)
      =  ("eww" :follow org-eww-open :store org-eww-store-link)
=        ("docview" :follow org-docview-open = :export
= org-docview-export :store org-docview-store-link)
=        ("bibtex" :follow org-bibtex-open = :store
= org-bibtex-store-link)
      =  ("bbdb" :follow org-bbdb-open :export org-bbdb-export
= :complete org-bbdb-complete-link :store = org-bbdb-store-link)
      =  ("bookmark-other-win" :follow bookmark-jump-other-window
= :export nil)
      =  ("bookmark" :follow bookmark-jump :export nil) ("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)
=        ("file" :complete = org-link-complete-file)
      =  ("elisp" :follow org-link--open-elisp)
=        ("doi" :follow org-link--open-doi))
 org-link-elisp-confirm-function 'yes-or-no-p
 outline-minor-mode-prefix "=03=0F"
 )
-- 
Alan Wehmann
Alan.Wehmann@gmail.com

Alan = Wehmann
alan.wehmann@gmail.com

= --Apple-Mail=_9831C108-56C7-4568-A8F8-1D9FC7FE90D2--