emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Alain.Cochard@unistra.fr
Cc: emacs-orgmode@gnu.org
Subject: Re: Inaccurate documentation for org-metaleft?
Date: Wed, 13 May 2015 12:39:08 +0200	[thread overview]
Message-ID: <87pp64n4mr.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <21840.54738.267828.723098@frac.u-strasbg.fr> (Alain Cochard's message of "Mon, 11 May 2015 18:16:18 +0200")

Hello,

Alain.Cochard@unistra.fr writes:

> If I do 'C-h f org-metaleft', I see
>
>    org-metaleft is an interactive compiled Lisp function in `org.el'.
>    (org-metaleft &optional ARG)
>    Promote heading or move table column to left.
>    Calls `org-do-promote' or `org-table-move-column', depending on cont=
> ext.
>    With no specific context, calls the Emacs default `backward-word'.
>    See the individual commands for more information.
>
> However, if I look at the code, it seems to me that it does other
> things, at least org-outdent-item.  Experimenting a bit with
> org-metaleft and org-outdent-item seems to confirm this feeling.
>
> The doc for org-metaright
>
>    org-metaright is an interactive compiled Lisp function in `org.el'.
>    (org-metaright &optional ARG)
>    Demote a subtree, a list item or move table column to right.
>    In front of a drawer or a block keyword, indent it correctly.
>    With no specific context, calls the Emacs default `forward-word'.
>    See the individual commands for more information.
>
> is more accurate with respect to list items, but one would expect it
> to say "Calls `org-do-demote' etc."

I improved these docstrings in 0e7062678eb224027e5eca70a205430083a13a64.
Thank you.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2015-05-13 10:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-11 16:16 Inaccurate documentation for org-metaleft? Alain.Cochard
2015-05-13 10:39 ` Nicolas Goaziou [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

  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=87pp64n4mr.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=Alain.Cochard@unistra.fr \
    --cc=emacs-orgmode@gnu.org \
    /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).