emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] doc/org-manual.org: add reference to org-table-transpose-tab


From: Kyle Meyer
Subject: Re: [PATCH] doc/org-manual.org: add reference to org-table-transpose-table-at-point
Date: Thu, 19 Nov 2020 23:11:27 -0500

Greg Minshall writes:

> Kyle, thanks.  yes, blind copy and paste.  i'm not a git-format-patch
> expert, so let me know if this is the wrong format (i see some people
> include inline, whereas others attach a file -- is one easier to handle
> than the other?)

Either way is fine on this list, and, while I can of course only speak
for myself, I don't find one harder to handle than the other,
particularly for one-patch series.  It comes down to whichever is
easiest for the sender.

With a single inline patch like yours, the placement of the text that
isn't meant for the commit message needs some special consideration.  If
your message is fed to 'git am', the quoted text above would go into the
commit message, so the person applying would need to amend it to clean
it up.

There are two options to deal with this extra text: 1) place it under
the "---" at the end of the commit message or 2) add a "-- >8 --"
between the extra text and the main commit message text, which can be
automatically stripped out by passing -c to 'git am'.  The first option
works well for things like extra notes but reads a bit awkward for text
that would more naturally lead the message.

Below is an example of the second method.  The From header is only
needed to override my From header from the actual mail.  I've added a
changelog entry.

Pushed as a5d765481.  Thanks!

-- >8 --
From: Greg Minshall <minshall@umich.edu>

* doc/org-manual.org (Built-in Table Editor): Add
org-table-transpose-table-at-point to list of miscellaneous commands.
---
 doc/org-manual.org | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/org-manual.org b/doc/org-manual.org
index 0a3a8c6cd..34b0164fc 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -1649,6 +1649,11 @@ *** Miscellaneous
   the buffer.  You can activate this minor mode by default by setting
   the option ~org-table-header-line-p~ to ~t~.
 
+- {{{kbd(M-x org-table-transpose-table-at-point)}}} ::
+
+  #+findex: org-table-transpose-table-at-point
+  Transpose the table at point and eliminate hlines.
+
 ** Column Width and Alignment
 :PROPERTIES:
 :DESCRIPTION: Overrule the automatic settings.

base-commit: 104d92199e3cba7cefd504f24c3610031fa384de
-- 
2.29.2




reply via email to

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