emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alain.Cochard@unistra.fr
To: emacs-orgmode@gnu.org
Subject: Inaccurate documentation for org-metaleft?
Date: Mon, 11 May 2015 18:16:18 +0200	[thread overview]
Message-ID: <21840.54738.267828.723098@frac.u-strasbg.fr> (raw)


Sorry if I am totally confused, I am an org beginner. 

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 context.
   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."



-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France    | Fax:   +33 (0)3 68 85 01 25     

             reply	other threads:[~2015-05-11 16:16 UTC|newest]

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

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=21840.54738.267828.723098@frac.u-strasbg.fr \
    --to=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).