emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Greg Minshall <minshall@umich.edu>
Cc: Org-mode <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <87a6vc1xcg.fsf@kyleam.com> (raw)
In-Reply-To: <1010266.1605773489@apollo2.minshall.org>

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	other threads:[~2020-11-20  4:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-17 14:53 patch to add mention of org-table-transpose-table-at-point to doc Greg Minshall
2020-11-19  4:16 ` Kyle Meyer
2020-11-19  8:11   ` [PATCH] doc/org-manual.org: add reference to org-table-transpose-table-at-point Greg Minshall
2020-11-20  4:11     ` Kyle Meyer [this message]
2020-11-20 11:44       ` Greg Minshall

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=87a6vc1xcg.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=minshall@umich.edu \
    /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).